From a95e3552ff96c7055e143e49a86d792d29995fa5 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 29 Apr 2021 22:18:04 -0400 Subject: [PATCH] All headers updated --- client/homebrew/phbStyle/phb.style.less | 36 ++++++++++++++++++------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index 0abd0db25..74473fe6e 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -63,7 +63,7 @@ body { // * BASE // *****************************/ p{ - overflow-wrap : break-word; + overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS margin-bottom : 1em; line-height : 1.3em; &+p{ @@ -112,7 +112,7 @@ body { // * HEADERS // *****************************/ h1,h2,h3,h4{ - margin-top : 0.2em; + //margin-top : 0.2em; margin-bottom : 0.2em; font-family : MrEavesRemake; font-weight : 800; @@ -144,18 +144,24 @@ body { } } h2{ - font-size : 0.75cm; + margin-top : 0px; + margin-bottom : 0.05cm; + font-size : 0.75cm; } h3{ - font-size : 0.529cm; + margin-top : -0.1cm; + margin-bottom : 0.1cm; + font-size : 0.575cm; border-bottom : 2px solid @headerUnderline; } h4{ - margin-bottom : 0.00em; + margin-top : -0.02cm; + margin-bottom : 0.02cm; font-size : 0.458cm; } h5{ - margin-bottom : 0.2em; + margin-top : -0.02cm; + margin-bottom : 0.02cm; font-family : ScalySansSmallCapsRemake; font-size : 0.423cm; font-weight : 900; @@ -235,12 +241,15 @@ body { margin-bottom : 1em; p{ - margin-bottom : 0; + margin-bottom : 0.3cm; } p+p { - margin-top : 0.3cm; + margin-top : 0; //May not be needed text-indent : 0; } + p:last-of-type { + margin-bottom: 0; + } //Headers h2{ @@ -248,7 +257,8 @@ body { line-height : 1em; margin : 0; &+p { - font-size : 0.304cm; //Monster size and type subtext + font-size : 0.304cm; //Monster size and type subtext + margin-bottom : 0; } } h3{ @@ -517,11 +527,14 @@ body { // *****************************/ .phb3 { .block { - break-inside: avoid; + break-inside : avoid; } .inline-block { display : block; } + div { + column-gap : 0.5cm; //Default spacing if a div uses multicolumns + } } //***************************** @@ -548,4 +561,7 @@ body { .blank { height: 0.75em; } + p + .blank { + margin-top: -1em; + } }