Style rework #35
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue