From 7cf8bb1a43102fa8498b155e3d79a83b75dfdcd8 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sun, 15 Sep 2024 09:28:46 -0400 Subject: [PATCH] fix(stack-overflow): unix stackexchange (#1312) --- styles/stack-overflow/catppuccin.user.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/styles/stack-overflow/catppuccin.user.css b/styles/stack-overflow/catppuccin.user.css index e9fc7e48..e10369cc 100644 --- a/styles/stack-overflow/catppuccin.user.css +++ b/styles/stack-overflow/catppuccin.user.css @@ -2,7 +2,7 @@ @name Stack Overflow Catppuccin @namespace github.com/catppuccin/userstyles/styles/stack-overflow @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stack-overflow -@version 0.1.3 +@version 0.2.0 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stack-overflow/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astack-overflow @description Soothing pastel theme for Stack Overflow @@ -137,7 +137,7 @@ domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), do --theme-footer-link-color: @subtext0; --theme-footer-link-color-hover: @subtext1; --theme-footer-background-color: @mantle; - --theme-header-background-color: @mantle; + --theme-header-background-color: transparent; --theme-tag-background-color: @accent-color; --theme-tag-border-color: @accent-color; --theme-tag-color: @mantle; @@ -469,6 +469,18 @@ domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), do ); content: url("data:image/svg+xml,@{svg}"); } + [alt="Unix & Linux"] { + @svg: escape( + '' + ); + content: url("data:image/svg+xml,@{svg}"); + } + &:has([alt="Unix & Linux"]) { + @svg: escape( + '' + ); + background-image: url("data:image/svg+xml,@{svg}"); + } } }