From 9b7959f6e3b55f1c8529c2fbdf71962f54da4d35 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 22 Nov 2014 00:15:04 +0100 Subject: style.css: Add blockquote style --- src/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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; } -- cgit v1.2.3-54-g00ecf