preliminary work for old theme re-implementation

This commit is contained in:
sundae 2025-06-18 18:38:20 +03:00
parent ee8bce1bd3
commit 8fc7eff67b
No known key found for this signature in database
41 changed files with 456 additions and 415 deletions

View file

@ -0,0 +1,99 @@
@media screen and (max-width: 1400px) {
/* gallery.css */
#art section:has(a:nth-child(n + 2)) {
flex-direction: column !important;
& a {
width: 100%;
}
}
}
@media screen and (max-width: 920px) {
/* blog.css */
article aside {
float: none !important;
width: fit-content !important;
}
article section {
flex-direction: column !important;
}
#posts {
max-width: unset !important;
width: auto !important;
}
[aria-label="Postscript"] {
& p {
margin-right: unset !important;
& > img {
height: auto !important;
max-height: var(--view) !important;
}
}
}
/* default.css */
body > nav {
position: initial !important;
width: 100% !important;
}
main {
padding: var(--pad-l) !important;
}
main > section {
flex-direction: column !important;
}
main > section {
width: initial !important;
}
article {
max-width: initial !important;
width: auto !important;
}
body > nav::before {
content: none !important;
}
body > nav {
flex-direction: row !important;
border: 0 !important;
width: 100% !important;
& details {
height: fit-content !important;
width: 100% !important;
}
}
body::after {
content: "" !important;
}
/* gallery.css */
#art a:has(img) {
width: 100% !important
}
/* home.css */
#collection {
display: flex !important;
flex-direction: column !important;
& ul {
justify-content: center !important;
}
& li a {
padding: 0 !important;
}
}
}
@media screen and (max-width: 450px) {
article {
padding: var(--pad-sm) !important;
background-color: unset !important;
border: 0 !important;
}
body > nav {
flex-direction: column !important;
justify-content: start !important;
& details[open] {
width: 100% !important;
}
}
}