MediaWiki talk:H3CSS.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "==Minify== [https://www.toptal.com/developers/cssminifier toptal.com/developers/cssminifier]" |
No edit summary |
||
| Line 1: | Line 1: | ||
== setting table color to white == | |||
I just noticed this was already set but wasn't working for all the TH in the table: | |||
<syntaxhighlight lang=css> | |||
.wikitable { | |||
color: #ffffff !important; | |||
} | |||
</syntaxhighlight> | |||
Targeting specifically the TH actually worked because a more specific selector takes precedence over a less specific one. | |||
<syntaxhighlight lang=css> | |||
.wikitable th { | |||
color: #fff!important | |||
} | |||
</syntaxhighlight> | |||
==Minify== | ==Minify== | ||
[https://www.toptal.com/developers/cssminifier toptal.com/developers/cssminifier] | [https://www.toptal.com/developers/cssminifier toptal.com/developers/cssminifier] | ||
Revision as of 21:39, 31 March 2025
setting table color to white
I just noticed this was already set but wasn't working for all the TH in the table:
.wikitable {
color: #ffffff !important;
}
Targeting specifically the TH actually worked because a more specific selector takes precedence over a less specific one.
.wikitable th {
color: #fff!important
}