aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-14 21:48:27 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-14 21:48:27 +0100
commitdf597306b629170c76323c1b35b0462a4a8dbb35 (patch)
tree37f583380b7428a8505e6e0532912b89aed05342 /communities/red-right-hand/174bg.net
parentfc14ea74d5e199c41e52377f714eb2b1c229af57 (diff)
downloadunnamed-group-df597306b629170c76323c1b35b0462a4a8dbb35.tar
unnamed-group-df597306b629170c76323c1b35b0462a4a8dbb35.tar.gz
unnamed-group-df597306b629170c76323c1b35b0462a4a8dbb35.tar.bz2
unnamed-group-df597306b629170c76323c1b35b0462a4a8dbb35.tar.xz
unnamed-group-df597306b629170c76323c1b35b0462a4a8dbb35.zip
remove dark mode functionality and associated styles from handbook
Diffstat (limited to 'communities/red-right-hand/174bg.net')
-rw-r--r--communities/red-right-hand/174bg.net/public/handbook/index.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/communities/red-right-hand/174bg.net/public/handbook/index.html b/communities/red-right-hand/174bg.net/public/handbook/index.html
index 733b94e..41d3e09 100644
--- a/communities/red-right-hand/174bg.net/public/handbook/index.html
+++ b/communities/red-right-hand/174bg.net/public/handbook/index.html
@@ -13,12 +13,6 @@
font-family: "Inter";
}
- /* dark mode styles */
- body.dark-mode {
- background-color: #121212;
- color: #ffffff;
- }
-
/* text should be justified by default */
body {
text-align: justify;
@@ -85,8 +79,6 @@
console.log("DOMContentLoaded");
generateTableOfContents();
-
- addDarkModeToggleButton();
});
function generateTableOfContents() {
@@ -107,30 +99,5 @@
toc.appendChild(tocList);
document.body.insertBefore(toc, document.body.firstChild);
}
-
- function addDarkModeToggleButton() {
- if (localStorage.getItem("darkMode") === "enabled") {
- document.body.classList.add("dark-mode");
- }
-
- const toggleButton = document.createElement("button");
- toggleButton.textContent = "Toggle Dark Mode";
- toggleButton.style.position = "fixed";
- toggleButton.style.bottom = "10px";
- toggleButton.style.right = "10px";
- toggleButton.style.padding = "10px";
- toggleButton.style.zIndex = "1000";
-
- toggleButton.addEventListener("click", () => {
- document.body.classList.toggle("dark-mode");
- if (document.body.classList.contains("dark-mode")) {
- localStorage.setItem("darkMode", "enabled");
- } else {
- localStorage.removeItem("darkMode");
- }
- });
-
- document.body.appendChild(toggleButton);
- }
</script>
</html>