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;
175175 font-family: Inter, sans-serif;
176176 }
177177
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+
178188 .footer {
179189 background: top/100px repeat-x, bottom/cover url(/images/bg-dark-mode.jpg);
180190 }
Original file line number Diff line number Diff line change @@ -244,8 +244,6 @@ import Header from '../components/Header.astro';
244244 --background-color-rgb: 29, 29, 34;
245245 --text-color-rgb: 255, 255, 255;
246246 color: white;
247- --hero-bg-filter: brightness(70%) blur(2px);
248- --footer-bg-filter: brightness(80%) blur(1px);
249247 }
250248
251249 @media (prefers-color-scheme: light) {
@@ -255,8 +253,6 @@ import Header from '../components/Header.astro';
255253 --background-color-rgb: 244, 242, 255;
256254 color: #121212;
257255 --text-color-rgb: 18, 18, 18;
258- --hero-bg-filter: blur(2px);
259- --footer-bg-filter: brightness(125%) saturate(80%) blur(2px);
260256 }
261257 }
262258
Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ import FeatureSection from '../components/FeatureSection.astro';
115115 --background-color-rgb: 29, 29, 34;
116116 --text-color-rgb: 255, 255, 255;
117117 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);
120119 }
121120
122121 @media (prefers-color-scheme: light) {
@@ -127,7 +126,6 @@ import FeatureSection from '../components/FeatureSection.astro';
127126 color: #121212;
128127 --text-color-rgb: 18, 18, 18;
129128 --hero-bg-filter: blur(2px);
130- --footer-bg-filter: brightness(125%) saturate(80%) blur(2px);
131129 }
132130 }
133131
You can’t perform that action at this time.
0 commit comments