File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,16 @@ const { title } = Astro.props;
175
175
font-family: Inter, sans-serif;
176
176
}
177
177
178
+ :root {
179
+ --footer-bg-filter: brightness(60%) blur(1px);
180
+ }
181
+
182
+ @media (prefers-color-scheme: light) {
183
+ :root {
184
+ --footer-bg-filter: brightness(120%) saturate(90%) blur(2px);
185
+ }
186
+ }
187
+
178
188
.footer {
179
189
background: top/100px repeat-x, bottom/cover url(/images/bg-dark-mode.jpg);
180
190
}
Original file line number Diff line number Diff line change @@ -244,8 +244,6 @@ import Header from '../components/Header.astro';
244
244
--background-color-rgb: 29, 29, 34;
245
245
--text-color-rgb: 255, 255, 255;
246
246
color: white;
247
- --hero-bg-filter: brightness(70%) blur(2px);
248
- --footer-bg-filter: brightness(80%) blur(1px);
249
247
}
250
248
251
249
@media (prefers-color-scheme: light) {
@@ -255,8 +253,6 @@ import Header from '../components/Header.astro';
255
253
--background-color-rgb: 244, 242, 255;
256
254
color: #121212;
257
255
--text-color-rgb: 18, 18, 18;
258
- --hero-bg-filter: blur(2px);
259
- --footer-bg-filter: brightness(125%) saturate(80%) blur(2px);
260
256
}
261
257
}
262
258
Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ import FeatureSection from '../components/FeatureSection.astro';
115
115
--background-color-rgb: 29, 29, 34;
116
116
--text-color-rgb: 255, 255, 255;
117
117
color: white;
118
- --hero-bg-filter: brightness(70%) blur(2px);
119
- --footer-bg-filter: brightness(80%) blur(1px);
118
+ --hero-bg-filter: brightness(55%) blur(2px);
120
119
}
121
120
122
121
@media (prefers-color-scheme: light) {
@@ -127,7 +126,6 @@ import FeatureSection from '../components/FeatureSection.astro';
127
126
color: #121212;
128
127
--text-color-rgb: 18, 18, 18;
129
128
--hero-bg-filter: blur(2px);
130
- --footer-bg-filter: brightness(125%) saturate(80%) blur(2px);
131
129
}
132
130
}
133
131
You can’t perform that action at this time.
0 commit comments