summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-22 00:15:04 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-22 00:15:04 +0100
commit9b7959f6e3b55f1c8529c2fbdf71962f54da4d35 (patch)
tree928f33a443f806153e110accf0d8dafde3ae66f9 /src
parent2b03b581f95110500c94f494c54793bceb0aaf52 (diff)
downloadwebsite-9b7959f6e3b55f1c8529c2fbdf71962f54da4d35.tar.xz
style.css: Add blockquote style
Diffstat (limited to 'src')
-rw-r--r--src/style.css25
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;
}