0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 17:22:45 +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
// *****************************/ // *****************************/
@@ -411,17 +408,13 @@ body {
// * CODE BLOCKS // * CODE BLOCKS
// ************************************/ // ************************************/
code{ code{
font-family : "Courier New", Courier, monospace; font-family : "Courier New", Courier, monospace;
font-size : 0.325; font-size : 0.325;
padding : 0px 4px; padding : 0px 4px;
color : #58180d; color : #58180d;
background-color : #faf7ea; background-color : #faf7ea;
border-radius : 4px; border-radius : 4px;
white-space : pre-wrap white-space : pre-wrap
}
pre{
margin-bottom : 10px;
} }
pre code{ pre code{
@@ -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,22 +575,22 @@ 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;
} }
} }
&:last-child { &:last-child {
font-family : BookInsanityRemake; font-family : BookInsanityRemake;
font-size : 0.34cm; font-size : 0.34cm;
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 */
} }
} }
ul { /*List indent*/ ul { /*List indent*/