diff --git a/home-modules/firefox.nix b/home-modules/firefox.nix index 8895660..7524dd9 100644 --- a/home-modules/firefox.nix +++ b/home-modules/firefox.nix @@ -122,18 +122,6 @@ } } - @-moz-document domain(youtube.com) { - #background, #chips-wrapper, ytd-mini-guide-entry-renderer { - background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}) !important; - backdrop-filter: blur(${blur}px); - border: ${builtins.toString rice.border-width} solid ${border}; - } - body, html, ytd-app, ytd-mini-guide-renderer, div#content-container, #guide-content.ytd-app, #guide-wrapper, div#contentContainer { - background-color: transparent !important; - border: ${builtins.toString rice.border-width} solid ${border}; - } - } - @-moz-document domain(reddit.com) { header { background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}) !important; @@ -221,7 +209,7 @@ } } - @-moz-document domain(nx2.site) { + @-moz-document url-prefix("https://nx2.site/") { html { background: radial-gradient(rgba(255, 255, 255, 0.8) 5%, transparent 5%) !important; background-repeat: repeat !important; @@ -229,7 +217,13 @@ } } - @-moz-document domain(pw.nx2.site) { + @-moz-document url-prefix("pw.nx2.site") { + html { + background: black; + } + } + + @-moz-document url-prefix("pw.nx2.site") { html { background: radial-gradient(rgba(255, 255, 255, 0.8) 5%, transparent 5%) !important; background-repeat: repeat !important;