From 164e0a4433db9edf48a40551ebb448dc924d5c9c Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Mon, 6 Mar 2023 14:09:59 -0500 Subject: [PATCH] adjust values based on old original box-shadow sizes Some shadows need to be made bigger to interact with the border-image hanging over the top of the shadow. This just restores those sizes we had before first changing to filter:drop-shadow. See https://github.com/naturalcrit/homebrewery/pull/1577/files --- themes/V3/5ePHB/style.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 61c9900fe..5c4733c6c 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -253,7 +253,7 @@ body { border-image-outset : 9px 0px; border-image-width : 11px; padding : 0.13cm 0.16cm; - filter : drop-shadow(1px 4px 6px #888); + box-shadow : 1px 4px 14px #888; .page :where(&) { margin-top : 9px; //Prevent top border getting cut off on colbreak } @@ -282,7 +282,7 @@ body { border-image : @descriptiveBoxImage 12 stretch; border-image-outset : 4px; padding : 0.1em; - filter : drop-shadow(0 0 3px #faf7ea); + box-shadow : 0 0 6px #faf7ea; .page :where(&) { margin-top : 4px; //Prevent top border getting cut off on colbreak } @@ -397,7 +397,7 @@ body { border-image-outset : 0px 2px; background-blend-mode : overlay; background-attachment : fixed; - filter : drop-shadow(1px 4px 6px #888); + box-shadow : 1px 4px 14px #888; padding : 4px 2px; margin-left : -0.16cm; margin-right : -0.16cm; @@ -687,11 +687,11 @@ h5 + table{ all: unset; } .logo { - position : absolute; - top : 0.5cm; - left : 0; - right : 0; - filter : drop-shadow(0 0 0.075cm black); + position : absolute; + top : 0.5cm; + left : 0; + right : 0; + filter :drop-shadow(0 0 0.075cm black); img { height : 2cm; width : 100%; @@ -746,7 +746,7 @@ h5 + table{ filter : drop-shadow(0 0 3px black); } .banner { - filter : drop-shadow(2px 2px 2px #000); + filter : drop-shadow(2px 2px 2px black); position : absolute; left : 0; bottom : 4.2cm;