color tweak, modularizing css, redone index, rewritten stuff

This commit is contained in:
sundae 2025-06-17 17:42:43 +03:00
parent c6bac45ecf
commit ee8bce1bd3
No known key found for this signature in database
18 changed files with 614 additions and 664 deletions

View file

@ -30,10 +30,10 @@ body::after {
body {
font-family: "Rubik", sans-serif;
&>nav {
gap: 0.8rem;
& > nav {
gap: var(--pad-m);
& details {
gap: 0.8rem;
gap: inherit;
border-radius: var(--round);
font-weight: bold;
}
@ -41,34 +41,37 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0 1.4rem 0 0;
height: var(--pad);
padding: 0 var(--pad-lm) 0 0;
height: var(--pad-xl);
& > svg {
transform: rotate(0deg);
transition: transform var(--trans);
}
}
& details[open] > summary {
margin-bottom: 0.4rem;
& details:not([open]) > summary {
border-radius: var(--round);
border-style: solid;
border-width: 2px;
border-radius: var(--round);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
& svg {
transform: rotate(45deg);
}
}
& a {
& details[open] {
border-style: solid;
border-width: 2px;
margin: 0 var(--pad-l);
margin-bottom: var(--pad-sm);
border-radius: var(--round);
& > summary {
margin-bottom: var(--pad-sm);
& svg {
transform: rotate(45deg);
}
}
& a {
border-style: solid;
border-width: 2px;
margin: 0 var(--pad-sm);
margin-bottom: var(--pad-sm);
border-radius: var(--round);
}
}
}
}