MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 746: | Line 746: | ||
/* Mixed specification table */ | /* Mixed specification table */ | ||
.mix-table { | .wikitable.mix-table { | ||
table-layout: fixed; | |||
width: 100%; | |||
} | } | ||
/* header */ | /* header */ | ||
.wikitable.mix-table tr:first-child th { | .wikitable.mix-table tr:first-child th { | ||
background:#1B2826 | background:#1B2826; | ||
color:#ffffff | color:#ffffff; | ||
text-align:center; | text-align:center; | ||
font-weight:600; | font-weight:600; | ||
} | } | ||
/* | /* larguras das colunas */ | ||
.wikitable.mix-table th:nth-child(1), | .wikitable.mix-table th:nth-child(1), | ||
.wikitable.mix-table td:nth-child(1) { | .wikitable.mix-table td:nth-child(1) { | ||
width: 34%; | width:34%; | ||
} | } | ||
| Line 781: | Line 769: | ||
.wikitable.mix-table th:nth-child(3), | .wikitable.mix-table th:nth-child(3), | ||
.wikitable.mix-table td:nth-child(3) { | .wikitable.mix-table td:nth-child(3) { | ||
width: 33%; | width:33%; | ||
} | } | ||
/* primeira coluna alinhada à esquerda */ | /* primeira coluna alinhada à esquerda */ | ||
.wikitable.mix-table td:first-child { | .wikitable.mix-table td:first-child { | ||
text-align:left | text-align:left; | ||
} | |||
/* restantes colunas centradas */ | |||
.wikitable.mix-table td:not(:first-child), | |||
.wikitable.mix-table th:not(:first-child) { | |||
text-align:center; | |||
} | } | ||