0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 09:52:41 +00:00

Slight nudges. Comments that header line-height is just to fix bad font baseline

This commit is contained in:
Trevor Buckner
2021-11-17 01:09:52 -05:00
parent 1c648e5c2d
commit c945984d88

View File

@@ -146,7 +146,7 @@ body {
font-size : 3.5cm; font-size : 3.5cm;
padding-left : 40px; //Allow background color to extend into margins padding-left : 40px; //Allow background color to extend into margins
margin-left : -40px; margin-left : -40px;
margin-top : -0.325cm; margin-top : -0.3cm;
padding-bottom : 2px; padding-bottom : 2px;
margin-bottom : -20px; margin-bottom : -20px;
background-image : linear-gradient(-45deg, #322814, #998250, #322814); background-image : linear-gradient(-45deg, #322814, #998250, #322814);
@@ -162,20 +162,20 @@ body {
//margin-top : 0px; //Font is misaligned. Shift up slightly //margin-top : 0px; //Font is misaligned. Shift up slightly
//margin-bottom : 0.05cm; //margin-bottom : 0.05cm;
font-size : 0.75cm; font-size : 0.75cm;
line-height : 0.9875em; line-height : 0.988em; //Font is misaligned. Shift up slightly
} }
h3{ h3{
//margin-top : -0.1cm; //Font is misaligned. Shift up slightly //margin-top : -0.1cm; //Font is misaligned. Shift up slightly
//margin-bottom : 0.1cm; //margin-bottom : 0.1cm;
font-size : 0.575cm; font-size : 0.575cm;
border-bottom : 2px solid @headerUnderline; border-bottom : 2px solid @headerUnderline;
line-height : 0.967em; line-height : 0.995em; //Font is misaligned. Shift up slightly
} }
h4{ h4{
//margin-top : -0.02cm; //Font is misaligned. Shift up slightly //margin-top : -0.02cm; //Font is misaligned. Shift up slightly
//margin-bottom : 0.02cm; //margin-bottom : 0.02cm;
font-size : 0.458cm; font-size : 0.458cm;
line-height : 0.9825em; line-height : 0.971em; //Font is misaligned. Shift up slightly
} }
h5{ h5{
//margin-top : -0.02cm; //Font is misaligned. Shift up slightly //margin-top : -0.02cm; //Font is misaligned. Shift up slightly
@@ -183,7 +183,7 @@ body {
font-family : ScalySansSmallCapsRemake; font-family : ScalySansSmallCapsRemake;
font-size : 0.423cm; font-size : 0.423cm;
font-weight : 900; font-weight : 900;
line-height : 0.9385em; line-height : 0.951em; //Font is misaligned. Shift up slightly
& + * { & + * {
margin-top : 0.2cm; margin-top : 0.2cm;
} }
@@ -585,7 +585,7 @@ body {
} }
p, ul{ p, ul{
font-size : 0.352cm; font-size : 0.352cm;
line-height : 1.275em; line-height : 1.265em;
} }
ul{ ul{
margin-bottom : 0.5em; margin-bottom : 0.5em;