fix(wikipedia): equations and tables styling fixes (#875)
This commit is contained in:
1 parent
0539f287b5
commit
1cf301ef1c
1 file changed
+18
-19
@@ -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.16
|
@version 0.0.17
|
||||||
@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
|
||||||
@@ -181,6 +181,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* maths */
|
/* maths */
|
||||||
|
.equation-box,
|
||||||
|
.equation-box * {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
img.mwe-math-fallback-image-display,
|
img.mwe-math-fallback-image-display,
|
||||||
img.mwe-math-fallback-image-inline {
|
img.mwe-math-fallback-image-inline {
|
||||||
& when (@lookup = latte) {
|
& when (@lookup = latte) {
|
||||||
@@ -256,12 +260,6 @@
|
|||||||
border-bottom-color: @surface2;
|
border-bottom-color: @surface2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wikitable {
|
|
||||||
background-color: @surface0;
|
|
||||||
color: @text;
|
|
||||||
border-color: @surface2 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.oo-ui-textInputWidget,
|
.oo-ui-textInputWidget,
|
||||||
.oo-ui-inputWidget-input {
|
.oo-ui-inputWidget-input {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
@@ -451,8 +449,20 @@
|
|||||||
background-color: @blue !important;
|
background-color: @blue !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wikitable {
|
||||||
|
background-color: @surface0 !important;
|
||||||
|
color: @text !important;
|
||||||
|
border-color: @surface2 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.wikitable > * > tr > th {
|
.wikitable > * > tr > th {
|
||||||
background-color: @surface1;
|
background-color: @surface1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wikitable > * > tr > td,
|
||||||
|
.wikitable > * > tr > th {
|
||||||
|
background-color: @surface0 !important;
|
||||||
|
color: @text !important;
|
||||||
border-color: @surface2;
|
border-color: @surface2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -464,10 +474,6 @@
|
|||||||
color: @subtext0;
|
color: @subtext0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wikitable > * > tr > td {
|
|
||||||
border-color: @surface2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbox-abovebelow {
|
.navbox-abovebelow {
|
||||||
background-color: @overlay2 !important;
|
background-color: @overlay2 !important;
|
||||||
border-color: @overlay2 !important;
|
border-color: @overlay2 !important;
|
||||||
@@ -685,13 +691,6 @@
|
|||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wikitable > * > tr > td,
|
|
||||||
.wikitable > * > tr > th {
|
|
||||||
background-color: @surface0;
|
|
||||||
color: @text;
|
|
||||||
border-color: @surface2;
|
|
||||||
}
|
|
||||||
|
|
||||||
td[style*="background-color"],
|
td[style*="background-color"],
|
||||||
td[style*="background-color"] * {
|
td[style*="background-color"] * {
|
||||||
color: @crust !important;
|
color: @crust !important;
|
||||||
|
|||||||
Reference in new issue
Block a user