mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Add proper mobile nav; update mongodb package ver
This commit is contained in:
parent
1e19f79af1
commit
4c58b94f96
10 changed files with 195 additions and 12 deletions
|
|
@ -33,13 +33,35 @@ wa-page[view='desktop'] {
|
|||
[slot*='navigation'] {
|
||||
border-inline-end: var(--wa-border-width-s) var(--wa-border-style) var(--wa-color-surface-border);
|
||||
}
|
||||
|
||||
[slot*='navigation'],
|
||||
[slot*='navigation-header'],
|
||||
[slot*='navigation-footer']{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
wa-page[view='mobile'] {
|
||||
[slot*='header'] {
|
||||
display: none;
|
||||
}
|
||||
--menu-width: auto;
|
||||
--aside-width: auto;
|
||||
}
|
||||
|
||||
[slot*='navigation'] a {
|
||||
text-decoration: none;
|
||||
--wa-color-text-link: var(--wa-color-text-normal);
|
||||
}
|
||||
|
||||
[slot*='navigation-footer'] {
|
||||
border-block-start: var(--wa-border-width-s) var(--wa-border-style) var(--wa-color-surface-border);
|
||||
a {
|
||||
text-decoration: none;
|
||||
--wa-color-text-link: var(--wa-color-text-normal);
|
||||
}
|
||||
}
|
||||
|
||||
[slot='header'] {
|
||||
--wa-link-decoration-default: none;
|
||||
border-block-end: var(--wa-border-width-s) var(--wa-border-style) var(--wa-color-surface-border);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue