played a bit with styling
This commit is contained in:
parent
d269188cc8
commit
9b8348dc88
2 changed files with 20 additions and 0 deletions
|
@ -181,6 +181,13 @@ samp {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports ((scrollbar-width: auto) and (scrollbar-width: auto)) {
|
||||||
|
:root {
|
||||||
|
scrollbar-color: var(--surface-300) transparent;
|
||||||
|
scrollbar-width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@property --hue {
|
@property --hue {
|
||||||
syntax: '<angle>';
|
syntax: '<angle>';
|
||||||
inherits: false;
|
inherits: false;
|
||||||
|
|
|
@ -17,5 +17,18 @@
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
gap: var(--padding-s);
|
gap: var(--padding-s);
|
||||||
padding-inline-start: var(--padding-l);
|
padding-inline-start: var(--padding-l);
|
||||||
|
|
||||||
|
@media (hover) and (prefers-reduced-motion: no-preference) {
|
||||||
|
& > li {
|
||||||
|
transform-origin: left center;
|
||||||
|
transition: opacity .2s ease-in-out .1s, transform .1s ease-in-out .1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:has(> li:hover) > li:not(:hover),
|
||||||
|
&:has(> li:focus-within) > li:not(:focus-within) {
|
||||||
|
opacity: .25;
|
||||||
|
transform: scale(.9);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue