From 926324fb691fe1b04b9f9a261023d4877133cfb1 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Fri, 27 Dec 2024 20:19:23 -0500 Subject: [PATCH] feat(stack-overflow): support crypto.stackexchange.com (#1532) --- styles/stack-overflow/catppuccin.user.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/styles/stack-overflow/catppuccin.user.css b/styles/stack-overflow/catppuccin.user.css index dcc923a6..513c6c49 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.2.1 +@version 0.3.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 @@ -481,6 +481,22 @@ domain('superuser.com'), domain('mathoverflow.net'), domain('askubuntu.com'), do ); background-image: url("data:image/svg+xml,@{svg}"); } + [alt="Cryptography"] { + @svg: escape( + '' + ); + content: url("data:image/svg+xml,@{svg}"); + } + &:has([alt="Cryptography"]) { + @svg: escape( + '' + ); + background-image: url("data:image/svg+xml,@{svg}"); + + .site-header { + background-image: none; + } + } } }