mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
UX: h1, h2, etc css reset should give them a bottom margin
This commit is contained in:
parent
ee23ce5acc
commit
0756602dfa
3 changed files with 6 additions and 5 deletions
|
@ -45,6 +45,11 @@ html {
|
|||
}
|
||||
|
||||
body {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
min-height: 100%;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
|
||||
// global styles for the cooked HTML content in posts (and preview)
|
||||
.cooked, .d-editor-preview, #banner-content {
|
||||
.cooked, .d-editor-preview {
|
||||
word-wrap: break-word;
|
||||
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
|
||||
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue