From 2de7ec358542269097022b527cdce197f607ee4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Tue, 3 Oct 2023 17:08:46 +0200 Subject: [PATCH 1/4] Initial Commit --- themes/V3/5ePHB/style.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index f37dfae2..ea2b1417 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -424,7 +424,10 @@ body { counter-reset : phb-page-numbers; } } //Attribute Lists - All text between HRs is red - hr ~ :is(dl,p) { color : var(--HB_Color_HeaderText); } + hr ~ :is(dl,p) { + color : var(--HB_Color_HeaderText); + text-indent: 0; + } hr:last-of-type { & ~ :is(dl,p) { color : inherit; // After the HRs, reset text to black From d31dae728f8ec4f29bbab1c66272e62cf7a3bc22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Sun, 12 Nov 2023 00:28:43 +0100 Subject: [PATCH 2/4] i don't know why i didn't do this last time --- themes/V3/5ePHB/style.less | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index f624965d..8f4d8a8d 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -423,8 +423,7 @@ body { counter-reset : phb-page-numbers; } //Attribute Lists - All text between HRs is red hr ~ :is(dl,p) { color : var(--HB_Color_HeaderText); - text-indent: 0; - } + } hr:last-of-type { & ~ :is(dl,p) { color : inherit; // After the HRs, reset text to black @@ -433,6 +432,8 @@ body { counter-reset : phb-page-numbers; } margin-top : 0.325cm; // Space after last HR } } + + // Monster Ability table hr + table:first-of-type { @@ -446,6 +447,10 @@ body { counter-reset : phb-page-numbers; } tr { background-color : transparent; } td,th { padding : 0px; } } + //indent fix after bulleted lists + :is(ul,ol) + p { + text-indent:0; + } :last-child { margin-bottom : 0; } } From a1e9c82c06906a5ef351aedbce36417551ef0b3e Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 15 Nov 2023 14:32:15 -0500 Subject: [PATCH 3/4] Linting --- themes/V3/5ePHB/style.less | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 8f4d8a8d..2d9837ca 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -421,9 +421,7 @@ body { counter-reset : phb-page-numbers; } } //Attribute Lists - All text between HRs is red - hr ~ :is(dl,p) { - color : var(--HB_Color_HeaderText); - } + hr ~ :is(dl,p) { color : var(--HB_Color_HeaderText); } hr:last-of-type { & ~ :is(dl,p) { color : inherit; // After the HRs, reset text to black @@ -448,9 +446,7 @@ body { counter-reset : phb-page-numbers; } td,th { padding : 0px; } } //indent fix after bulleted lists - :is(ul,ol) + p { - text-indent:0; - } + :is(ul,ol) + p { text-indent : 0; } :last-child { margin-bottom : 0; } } From 9ac070512dc6e05d2cd529334aa0c6c33b435044 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 15 Nov 2023 14:34:30 -0500 Subject: [PATCH 4/4] linting --- themes/V3/5ePHB/style.less | 2 -- 1 file changed, 2 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 2d9837ca..f3c0bcd7 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -430,8 +430,6 @@ body { counter-reset : phb-page-numbers; } margin-top : 0.325cm; // Space after last HR } } - - // Monster Ability table hr + table:first-of-type {