Set heading padding in markdown to depend on font size

soper-book
Alex Shpak 2019-06-13 11:34:34 +02:00
parent a82d579bae
commit 58e8807130
3 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ $block-border-radius: 0.15rem;
h1, h2, h3, h4, h5 {
font-weight: normal;
line-height: 1;
margin-top: $padding-16 * 2;
margin-bottom: $padding-8;
margin-top: 1.5em;
margin-bottom: $padding-16;
}
// remove padding at the beginning of page

View File

@ -1 +1 @@
{"Target":"book.min.83b1da66553f41e0ba7b0b3069373f1529323c94754ba3fc72e4fef37a4f9ed0.css","MediaType":"text/css","Data":{"Integrity":"sha256-g7HaZlU/QeC6ewswaTc/FSkyPJR1S6P8cuT+83pPntA="}}
{"Target":"book.min.1a0250256273fabf0f848ed9a3c50aae344d758339cad9725e656ac71546e6f5.css","MediaType":"text/css","Data":{"Integrity":"sha256-GgJQJWJz+r8PhI7Zo8UKrjRNdYM5ytlyXmVqxxVG5vU="}}