color tweak, modularizing css, redone index, rewritten stuff
This commit is contained in:
parent
c6bac45ecf
commit
ee8bce1bd3
18 changed files with 614 additions and 664 deletions
92
_src/assets/css/mobile.css
Normal file
92
_src/assets/css/mobile.css
Normal file
|
@ -0,0 +1,92 @@
|
|||
@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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue