From 36f8f39486e550f233396af7aa3726ad3e2fe30b Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Thu, 28 Sep 2023 00:02:57 -0500 Subject: [PATCH 1/3] Tweak monster H3 sizing and spacing per recommendation --- themes/V3/5ePHB/style.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index f37dfae2b..e7bc5ef61 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -404,13 +404,13 @@ body { counter-reset : phb-page-numbers; } font-size : 0.304cm; //Monster size and type subtext } } - h3 { - // margin-top : 0.05cm; //Font is misaligned. Shift up slightly - padding-bottom : 0.05cm; - font-family : "ScalySansRemake"; - font-weight : 800; - font-variant : small-caps; - border-bottom : 2px solid var(--HB_Color_HeaderText); + h3{ + font-family : ScalySansSmallCapsRemake; + font-weight : 100; + font-variant : normal; + border-bottom : 1.5px solid var(--HB_Color_HeaderText); + line-height : 0.9em; + padding-bottom : 0; } //Triangle dividers From 09670b8535907f7f235dabf43deef68c58068f64 Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Thu, 28 Sep 2023 00:04:21 -0500 Subject: [PATCH 2/3] Stylelint the v3 PHB theme. --- themes/V3/5ePHB/style.less | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index e7bc5ef61..4b31002a0 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -18,7 +18,7 @@ body { counter-reset : phb-page-numbers; } * { -webkit-print-color-adjust : exact; } .useSansSerif() { - font-family : "ScalySansRemake"; + font-family : 'ScalySansRemake'; font-size : 0.318cm; line-height : 1.2em; p,dl,ul,ol { line-height : 1.2em; } @@ -57,7 +57,7 @@ body { counter-reset : phb-page-numbers; } height : 279.4mm; padding : 1.4cm 1.9cm 1.7cm; overflow : hidden; - font-family : "BookInsanityRemake"; + font-family : 'BookInsanityRemake'; font-size : 0.34cm; counter-increment : phb-page-numbers; background-color : var(--HB_Color_Background); @@ -114,7 +114,7 @@ body { counter-reset : phb-page-numbers; } // * HEADERS // *****************************/ h1,h2,h3,h4 { - font-family : "MrEavesRemake"; + font-family : 'MrEavesRemake'; font-weight : 800; color : var(--HB_Color_HeaderText); } @@ -132,7 +132,7 @@ body { counter-reset : phb-page-numbers; } margin-top : -0.3cm; margin-bottom : -20px; margin-left : -40px; - font-family : "SolberaImitationRemake"; + font-family : 'SolberaImitationRemake'; font-size : 3.5cm; line-height : 1em; color : rgba(0, 0, 0, 0); @@ -172,7 +172,7 @@ body { counter-reset : phb-page-numbers; } h5 { //margin-top : -0.02cm; //Font is misaligned. Shift up slightly //margin-bottom : 0.02cm; - font-family : "ScalySansSmallCapsRemake"; + font-family : 'ScalySansSmallCapsRemake'; font-size : 0.423cm; font-weight : 900; line-height : 0.951em; //Font is misaligned. Shift up slightly @@ -299,7 +299,7 @@ body { counter-reset : phb-page-numbers; } .artist { position : absolute; width : auto; - font-family : "WalterTurncoat"; + font-family : 'WalterTurncoat'; font-size : 0.27cm; color : var(--HB_Color_CaptionText); text-align : center; @@ -309,7 +309,7 @@ body { counter-reset : phb-page-numbers; } text-indent : unset; } h5 { - font-family : "WalterTurncoat"; + font-family : 'WalterTurncoat'; font-size : 1.3em; } a { @@ -404,13 +404,13 @@ body { counter-reset : phb-page-numbers; } font-size : 0.304cm; //Monster size and type subtext } } - h3{ - font-family : ScalySansSmallCapsRemake; + h3 { + padding-bottom : 0; + font-family : 'ScalySansSmallCapsRemake'; font-weight : 100; font-variant : normal; - border-bottom : 1.5px solid var(--HB_Color_HeaderText); line-height : 0.9em; - padding-bottom : 0; + border-bottom : 1.5px solid var(--HB_Color_HeaderText); } //Triangle dividers @@ -503,7 +503,7 @@ body { counter-reset : phb-page-numbers; } // ************************************/ code { padding : 0px 4px; - font-family : 'Courier New', "Courier", monospace; + font-family : 'Courier New', 'Courier', monospace; font-size : 0.325; color : #58180D; overflow-wrap : break-word; @@ -641,7 +641,7 @@ body { counter-reset : phb-page-numbers; } h1 { margin-top : 1.2cm; margin-bottom : 0; - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 2.245cm; font-weight : normal; line-height : 0.85em; @@ -654,7 +654,7 @@ body { counter-reset : phb-page-numbers; } drop-shadow(0 0 0 black) drop-shadow(0 0 0 black); } h2 { - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 0.85cm; font-weight : normal; color : white; @@ -687,7 +687,7 @@ body { counter-reset : phb-page-numbers; } height : 1.7cm; padding-top : 0.1cm; padding-left : 1cm; - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 1cm; font-weight : normal; color : white; @@ -704,7 +704,7 @@ body { counter-reset : phb-page-numbers; } width : 70%; margin-right : auto; margin-left : auto; - font-family : "Overpass"; + font-family : 'Overpass'; font-size : 0.496cm; color : white; text-align : center; @@ -735,14 +735,14 @@ body { counter-reset : phb-page-numbers; } h1 { margin-top : 1.2cm; margin-bottom : 0; - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 2.1cm; font-weight : normal; line-height : 0.85em; text-transform : uppercase; } h2 { - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 0.85cm; font-weight : normal; letter-spacing : 0.5cm; @@ -791,7 +791,7 @@ body { counter-reset : phb-page-numbers; } .blank { height : 1.4em; } h1 { margin-bottom : 0.3cm; - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 1.35cm; line-height : 0.95em; color : #ED1C24; @@ -817,7 +817,7 @@ body { counter-reset : phb-page-numbers; } border : none; } p { - font-family : "Overpass"; + font-family : 'Overpass'; font-size : 0.332cm; line-height : 1.5em; } @@ -841,7 +841,7 @@ body { counter-reset : phb-page-numbers; } p { position : relative; width : 100%; - font-family : "NodestoCapsWide"; + font-family : 'NodestoCapsWide'; font-size : 0.4cm; line-height : 1em; color : #FFFFFF; @@ -874,7 +874,7 @@ body { counter-reset : phb-page-numbers; } h1 { position : relative; margin-top : 0.4cm; - font-family : "NodestoCapsCondensed"; + font-family : 'NodestoCapsCondensed'; font-size : 2.3cm; text-align : center; text-transform : uppercase; @@ -885,7 +885,7 @@ body { counter-reset : phb-page-numbers; } margin-top : -0.7em; margin-right : auto; margin-left : auto; - font-family : "Overpass"; + font-family : 'Overpass'; font-size : 0.45cm; line-height : 1.1em; } @@ -1009,7 +1009,7 @@ body { counter-reset : phb-page-numbers; } outline : 1px solid #000000; } th { - font-family : "BookInsanityRemake"; + font-family : 'BookInsanityRemake'; font-size : 0.45cm; } td { font-size : 0.7cm; } From e6d8784633fff0c184a87ec4c1d4c953c0d672ac Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Tue, 31 Oct 2023 12:12:56 -0400 Subject: [PATCH 3/3] Remove redundant properties --- themes/V3/5ePHB/style.less | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index b32600a3d..a217f7dbe 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -405,11 +405,8 @@ body { counter-reset : phb-page-numbers; } } } h3 { - padding-bottom : 0; font-family : 'ScalySansSmallCapsRemake'; - font-weight : 100; - font-variant : normal; - line-height : 0.9em; + font-size : 0.45cm; border-bottom : 1.5px solid var(--HB_Color_HeaderText); }