From aebf2716157141cf7e77d939da36af8289e6f9ae Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Thu, 8 Feb 2024 22:14:28 -0500 Subject: [PATCH] Remove obs dark mode (closes #6) --- build.opensuse.org/index.js | 22 ---------------------- index.js | 1 - 2 files changed, 23 deletions(-) delete mode 100644 build.opensuse.org/index.js diff --git a/build.opensuse.org/index.js b/build.opensuse.org/index.js deleted file mode 100644 index 309c612..0000000 --- a/build.opensuse.org/index.js +++ /dev/null @@ -1,22 +0,0 @@ -const styles = ` - #content-area { - background-color: rgb(95, 103, 111); - } - #breadcrumbs nav { - background-color: #bbdcff; - border-radius: 3px; - } - #footer strong, #footer a { - color: white; - } - #sponsors, #footer-legal { - display: none; - } - .card-body { - background-color: #e6e6e6; - } -`; -const sheet = document.createElement("style"); -sheet.type = "text/css"; -sheet.innerText = styles; -document.head.appendChild(sheet); diff --git a/index.js b/index.js index ed9799b..769eaa7 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,6 @@ switch (location.host) { case "guidestar.org": case "npmjs.com": case "reddit.com": - case "build.opensuse.org": case "youtube.com": target = domain; default: {