1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00

Improve shading on both themes

This commit is contained in:
Steffo 2022-06-05 17:47:40 +02:00
parent c4037512fc
commit 9ad1145720
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 20 additions and 19 deletions

View file

@ -18,6 +18,7 @@
filter: blur(7px) contrast(50%) brightness(50%); filter: blur(7px) contrast(50%) brightness(50%);
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root, :host { :root, :host {
--background: #fafafa; --background: #fafafa;

View file

@ -1,3 +1,3 @@
.icon { .icon {
filter: drop-shadow(1px 1px 1px var(--background)); filter: drop-shadow(1px 1px 0 var(--background));
} }

View file

@ -6,13 +6,13 @@ body {
color: var(--foreground); color: var(--foreground);
font-family: sans-serif; font-family: sans-serif;
text-shadow: 1px 1px 1px var(--background); text-shadow: 1px 1px 0 var(--background);
min-height: 100vh; min-height: 100vh;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
text-shadow: 2px 2px 2px var(--background); text-shadow: 2px 2px 0 var(--background);
margin: 0; margin: 0;
} }