mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 12:51:45 +08:00
UX: Increasing line-height for headlines in all post content
This commit is contained in:
parent
5489cd14c7
commit
065c155f81
|
@ -46,8 +46,11 @@
|
||||||
// global styles for the cooked HTML content in posts (and preview)
|
// global styles for the cooked HTML content in posts (and preview)
|
||||||
.cooked, .d-editor-preview {
|
.cooked, .d-editor-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 {
|
||||||
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */
|
margin: 30px 0 10px;
|
||||||
|
line-height: 1.25;
|
||||||
|
}
|
||||||
|
|
||||||
a { word-wrap: break-word; }
|
a { word-wrap: break-word; }
|
||||||
ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); }
|
ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); }
|
||||||
del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); }
|
del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user