MediaWiki:Tables.css: Difference between revisions
Appearance
Moved Vector-2022 specific styling to MediaWiki:Vector-2022.css |
No edit summary |
||
| Line 18: | Line 18: | ||
} | } | ||
.article-table th | .article-table th { | ||
padding: 0.5em 0.75em !important; | |||
} | |||
.article-table td { | .article-table td { | ||
padding: 0.25em 0.75em !important; | padding: 0.25em 0.75em !important; | ||
} | } | ||
Latest revision as of 19:11, 18 November 2025
/* See also: [[MediaWiki:Vector-2022.css]] for table overflow fix specific to
the Vector (2022) skin */
body:not(.ns-special) .wikitable, .article-table {
th {
border: none !important;
background-color: var(--background-color-4) !important;
text-align: left;
}
td {
border: none !important;
background-color: var(--background-color-1);
}
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;
}