|
57 | 57 | /*--mainBorder: 1px solid #c0d0e7;*/ |
58 | 58 |
|
59 | 59 | --backgroundColor: #14191D; |
60 | | - --titleBackgroundColor: #14191Dee; |
| 60 | + --titleTransparency: 93%; |
| 61 | + --titleBackgroundColor: rgb(20 25 29 / var(--titleTransparency)); |
61 | 62 | --backgroundImage: url("../images/backgrounds/darkStripes.png"); |
62 | 63 | --backgroundAltImage: url("../images/backgrounds/bgColorDark.png"); |
63 | 64 | --alternateBGColor: #1f262b; |
|
119 | 120 | @media (prefers-color-scheme: light) { |
120 | 121 | :root { |
121 | 122 | --backgroundColor: #C5CCD4; |
122 | | - --titleBackgroundColor: #C5CCD4ee; |
| 123 | + --titleBackgroundColor: rgb(197 204 212 / var(--titleTransparency)); |
123 | 124 | --backgroundImage: url("../images/backgrounds/lightStripes.png"); |
124 | 125 | --backgroundAltImage: url("../images/backgrounds/bgColorLight.png"); |
125 | 126 | /*--alternateBGColor: white;*/ |
@@ -600,24 +601,20 @@ script { |
600 | 601 | } |
601 | 602 |
|
602 | 603 | /* blurred module title, if this is supported */ |
603 | | -@supports (backdrop-filter: blur(40px)) { |
| 604 | +@supports (backdrop-filter: blur(30px)) { |
| 605 | + |
| 606 | + :root { |
| 607 | + --titleTransparency: 30%!important; |
| 608 | + } |
| 609 | + |
604 | 610 | .moduleTitle { |
605 | 611 | overflow: hidden; |
606 | | - background-color: transparent!important; |
607 | | - backdrop-filter: blur(40px)!important; |
| 612 | + backdrop-filter: blur(30px)!important; |
608 | 613 | color: var(--boldText); |
609 | | - --titleStrokePos: .5px; |
610 | | - --titleStrokeNeg: calc(var(--titleStrokePos) * -1); |
611 | | - --titleStrokeBlur: 1px; |
612 | 614 | text-shadow: |
613 | 615 | 0 0 3em var(--boldBG), |
614 | 616 | 0 0 2em var(--boldBG), |
615 | | - 0 0 1em var(--boldBG), |
616 | | - var(--titleStrokePos) var(--titleStrokeNeg) var(--titleStrokeBlur) var(--borderColor), |
617 | | - var(--titleStrokeNeg) var(--titleStrokePos) var(--titleStrokeBlur) var(--borderColor), |
618 | | - var(--titleStrokeNeg) var(--titleStrokeNeg) var(--titleStrokeBlur) var(--borderColor), |
619 | | - var(--titleStrokePos) var(--titleStrokePos) var(--titleStrokeBlur) var(--borderColor); |
620 | | - /*outline: .5px solid var(--backgroundColor);*/ |
| 617 | + 0 0 1em var(--boldBG); |
621 | 618 | } |
622 | 619 |
|
623 | 620 | .moduleTitle::selection { |
|
0 commit comments