Skip to content

Commit bdf7bda

Browse files
authored
fix(wikipedia): broken background on some external links (catppuccin#978)
Update catppuccin.user.css
1 parent 4cec0dd commit bdf7bda

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

styles/wikipedia/catppuccin.user.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,12 +1308,16 @@
13081308
background-image: url("data:image/svg+xml,@{svg}") !important;
13091309
}
13101310

1311-
.mw-parser-output a.external[class="external text"][rel="nofollow"] {
1311+
.mw-parser-output a.external {
13121312
@svg: escape(
13131313
'<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>'
13141314
);
13151315
background-image: url("data:image/svg+xml,@{svg}") !important;
13161316
}
1317+
1318+
.plainlinks a.external {
1319+
background: none !important;
1320+
}
13171321

13181322
#mw-indicator-mw-helplink a {
13191323
@svg: escape(

0 commit comments

Comments
 (0)