summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--manifest.json10
-rw-r--r--styles/websites/leetcode.css20
-rw-r--r--styles/websites/programiz.css16
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;
}