website/_src/assets/css/mobile.css

93 lines
1.6 KiB
CSS
Raw Normal View History

@media screen and (max-width: 1400px) {
/* gallery.css */
#art section:has(a:nth-child(n + 2)) {
flex-direction: column !important;
width: 100% !important;
}
}
@media screen and (max-width: 920px) {
/* gallery .css */
#art section {
align-self: center !important;
}
/* 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;
top: 0 !important;
border-right: 0 !important;
width: 100% !important;
& details {
height: fit-content !important;
width: 100% !important;
}
}
body::after {
content: "" !important;
}
/* home.css */
#collection {
display: flex !important;
flex-direction: column !important;
}
}
@media screen and (max-width: 400px) {
article {
padding: var(--pad-l) !important;
}
body > nav {
flex-direction: column !important;
justify-content: start !important;
& details[open] {
width: 100% !important;
}
}
}