0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 14:42:40 +00:00

Further tweaking, use cm instead of px, top-margin when possible

This commit is contained in:
Trevor Buckner
2021-08-09 00:31:08 -04:00
parent e2280dca39
commit 175b2f8664

View File

@@ -355,9 +355,6 @@ body {
.useColumns(0.96); .useColumns(0.96);
} }
hr+hr+blockquote{
.useColumns(0.96);
}
//***************************** //*****************************
// * FOOTER // * FOOTER
// *****************************/ // *****************************/
@@ -420,10 +417,6 @@ body {
white-space : pre-wrap white-space : pre-wrap
} }
pre{
margin-bottom : 10px;
}
pre code{ pre code{
width : 100%; width : 100%;
display : block; display : block;
@@ -432,6 +425,9 @@ body {
border-image-width : 10px; border-image-width : 10px;
border-image-outset : 2px; border-image-outset : 2px;
border-radius : 12px; border-radius : 12px;
& + * {
margin-top : 1em;
}
} }
//***************************** //*****************************
// * EXTRAS // * EXTRAS
@@ -542,9 +538,7 @@ body {
break-inside : avoid; break-inside : avoid;
h1 { h1 {
text-align : center; text-align : center;
margin-bottom : 0.1cm; margin-bottom : 0cm;
+ ul{
margin-top : 20px;
} }
a{ a{
display : table; display : table;
@@ -555,7 +549,13 @@ body {
} }
} }
h4 { h4 {
margin-top : 0.1cm; margin-top : 0.14cm;
& + ul li {
line-height: 1.2em;
}
}
& > ul {
margin-top: 0.52cm;
} }
ul{ ul{
padding-left : 0; padding-left : 0;
@@ -575,7 +575,7 @@ body {
&::after { &::after {
content : ""; content : "";
position : absolute; position : absolute;
bottom : 0.08cm; /* Set as you want */ bottom : 0.08cm;
margin-left : 0.06cm; /* Spacing before dot leaders */ margin-left : 0.06cm; /* Spacing before dot leaders */
width : 100%; width : 100%;
border-bottom : 0.05cm dotted #000; border-bottom : 0.05cm dotted #000;
@@ -587,7 +587,7 @@ body {
font-weight : normal; font-weight : normal;
color : black; color : black;
text-align : right; text-align : right;
vertical-align : bottom; /* Keep Price text bottom-aligned */ vertical-align : bottom; /* Keep page number bottom-aligned */
width : 1%; width : 1%;
padding-left : 0.06cm; /* Spacing after dot leaders */ padding-left : 0.06cm; /* Spacing after dot leaders */
/*white-space : nowrap; /* Uncomment if needed */ /*white-space : nowrap; /* Uncomment if needed */