fix(wikipedia): broken background on some external links (#978)

Update catppuccin.user.css
This commit is contained in:
hf02 authored and GitHub committed 2024-06-17 04:39:49 +03:00
1 parent 4cec0dd173
commit bdf7bda2b2
1 file changed
+5 -1
+5 -1
View File
@@ -1308,12 +1308,16 @@
background-image: url("data:image/svg+xml,@{svg}") !important;
}
.mw-parser-output a.external[class="external text"][rel="nofollow"] {
.mw-parser-output a.external {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="@{accent-color}" d="M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16zM2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
.plainlinks a.external {
background: none !important;
}
#mw-indicator-mw-helplink a {
@svg: escape(