aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Strand <jet.strand@gmail.com>2011-10-12 13:28:58 -0700
committerB Strand <jet.strand@gmail.com>2011-10-12 13:28:58 -0700
commit5b0486ced124c08ca017b20f584764bab4c5ff0e (patch)
treefc8b835afd4cfd07c94e862aab68a9cbf7283408
parentf6fb11a37571b48844c488bc351dd78747ee99bd (diff)
downloadmy_new_personal_website-5b0486ced124c08ca017b20f584764bab4c5ff0e.tar.xz
my_new_personal_website-5b0486ced124c08ca017b20f584764bab4c5ff0e.zip
Separated citation style from the general blockquote style. The general blockquote style is great for nesting and indentation, while the citation is excellent for quote attribution.
-rw-r--r--.themes/classic/sass/base/_typography.scss10
1 files changed, 7 insertions, 3 deletions
diff --git a/.themes/classic/sass/base/_typography.scss b/.themes/classic/sass/base/_typography.scss
index f248c2e4..ec99288c 100644
--- a/.themes/classic/sass/base/_typography.scss
+++ b/.themes/classic/sass/base/_typography.scss
@@ -96,13 +96,17 @@ small { font-size: .8em; }
big { font-size: 1.2em; }
-blockquote {
+blockquote {
$bq-margin: 1.2em;
+ padding-left: 1em;
+}
+
+blockquote.citation {
+
font-style: italic;
position: relative;
font-size: 1.2em;
- line-height: 1.5em;
- padding-left: 1em;
+ line-height: 1.5em;
border-left: 4px solid rgba($text-color-light, .5);
cite {
font-style: italic;