diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-22 00:15:04 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-22 00:15:04 +0100 |
commit | 9b7959f6e3b55f1c8529c2fbdf71962f54da4d35 (patch) | |
tree | 928f33a443f806153e110accf0d8dafde3ae66f9 /src | |
parent | 2b03b581f95110500c94f494c54793bceb0aaf52 (diff) | |
download | website-9b7959f6e3b55f1c8529c2fbdf71962f54da4d35.tar.xz |
style.css: Add blockquote style
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index 106b0bf..1af67d9 100644 --- a/src/style.css +++ b/src/style.css @@ -89,6 +89,31 @@ header h1 { } } +blockquote { + position:relative; + margin: 1.5rem 0 1.5rem; + padding: 0 2rem 0 2rem; + quotes: "\201C""\201D""\2018""\2019"; +} +blockquote:before { + content: open-quote; + font-size: 5rem; + position:absolute; + left: -0.4rem; + top: 1.5rem; + line-height: 0.1em; + color: #ccc; +} +blockquote:after { + content: close-quote; + font-size: 5rem; + position:absolute; + right: -0.4rem; + bottom: -1.2rem; + line-height: 0.1em; + color: #ccc; +} + tt.literal { font-size: 0.75rem; } |