MediaWiki:Tables.css: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) No edit summary |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| 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 { | |||
padding: 0.5em 0.75em !important; | |||
} | |||
. | .article-table td { | ||
padding: 0.25em 0.75em !important; | |||
} | } | ||