From c33be84caccb1d3937189263b5fd5605f4fc8785 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 24 Nov 2024 16:21:02 +0800 Subject: style: add specific website and more root vars --- dot-zen/default/chrome/userContent.css | 43 +++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/dot-zen/default/chrome/userContent.css b/dot-zen/default/chrome/userContent.css index dd591056..7c478c31 100644 --- a/dot-zen/default/chrome/userContent.css +++ b/dot-zen/default/chrome/userContent.css @@ -1,8 +1,45 @@ * { border-radius: 2px; - --bg-color: rgba(0,0,0,0.5) !important; - --background: rgba(0,0,0,0.5) !important; - --background-color: rgba(0,0,0,0.5) !important; + --bg: rgba(0,0,0,0.3) !important; + --bg-color: rgba(0,0,0,0.3) !important; + --background: rgba(0,0,0,0.3) !important; + --background-color: rgba(0,0,0,0.3) !important; + --primary-background: rgba(0,0,0,0.3) !important; + /* background-color: transparent !important; */ +} + +@-moz-document url-prefix("https://www.google.com") { + .sfbg { + background-color: transparent !important; + } + #appbar, .appbar { + background-color: transparent !important; + } + #search *, .dURPMd * { + background: transparent !important; + background-color: transparent !important; + } + .KcXNxb, .dG2XIf { + background-color: transparent !important; + } +} + +@-moz-document url-prefix("https://docs.google.com/forms") { + * { + --bg-color: rgba(0,0,0,0) !important; + } +} + +@-moz-document url-prefix("https://github.com") { + #partial-discussion-header { + background: transparent !important; + } + .comment { + background: transparent !important; + } + .color-bg-default, .color-fg-default, .bgColor-default, .color-bg-inset, .bgColor-inset, .discussion-timeline-actions { + background-color: transparent !important; + } } body, html { -- cgit v1.2.3