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 {
word-wrap: break-word;
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
@ -28,6 +28,12 @@
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 {
background-color: scale-color($highlight, $lightness: 40%);
padding: 2px;