mostly good for release

This commit is contained in:
sundae 2025-06-25 13:08:50 +03:00
parent 8fc7eff67b
commit b626e6265e
No known key found for this signature in database
32 changed files with 425 additions and 169 deletions

View file

@ -37,10 +37,6 @@ article > [aria-label="Addendum"] {
border-image-slice: 1;
border-image-width: 2px;
border-image-outset: 4px;
& > p:first-child {
display: flex;
text-align: center;
}
}
article > [aria-label="Postscript"] {
@ -81,8 +77,11 @@ article > [aria-label="Postscript"] {
margin-bottom: var(--pad-l);
}
}
& a {
background: unset;
}
& p:has(img:nth-child(n + 2)) {
& p a:has(img:nth-child(n + 2)) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 40%), 1fr));
align-items: center;
@ -95,7 +94,7 @@ article > [aria-label="Postscript"] {
min-height: fit-content;
max-height: var(--image);
}
& img:not(p > img) {
& img:not(p a > img) {
display: flex;
box-sizing: content-box;
margin: 0 0 0 auto;
@ -139,3 +138,25 @@ article > [aria-label="Postscript"] {
}
}
}
@media screen and (max-width: 920px) {
article aside {
float: unset;
width: fit-content;
}
article section {
flex-direction: column;
}
#posts {
max-width: unset;
width: auto;
}
article > [aria-label="Postscript"] {
& p {
margin-right: var(--pad-sm);
& > a img {
height: auto;
max-height: var(--view);
}
}
}
}