mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:52:12 +08:00
add default style for aside.quote (expand quote)
This commit is contained in:
parent
9c48f8f154
commit
334d9eaa53
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user