added generic types on props, tweaked nav and footer coloring

This commit is contained in:
Xanazf 2024-10-15 20:44:49 +03:00
parent 4682b90711
commit fcf2179001
Signed by: Xanazf
GPG key ID: 4E4A5AD1FB748427
6 changed files with 95 additions and 28 deletions

View file

@ -35,7 +35,7 @@
font-size: 1.614rem;
max-height: 500px;
&>svg {
& > svg {
height: 100%;
width: 24px;
}
@ -65,9 +65,7 @@
display: none;
}
transition:
width 0.3s ease,
padding 0.3s ease;
transition: width 0.3s ease, padding 0.3s ease;
&.shown {
overflow-y: scroll;
@ -105,7 +103,7 @@
display: block;
position: sticky;
top: 3.5rem;
width: 19rem;
max-width: 19rem;
max-height: calc(100svh - 3.5rem);
overflow-y: scroll;
z-index: 9;
@ -124,7 +122,7 @@
list-style: none;
&.active {
&>.toc_a {
& > .toc_a {
color: hsl(var(--green) 72 60);
}
}