1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00

[WIP]h1 padding bottom value changed (#3215)

* h1 padding bottom value changed

* padding top added to <p>

* padding top to h1

* h2 padding top updated

* heading changed

* typo

* Updated margin for h1 ~ h6
This commit is contained in:
Hahn
2020-02-24 20:56:50 +13:00
committed by GitHub
parent afbe43965e
commit 5edce1fe6a
2 changed files with 19 additions and 17 deletions

View File

@@ -156,14 +156,22 @@ h1, h2 {
border: none; border: none;
} }
h3 {
margin: 1em 0 0.8em;
}
h4, h5, h6 {
margin: 1.1em 0 0.5em;
}
h1 { h1 {
padding-bottom: 4px; padding: 0.2em 0 0.2em;
margin: 1em 0 8px; margin: 1em 0 8px;
} }
h2 { h2 {
padding-bottom: 0.2em; padding: 0.2em 0 0.2em;
margin: 1em 0 0.37em; margin: 1em 0 0.7em;
} }
body p { body p {

View File

@@ -124,40 +124,34 @@ hr
border-bottom solid 1px borderColor border-bottom solid 1px borderColor
margin 15px 0 margin 15px 0
h1, h2, h3, h4, h5, h6 h1, h2, h3, h4, h5, h6
margin 1em 0 1.5em
line-height 1.4
font-weight bold font-weight bold
word-wrap break-word word-wrap break-word
padding .2em 0 .2em
h1 h1
font-size 2.55em font-size 2.55em
padding-bottom 0.3em line-height 1.2
line-height 1.2em
border-bottom solid 1px borderColor border-bottom solid 1px borderColor
margin 1em 0 0.44em
&:first-child &:first-child
margin-top 0 margin-top 0
h2 h2
font-size 1.75em font-size 1.75em
padding-bottom 0.3em line-height 1.225
line-height 1.225em
border-bottom solid 1px borderColor border-bottom solid 1px borderColor
margin 1em 0 0.57em
&:first-child &:first-child
margin-top 0 margin-top 0
h3 h3
font-size 1.5em font-size 1.5em
line-height 1.43em line-height 1.43
margin 1em 0 0.66em
h4 h4
font-size 1.25em font-size 1.25em
line-height 1.4em line-height 1.4
margin 1em 0 0.8em
h5 h5
font-size 1em font-size 1em
line-height 1.4em line-height 1.1
margin 1em 0 1em
h6 h6
font-size 1em font-size 1em
line-height 1.4em
margin 1em 0 1em
color #777 color #777
p p
line-height 1.6em line-height 1.6em