Skip to content

Commit 4977eaa

Browse files
committed
adjustments to titles
1 parent 7fbd5e0 commit 4977eaa

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

data/styles/styles.css

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
/*--mainBorder: 1px solid #c0d0e7;*/
5858

5959
--backgroundColor: #14191D;
60-
--titleBackgroundColor: #14191Dee;
60+
--titleTransparency: 93%;
61+
--titleBackgroundColor: rgb(20 25 29 / var(--titleTransparency));
6162
--backgroundImage: url("../images/backgrounds/darkStripes.png");
6263
--backgroundAltImage: url("../images/backgrounds/bgColorDark.png");
6364
--alternateBGColor: #1f262b;
@@ -119,7 +120,7 @@
119120
@media (prefers-color-scheme: light) {
120121
:root {
121122
--backgroundColor: #C5CCD4;
122-
--titleBackgroundColor: #C5CCD4ee;
123+
--titleBackgroundColor: rgb(197 204 212 / var(--titleTransparency));
123124
--backgroundImage: url("../images/backgrounds/lightStripes.png");
124125
--backgroundAltImage: url("../images/backgrounds/bgColorLight.png");
125126
/*--alternateBGColor: white;*/
@@ -600,24 +601,20 @@ script {
600601
}
601602

602603
/* 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+
604610
.moduleTitle {
605611
overflow: hidden;
606-
background-color: transparent!important;
607-
backdrop-filter: blur(40px)!important;
612+
backdrop-filter: blur(30px)!important;
608613
color: var(--boldText);
609-
--titleStrokePos: .5px;
610-
--titleStrokeNeg: calc(var(--titleStrokePos) * -1);
611-
--titleStrokeBlur: 1px;
612614
text-shadow:
613615
0 0 3em var(--boldBG),
614616
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);
621618
}
622619

623620
.moduleTitle::selection {

0 commit comments

Comments
 (0)