From 079d59695f4ae52ec3fe204afc6c85aa993a6382 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 27 Oct 2022 23:27:56 -0400 Subject: [PATCH] Return `:where(.page)` to `.page` --- themes/V3/5ePHB/style.less | 14 +++++++------- themes/V3/Blank/style.less | 10 +++++----- themes/V3/Journal/style.less | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 9b85a1cee..422083118 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -82,7 +82,7 @@ body { // * BASE // *****************************/ -:where(.page){ +.page{ p{ overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS display : block; @@ -598,7 +598,7 @@ body { //***************************** // * SPELL LIST // *****************************/ -:where(.page) .spellList{ +.page .spellList{ .useSansSerif(); column-count : 2; ul+h5{ @@ -625,7 +625,7 @@ body { //***************************** // * CLASS TABLE // *****************************/ -:where(.page) .classTable{ +.page .classTable{ th[colspan]:not([rowspan]) { white-space : nowrap; } @@ -682,7 +682,7 @@ body { //***************************** // * TABLE OF CONTENTS // *****************************/ -:where(.page) { +.page { &:has(.toc):after { display: none; } @@ -759,7 +759,7 @@ body { //***************************** // * DEFINITION LISTS // *****************************/ -:where(.page) { +.page { dl { line-height : 1.25em; padding-left : 1em; @@ -789,10 +789,10 @@ body { //***************************** // * WIDE // *****************************/ -:where(.page) .wide{ +.page .wide{ margin-bottom : 0.325cm; } -:where(.page) h1 + *{ +.page h1 + *{ margin-top : 0; } diff --git a/themes/V3/Blank/style.less b/themes/V3/Blank/style.less index 3e834ff9f..295a61469 100644 --- a/themes/V3/Blank/style.less +++ b/themes/V3/Blank/style.less @@ -43,7 +43,7 @@ body { //***************************** // * BASE // *****************************/ -:where(.page){ +.page{ p{ overflow-wrap : break-word; display : block; @@ -218,7 +218,7 @@ body { //***************************** // * MUSTACHE DIVS/SPANS // *****************************/ -:where(.page) { +.page { .block { break-inside : avoid; display : inline-block; @@ -233,7 +233,7 @@ body { //***************************** // * DEFINITION LISTS // *****************************/ -:where(.page) { +.page { dl { padding-left : 1em; white-space : pre-line; @@ -253,7 +253,7 @@ body { //***************************** // * BLANK LINE // *****************************/ -:where(.page) { +.page { .blank { height : 1em; margin-top : 0; @@ -263,7 +263,7 @@ body { //***************************** // * WIDE // *****************************/ -:where(.page) { +.page { .wide{ column-span : all; display : block; diff --git a/themes/V3/Journal/style.less b/themes/V3/Journal/style.less index a06f60b6f..2e2ada5c8 100644 --- a/themes/V3/Journal/style.less +++ b/themes/V3/Journal/style.less @@ -62,7 +62,7 @@ //***************************** // * BASE // *****************************/ -:where(.page){ +.page{ color : var(--HB_Color_Text); font-family : ReenieBeanie; font-size : 0.53cm; @@ -554,6 +554,6 @@ //***************************** // * WIDE // *****************************/ -:where(.page) .wide { +.page .wide { margin-bottom : 0.45cm; }