diff --git a/themes/5ePhb.style.less b/themes/5ePhb.style.less index 607a13cca..16a6bbe1e 100644 --- a/themes/5ePhb.style.less +++ b/themes/5ePhb.style.less @@ -79,7 +79,7 @@ body { p{ overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS display : block; - line-height : 1.3em; + line-height : 1.25em; &+* { margin-top : 0.325cm; } @@ -90,14 +90,14 @@ body { ul{ margin-bottom : 0.8em; padding-left : 1.4em; - line-height : 1.3em; + line-height : 1.25em; list-style-position : outside; list-style-type : disc; } ol{ margin-bottom : 0.8em; padding-left : 1.4em; - line-height : 1.3em; + line-height : 1.25em; list-style-position : outside; list-style-type : decimal; } @@ -146,7 +146,7 @@ body { font-size : 3.5cm; padding-left : 40px; //Allow background color to extend into margins margin-left : -40px; - margin-top : -0.3cm; + margin-top : -0.325cm; padding-bottom : 2px; margin-bottom : -20px; background-image : linear-gradient(-45deg, #322814, #998250, #322814); @@ -162,17 +162,20 @@ body { //margin-top : 0px; //Font is misaligned. Shift up slightly //margin-bottom : 0.05cm; font-size : 0.75cm; + line-height : 0.9875em; } h3{ //margin-top : -0.1cm; //Font is misaligned. Shift up slightly //margin-bottom : 0.1cm; font-size : 0.575cm; border-bottom : 2px solid @headerUnderline; + line-height : 0.967em; } h4{ //margin-top : -0.02cm; //Font is misaligned. Shift up slightly //margin-bottom : 0.02cm; font-size : 0.458cm; + line-height : 0.9825em; } h5{ //margin-top : -0.02cm; //Font is misaligned. Shift up slightly @@ -180,6 +183,7 @@ body { font-family : ScalySansSmallCapsRemake; font-size : 0.423cm; font-weight : 900; + line-height : 0.9385em; & + * { margin-top : 0.2cm; } @@ -581,7 +585,7 @@ body { } p, ul{ font-size : 0.352cm; - line-height : 1.3em; + line-height : 1.275em; } ul{ margin-bottom : 0.5em; @@ -741,7 +745,7 @@ body { // *****************************/ .page { dl { - line-height : 1.3em; + line-height : 1.25em; padding-left : 1em; white-space : pre-line; & + * {