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

@ -25,12 +25,13 @@
& a {
display: block;
text-decoration: unset;
border-radius: var(--round);
& figure {
border-radius: inherit;
margin: 0;
padding: var(--pad-sm);
border-width: 2px;
border-style: solid;
border-radius: var(--round);
& img {
display: flex;
width: 100%;
@ -62,29 +63,15 @@
& section {
margin: var(--pad-l) 0;
& a {
display: flex;
height: max-content;
text-decoration: none;
flex-direction: column;
}
display: flex;
height: max-content;
border-radius: var(--round);
flex-direction: column;
max-width: calc(var(--post) - var(--view));
}
}
& time {
display: flex;
font-weight: bold;
}
& a {
max-width: var(--post);
width: fit-content;
& figure {
max-width: inherit;
}
}
}
@media screen and (max-width: 920px) {
#art section {
align-self: center;
}
#art section:has(a:nth-child(n + 2)) {
flex-direction: column;
}
}