fix(wikipedia): misc (#1687)
This commit is contained in:
1 parent
72a9d8fef7
commit
fbb8434713
1 file changed
+53
-4
@@ -42,6 +42,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
html.skin-theme-clientpref-night, html.skin-theme-clientpref-os {
|
html.skin-theme-clientpref-night, html.skin-theme-clientpref-os {
|
||||||
|
/* Logo */
|
||||||
.skin-invert-image img,
|
.skin-invert-image img,
|
||||||
.skin-invert,
|
.skin-invert,
|
||||||
.oo-ui-iconElement-icon:not(
|
.oo-ui-iconElement-icon:not(
|
||||||
@@ -56,6 +57,50 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* MediaWiki only applies the following overrides on dark and automatic appearance settings, leaving broken elements with the light appearance. */
|
||||||
|
|
||||||
|
.hatnote:not(.notheme),
|
||||||
|
.dablink:not(.notheme),
|
||||||
|
.rellink:not(.notheme),
|
||||||
|
.infobox:not(.notheme) {
|
||||||
|
color: var(--color-base) !important;
|
||||||
|
background-color: var(--background-color-interactive-subtle) !important;
|
||||||
|
}
|
||||||
|
.infobox td:not(.notheme),
|
||||||
|
.infobox th:not(.notheme),
|
||||||
|
.infobox-above:not(.notheme),
|
||||||
|
.infobox p:not(.notheme),
|
||||||
|
.infobox > div:not(.notheme),
|
||||||
|
.infobox caption:not(.notheme),
|
||||||
|
.infobox--frwiki td:not(.notheme),
|
||||||
|
.infobox--frwiki th:not(.notheme),
|
||||||
|
.infobox--frwiki p:not(.notheme),
|
||||||
|
.infobox--frwiki > div:not(.notheme),
|
||||||
|
.infobox--frwiki caption:not(.notheme),
|
||||||
|
.sinottico th:not(.notheme),
|
||||||
|
.infobox-header:not(.notheme),
|
||||||
|
.skin-nightmode-reset-color:not(.notheme),
|
||||||
|
.navigation-box:not(.notheme),
|
||||||
|
.metadata:not(.notheme),
|
||||||
|
.quotebox:not(.notheme),
|
||||||
|
.side-box:not(.notheme),
|
||||||
|
.side-box div:not(.notheme),
|
||||||
|
.navbox:not(.notheme),
|
||||||
|
.navbox-subgroup:not(.notheme),
|
||||||
|
.navbox-group:not(.notheme),
|
||||||
|
.navbox-even:not(.notheme),
|
||||||
|
.navbox-abovebelow:not(.notheme),
|
||||||
|
.navbox-title:not(.notheme) {
|
||||||
|
background: inherit !important;
|
||||||
|
color: inherit !important;
|
||||||
|
border-color: var(--border-color-subtle) !important;
|
||||||
|
}
|
||||||
|
.ns-100 .mw-parser-output :not(.notheme, a) {
|
||||||
|
background: inherit !important;
|
||||||
|
color: inherit !important;
|
||||||
|
border-color: var(--border-color-subtle) !important;
|
||||||
|
}
|
||||||
|
|
||||||
#catppuccin(@flavor) {
|
#catppuccin(@flavor) {
|
||||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||||
@@ -196,7 +241,7 @@
|
|||||||
--border-color-interactive--hover: @overlay0;
|
--border-color-interactive--hover: @overlay0;
|
||||||
--border-color-disabled: #54595d;
|
--border-color-disabled: #54595d;
|
||||||
--border-color-subtle: @surface1;
|
--border-color-subtle: @surface1;
|
||||||
--border-color-muted: #404244;
|
--border-color-muted: @surface0;
|
||||||
--border-color-inverted: #101418;
|
--border-color-inverted: #101418;
|
||||||
--border-color-error: @red;
|
--border-color-error: @red;
|
||||||
--border-color-error--hover: @maroon;
|
--border-color-error--hover: @maroon;
|
||||||
@@ -279,9 +324,13 @@
|
|||||||
border-color: fade(@lavender, 40%);
|
border-color: fade(@lavender, 40%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#mp-bottom .mp-h2 {
|
#mp-bottom {
|
||||||
background-color: fade(@accent, 40%);
|
border-color: @overlay0;
|
||||||
border-color: fade(@accent, 40%);
|
|
||||||
|
.mp-h2 {
|
||||||
|
background-color: fade(@accent, 40%);
|
||||||
|
border-color: fade(@accent, 40%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.wikipedia-languages-prettybars {
|
.wikipedia-languages-prettybars {
|
||||||
background-color: @surface2;
|
background-color: @surface2;
|
||||||
|
|||||||
Reference in new issue
Block a user