0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-16 16:52:39 +00:00

Tweak top margins for headers

This commit is contained in:
Trevor Buckner
2022-10-21 09:27:55 -04:00
parent 2bad0bfcb0
commit 6a6ee9fc12
2 changed files with 28 additions and 31 deletions

View File

@@ -78,7 +78,7 @@ body {
z-index : -1;
}
:not(:where(.wide,.columnSplit,.blank,hr)) + :where(h1,h2,h3,h4,h5,h6,table,dl,.block) {
margin-top : 1em; //NOTE: MAKE ALL MARGINS TOP-ONLY FOR BEST RESULTS WITH COLUMN BREAKS. USE * + * STYLE SELECTORS
margin-top : 0.3cm; //NOTE: MAKE ALL MARGINS TOP-ONLY FOR BEST RESULTS WITH COLUMN BREAKS. USE * + * STYLE SELECTORS
}
:where(h1,h3,h3,h4,h5,h6) + * {
@@ -191,6 +191,7 @@ body {
-webkit-column-break-after : always;
break-after : always;
-moz-column-break-after : always;
margin-top : 0;
}
//Avoid breaking up
blockquote,table{
@@ -218,9 +219,7 @@ body {
.block {
break-inside : avoid;
display : inline-block;
.page :where(&) {
width : 100%;
}
width : 100%;
}
.inline-block {
display : inline-block;