fix(wikipedia): equations and tables styling fixes (#875)

This commit is contained in:
k1rowashere authored and GitHub committed 2024-05-08 00:48:12 +01:00
1 parent 0539f287b5
commit 1cf301ef1c
1 file changed
+18 -19
+18 -19
View File
@@ -2,7 +2,7 @@
@name Wikipedia Catppuccin
@namespace github.com/catppuccin/userstyles/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
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Awikipedia
@description Soothing pastel theme for Wikipedia
@@ -181,6 +181,10 @@
}
/* maths */
.equation-box,
.equation-box * {
background: none !important;
}
img.mwe-math-fallback-image-display,
img.mwe-math-fallback-image-inline {
& when (@lookup = latte) {
@@ -256,12 +260,6 @@
border-bottom-color: @surface2;
}
.wikitable {
background-color: @surface0;
color: @text;
border-color: @surface2 !important;
}
.oo-ui-textInputWidget,
.oo-ui-inputWidget-input {
color: @text !important;
@@ -451,8 +449,20 @@
background-color: @blue !important;
}
.wikitable {
background-color: @surface0 !important;
color: @text !important;
border-color: @surface2 !important;
}
.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;
}
@@ -464,10 +474,6 @@
color: @subtext0;
}
.wikitable > * > tr > td {
border-color: @surface2;
}
.navbox-abovebelow {
background-color: @overlay2 !important;
border-color: @overlay2 !important;
@@ -685,13 +691,6 @@
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"] * {
color: @crust !important;