fix(wikipedia): Legibility of text color in tracklist tables (#952)

Fixing wikipedia tracklisting (#792)

The <tbody> of the tracklisting table now inherits the parent text
color, and the last row (.tracklist-total-length) is in inverted colors.

+ Updated version 0.0.17 -> 0.0.18
This commit is contained in:
Liam Lawlor authored and GitHub committed 2024-06-06 15:14:27 +03:00
1 parent 51cf08fd02
commit 6793d45a90
1 file changed
+10 -1
+10 -1
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.17
@version 0.0.18
@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
@@ -989,6 +989,15 @@
background-color: @surface1 !important;
}
.mw-parser-output .tracklist > tbody {
color: inherit;
> .tracklist-total-length * {
background-color: @overlay1;
color: @base;
}
}
.mw-content-ltr
> table:nth-child(20)
> tbody:nth-child(1)