add default style for aside.quote (expand quote)

This commit is contained in:
Jeff Atwood 2014-06-30 15:53:22 -07:00
parent 9c48f8f154
commit 334d9eaa53

View file

@ -20,7 +20,7 @@
} }
} }
/* global styles for the cooked HTML content in posts (and preview) */ // global styles for the cooked HTML content in posts (and preview)
.cooked, #wmd-preview { .cooked, #wmd-preview {
word-wrap: break-word; word-wrap: break-word;
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; } h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
@ -28,6 +28,12 @@
a { word-wrap: break-word; } a { word-wrap: break-word; }
} }
// we use aside to hold expandable quotes (versus, say, static blockquotes)
aside.quote {
margin-top: 1em;
margin-bottom: 1em;
}
.cooked .highlight { .cooked .highlight {
background-color: scale-color($highlight, $lightness: 40%); background-color: scale-color($highlight, $lightness: 40%);
padding: 2px; padding: 2px;