More js/css changes
This commit is contained in:
parent
af582ab664
commit
a4c818d562
5 changed files with 21 additions and 3 deletions
|
@ -9,5 +9,8 @@
|
|||
"newgrounds_url": "https://www.newgrounds.com/art/view/redstrate/costa-del-sol",
|
||||
"pixiv_url": "https://www.pixiv.net/artworks/115946355",
|
||||
"program": "Krita",
|
||||
"tags": [
|
||||
"fan art"
|
||||
],
|
||||
"title": "Costa del Sol"
|
||||
}
|
||||
|
|
|
@ -8,6 +8,8 @@ slug: costadelsol
|
|||
characters:
|
||||
- Tifa
|
||||
- Aerith
|
||||
arttags:
|
||||
- fan art
|
||||
mastodon_url: https://mastodon.art/@redstrate/111909720876173011
|
||||
pixiv_url: https://www.pixiv.net/artworks/115946355
|
||||
newgrounds_url: https://www.newgrounds.com/art/view/redstrate/costa-del-sol
|
||||
|
|
|
@ -64,7 +64,7 @@ tags:
|
|||
- name: 3d
|
||||
num: 19
|
||||
- name: fan art
|
||||
num: 50
|
||||
num: 51
|
||||
- name: sketch
|
||||
num: 109
|
||||
---
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#nav-menu > summary {
|
||||
visibility: hidden;
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.gutter-sizer {
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
if (window.matchMedia('(max-device-width: 768px)').matches) {
|
||||
document.getElementById("nav-menu").open = false;
|
||||
function checkWidth() {
|
||||
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();
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue