mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
add default style for aside.quote (expand quote)
This commit is contained in:
parent
9c48f8f154
commit
334d9eaa53
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue