feat(wikipedia): add option for redirect highlight (#832)
This commit is contained in:
1 file changed
+3
-2
@@ -2,7 +2,7 @@
|
|||||||
@name Wikipedia Catppuccin
|
@name Wikipedia Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/wikipedia
|
@namespace github.com/catppuccin/userstyles/styles/wikipedia
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikipedia
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/wikipedia
|
||||||
@version 0.0.14
|
@version 0.0.15
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikipedia/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/wikipedia/catppuccin.user.css
|
||||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikipedia
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikipedia
|
||||||
@description Soothing pastel theme for Wikipedia
|
@description Soothing pastel theme for Wikipedia
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||||
|
@var checkbox highlight-redirect "Highlight redirect links" 0
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|
||||||
@-moz-document domain('wikipedia.org') {
|
@-moz-document domain('wikipedia.org') {
|
||||||
@@ -347,7 +348,7 @@
|
|||||||
box-shadow: inset 2.75em 0 0 @surface1;
|
box-shadow: inset 2.75em 0 0 @surface1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-redirect {
|
.mw-redirect when (@highlight-redirect = 1) {
|
||||||
color: @green !important;
|
color: @green !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user