Style rework #35
1 changed files with 1 additions and 4 deletions
|
@ -1,14 +1,12 @@
|
|||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--extreme: white;
|
||||
--card-hover: #bbbbbb;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--extreme: black;
|
||||
--card-hover: #0c1014;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,7 +32,6 @@ main ul {
|
|||
/* Card */
|
||||
main li {
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
||||
|
@ -51,7 +48,7 @@ main li {
|
|||
|
||||
/* Hover Card */
|
||||
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;
|
||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue