@@ -91,17 +91,18 @@ section:has(> h1), section:has(> h2), section:has(.title) {
91
91
& ::after {
92
92
color : var (--cs-background );
93
93
}
94
- header {
95
- display : none ;
96
- }
97
- footer {
94
+ header , footer {
98
95
display : none ;
99
96
}
100
97
}
101
98
102
99
/* First title card */
103
100
:root:has (.title ) {
104
101
@include patterns .pattern (list .nth (patterns .$patterns , 1 ));
102
+ & ::before , & ::after {
103
+ display : none ;
104
+ }
105
+
105
106
.title {
106
107
position : absolute ;
107
108
inset : 0 ;
@@ -120,8 +121,8 @@ section:has(> h1), section:has(> h2), section:has(.title) {
120
121
}
121
122
122
123
& div :nth-child (2 ) {
123
- color : var (--cs-background );
124
- background : var (--cs -background-dark );
124
+ color : var (--color-foreground );
125
+ background : var (--color -background );
125
126
writing-mode : vertical-lr ;
126
127
127
128
& ::before {
@@ -133,7 +134,7 @@ section:has(> h1), section:has(> h2), section:has(.title) {
133
134
134
135
& ::after {
135
136
content : " " ;
136
- background-image : url (" #{$url-base } /theme/logo/logo_red_dark_transparent_tagline%402x .png" );
137
+ background-image : url (" #{$url-base } /theme/logo/logo_red_light_transparent_tagline .png" );
137
138
background-size : contain ;
138
139
background-repeat : no-repeat ;
139
140
background-position : center ;
@@ -142,6 +143,9 @@ section:has(> h1), section:has(> h2), section:has(.title) {
142
143
}
143
144
}
144
145
}
146
+ :root .invert .title div :nth-child (2 )::after {
147
+ background-image : url (" #{$url-base } /theme/logo/logo_red_dark_transparent_tagline.png" );
148
+ }
145
149
146
150
/* Rotating section backgrounds for title cards */
147
151
@for $i from 1 through list .length (patterns .$patterns ) {
@@ -363,3 +367,9 @@ section::before {
363
367
font-family : Righteous;
364
368
}
365
369
}
370
+
371
+ :root:has (.thanks ) {
372
+ & ::before , & ::after , footer , header {
373
+ display : none ;
374
+ }
375
+ }
0 commit comments