diff --git a/home-modules/firefox/userContent.nix b/home-modules/firefox/userContent.nix index b7c8d50..4fa10d9 100644 --- a/home-modules/firefox/userContent.nix +++ b/home-modules/firefox/userContent.nix @@ -33,12 +33,16 @@ in /* css */ '' @-moz-document domain(reddit.com) { header { - background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}) !important; + background-color: rgba(${f background},${builtins.toString rice.transparency}) !important; backdrop-filter: blur(${blur}px); } - body, html, .bg-neutral-background, .threadline, reddit-sidebar-nav, shreddit-post, aside, .reddit-search-bar, comment-body-header, shreddit-comment-tree{ + body, html, .bg-neutral-background, .threadline, reddit-sidebar-nav, shreddit-post, aside, .reddit-search-bar, comment-body-header, shreddit-comment-tree, #flex-left-nav-container { background-color: transparent !important; } + #main-content { + background-color: rgba(${f background},0.5)!important; + } + } @-moz-document domain(reddit.com) {