refactor(tree-wide): misc improvements (#1547)
This commit is contained in:
1 parent
3e6ecfbf86
commit
6121f23d7c
126 files changed
+8047
-8021
No files matched your search
@@ -16,50 +16,48 @@
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("wiki.archlinux.org") {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
:root {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
color-scheme: if(@flavor = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
background-color: fade(@accent, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -192,25 +190,25 @@
|
||||
}
|
||||
|
||||
.archwiki-template-box-tip {
|
||||
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
|
||||
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
|
||||
background-color: hsla(90, 90%, 65%, 0.2) !important;
|
||||
border-color: hsla(90, 90%, 75%, 0.2);
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note {
|
||||
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
|
||||
background-color: hsla(208, 100%, 61%, 0.25) !important;
|
||||
border-color: hsla(208, 100%, 81%, 0.25) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-warning {
|
||||
background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important;
|
||||
background-color: hsla(7, 99%, 60%, 0.25) !important;
|
||||
border-color: hsla(7, 99%, 80%, 0.25) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.firstHeading {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
#content {
|
||||
@@ -236,7 +234,7 @@
|
||||
.vector-pinnable-header-toggle-button,
|
||||
.vector-pinnable-header-unpin-button {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
@@ -336,7 +334,7 @@
|
||||
}
|
||||
|
||||
#archnavbar ul li.anb-selected a {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
.archwiki-template-message {
|
||||
@@ -461,7 +459,7 @@
|
||||
.cdx-button:enabled,
|
||||
.cdx-button.cdxbutton--fake-button--enabled {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
@@ -482,7 +480,7 @@
|
||||
}
|
||||
|
||||
.mw-headline::before {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
.cdx-button {
|
||||
|
||||
Reference in new issue
Block a user