From 4e535f4f7614ccc0c0dd1cca7278bbed8ad523d0 Mon Sep 17 00:00:00 2001 From: FrostyBiscuit Date: Wed, 19 Feb 2025 19:28:29 +0100 Subject: Included leetcode.com and programiz.com --- README.md | 6 ++++-- manifest.json | 10 ++++++++++ styles/websites/leetcode.css | 20 ++++++++++---------- styles/websites/programiz.css | 16 +++++++++++----- 4 files changed, 35 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 85a6d3f..418c0e7 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,11 @@ The following websites are currently supported by Transparent Zen: - 🟢 copilot.microsoft.com - 🟢 chess.com - 🟢 github.com +- 🟢 bing.com +- 🟢 kryptex.com +- 🟢 leetcode.com +- 🟢 programiz.com (only for their dark theme) - 🟠 amazon.de -- 🟠 bing.com -- 🟠 kryptex.com - 🟠 lieferando.at - 🟠 nexusmods.com - 🔴 epicgames.com diff --git a/manifest.json b/manifest.json index b76d117..cd83ca7 100644 --- a/manifest.json +++ b/manifest.json @@ -127,6 +127,16 @@ "matches": ["*://*.chess.com/*"], "css": ["./styles/websites/chess.css"], "run_at": "document_start" + }, + { + "matches": ["*://*.leetcode.com/*"], + "css": ["./styles/websites/leetcode.css"], + "run_at": "document_start" + }, + { + "matches": ["*://*.programiz.com/*"], + "css": ["./styles/websites/programiz.css"], + "run_at": "document_start" } ] } \ No newline at end of file diff --git a/styles/websites/leetcode.css b/styles/websites/leetcode.css index e5e4d20..6be2497 100644 --- a/styles/websites/leetcode.css +++ b/styles/websites/leetcode.css @@ -1,11 +1,11 @@ -@-moz-document domain("leetcode.com") { - /* Insert code here... */ - :is(.dark .dark\:bg-dark-layer-bg), body, #explore-app .background-rvs, :is(.dark .dark\:bg-layer-bg-gray){ - background: none !important; - color: white - } - .flexlayout__tabset, :is(.dark .dark\:bg-layer-01) { - background: rgba(0,0,0,0.2); - } - +:is(.dark .dark\:bg-dark-layer-bg), +body, +#explore-app .background-rvs, +:is(.dark .dark\:bg-layer-bg-gray) { + background: none !important; + color: white; +} +.flexlayout__tabset, +:is(.dark .dark\:bg-layer-01) { + background: rgba(0, 0, 0, 0.2); } diff --git a/styles/websites/programiz.css b/styles/websites/programiz.css index cdd1e12..b38de04 100644 --- a/styles/websites/programiz.css +++ b/styles/websites/programiz.css @@ -1,6 +1,12 @@ -@-moz-document domain("programiz.com") { - /* Insert code here... */ - .dark-mode, .dark-mode .header, .dark-mode .wrapper, .dark-mode .editor-wrapper, .dark-mode .ace_editor, .dark-mode .ace_gutter, .dark-mode .ace_scroller, .dark-mode .ace_gutter-active-line, .dark-mode .ace_gutter-cell, .dark-mode .terminal-wrapper{ - background: none !important; - } +.dark-mode, +.dark-mode .header, +.dark-mode .wrapper, +.dark-mode .editor-wrapper, +.dark-mode .ace_editor, +.dark-mode .ace_gutter, +.dark-mode .ace_scroller, +.dark-mode .ace_gutter-active-line, +.dark-mode .ace_gutter-cell, +.dark-mode .terminal-wrapper { + background: none !important; } -- cgit v1.2.3