99 lines
1.7 KiB
CSS
99 lines
1.7 KiB
CSS
@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;
|
|
}
|
|
}
|
|
}
|