From eaac7bdd7305ba335cd4abe9e0b0ae5c87e98aee Mon Sep 17 00:00:00 2001 From: eline Date: Sat, 6 May 2023 19:31:43 +0200 Subject: [PATCH] Prep for responsive version --- README.md | 3 +++ scripts/main.js | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 4af8c42..199c848 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ Redisign of dmz.rs . - create blogging system - create xmpp bot that connects to events section. - make responsive + - create menus for smaller screens + - adjust the mesh depending on the screen size + - tweak other random issues with layout - make webring system - make english version (localisation) diff --git a/scripts/main.js b/scripts/main.js index 6b01bc8..1323c5b 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -47,3 +47,7 @@ function changeToLightTheme() { imgs[i].src = imgs[i].src.replace("-dark", "-light"); } } + +// DEBUG +console.log(window.innerWidth); +console.log(window.innerHeight);