Style rework #35

Merged
Anri merged 70 commits from rework into main 2023-10-15 20:58:23 +02:00
Showing only changes of commit f7f33b25e9 - Show all commits

View file

@ -1,14 +1,12 @@
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root { :root {
--extreme: white; --extreme: white;
--card-hover: #bbbbbb;
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--extreme: black; --extreme: black;
--card-hover: #0c1014;
} }
} }
@ -34,7 +32,6 @@ main ul {
/* Card */ /* Card */
main li { main li {
display: flex; display: flex;
position: relative;
border-radius: 8px; border-radius: 8px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
@ -51,7 +48,7 @@ main li {
/* Hover Card */ /* Hover Card */
main li:hover { main li:hover {
background-color: color-mix(in srgb, var(--background) 40%, var(--extreme)); background: color-mix(in srgb, var(--background) 40%, var(--extreme));
cursor: pointer; cursor: pointer;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3); box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
} }