More js/css changes

This commit is contained in:
Joshua Goins 2024-02-10 20:33:02 -05:00
parent af582ab664
commit a4c818d562
5 changed files with 21 additions and 3 deletions

View file

@ -9,5 +9,8 @@
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/costa-del-sol", "newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/costa-del-sol",
"pixiv_url": "https://www.pixiv.net/artworks/115946355", "pixiv_url": "https://www.pixiv.net/artworks/115946355",
"program": "Krita", "program": "Krita",
"tags": [
"fan art"
],
"title": "Costa del Sol" "title": "Costa del Sol"
} }

View file

@ -8,6 +8,8 @@ slug: costadelsol
characters: characters:
- Tifa - Tifa
- Aerith - Aerith
arttags:
- fan art
mastodon_url: https://mastodon.art/@redstrate/111909720876173011 mastodon_url: https://mastodon.art/@redstrate/111909720876173011
pixiv_url: https://www.pixiv.net/artworks/115946355 pixiv_url: https://www.pixiv.net/artworks/115946355
newgrounds_url: https://www.newgrounds.com/art/view/redstrate/costa-del-sol newgrounds_url: https://www.newgrounds.com/art/view/redstrate/costa-del-sol

View file

@ -64,7 +64,7 @@ tags:
- name: 3d - name: 3d
num: 19 num: 19
- name: fan art - name: fan art
num: 50 num: 51
- name: sketch - name: sketch
num: 109 num: 109
--- ---

View file

@ -53,6 +53,11 @@
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;
} }
#nav-menu > summary {
visibility: hidden;
height: 0;
}
} }
.gutter-sizer { .gutter-sizer {

View file

@ -1,3 +1,11 @@
if (window.matchMedia('(max-device-width: 768px)').matches) { function checkWidth() {
document.getElementById("nav-menu").open = false; if (window.matchMedia('(max-device-width: 768px)').matches) {
document.getElementById("nav-menu").open = false;
} else {
document.getElementById("nav-menu").open = true;
}
} }
window.onresize = function() {
checkWidth();
};