feat: Added animated sidebar / navigation

This commit is contained in:
Aleksi Lassila
2024-03-21 18:19:33 +02:00
parent 2dbbeb4baf
commit 22c1475a16
5 changed files with 150 additions and 50 deletions

View File

@@ -22,8 +22,8 @@ a {
@apply outline-none outline-0 focus-visible:border-2 border-[#f0cd6dc2];
}
.selectable:focus-visible, .selectable:focus {
outline-style: solid;
.selectable:focus, .selectable:focus-within {
border-width: 2px;
}
.peer-selectable {
@@ -33,3 +33,9 @@ a {
.selectable-explicit {
@apply focus-within:outline outline-2 outline-[#f0cd6dc2] outline-offset-2;
}
@media tv {
html {
font-size: 24px;
}
}