diff --git a/public/css/style-night.css b/public/css/style-night.css index ec5f2263..d763c252 100644 --- a/public/css/style-night.css +++ b/public/css/style-night.css @@ -2,7 +2,7 @@ .nightswitch { position: fixed; top: 12px; - right: 48px; + right: 12px; } .nightswitch > a > img { width: 24px; @@ -43,7 +43,7 @@ } #container.cont-view { background: #29363d url(/img/megumin.png) no-repeat; - background-size: 75px, 100px; + background-size: 75px; } body { @@ -178,6 +178,7 @@ div.container div.blockBody:nth-of-type(2) table tr:first-of-type th:last-of-typ max-height: 80vh; } +/* the curved edges triggered my autism */ .navbar { border-radius: 0px; -} \ No newline at end of file +} diff --git a/public/css/style.css b/public/css/style.css index 7877c119..05876b95 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -2,7 +2,7 @@ .nightswitch { position: fixed; top: 12px; - right: 48px; + right: 12px; } .nightswitch > a > img { width: 24px; @@ -43,7 +43,7 @@ } #container.cont-view { background: white url(/img/renchon.png) no-repeat; - background-size: 75px, 100px; + background-size: 61px; } body { diff --git a/public/js/main.js b/public/js/main.js index 657a4909..4d5b47d7 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -1,10 +1,4 @@ // Night mode -var night = localStorage.getItem("night"); -if (night == "true") { - $("#style")[0].href = "/css/style-night.css"; - $("#nighticon")[0].src = "/img/sun.png"; -} - function toggleNightMode() { var night = localStorage.getItem("night"); if(night == "true") { diff --git a/templates/index.html b/templates/index.html index 112d8143..eef8f1d1 100755 --- a/templates/index.html +++ b/templates/index.html @@ -27,6 +27,15 @@ +