MediaWiki:Tables.css: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) No edit summary |
Moved Vector-2022 specific styling to MediaWiki:Vector-2022.css |
||
| Line 1: | Line 1: | ||
.article-table | /* See also: [[MediaWiki:Vector-2022.css]] for table overflow fix specific to | ||
the Vector (2022) skin */ | |||
body:not(.ns-special) .wikitable, .article-table { | |||
th { | th { | ||
border: none !important; | |||
background-color: var(--background-color-4) !important; | |||
text-align: left; | |||
} | } | ||
td { | td { | ||
border: none !important; | |||
background-color: var(--background-color-1); | |||
} | } | ||
tr:nth-child(odd) td { | tr:nth-child(odd) td { | ||
background-color: var(--background-color-2); | |||
} | } | ||
} | } | ||
.article-table th, | |||
. | .article-table td { | ||
padding: 0.25em 0.75em !important; | |||
} | } | ||