Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

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 {
     text-align: center;
     table-layout: fixed;
}
     width: 100%;
 
.mix-table th {
    text-align: center;
}
 
.mix-table td {
     text-align: center;
}
}


/* header */
/* header */
.wikitable.mix-table tr:first-child th {
.wikitable.mix-table tr:first-child th {
     background:#1B2826 !important;
     background:#1B2826;
     color:#ffffff !important;
     color:#ffffff;
     text-align:center;
     text-align:center;
     font-weight:600;
     font-weight:600;
}
}


/* largura fixa */
/* larguras das colunas */
.wikitable.mix-table {
    table-layout: fixed;
    width: 100%;
}
 
.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 th:first-child,
.wikitable.mix-table td:first-child {
.wikitable.mix-table td:first-child {
     text-align:left !important;
     text-align:left;
}
 
/* restantes colunas centradas */
.wikitable.mix-table td:not(:first-child),
.wikitable.mix-table th:not(:first-child) {
    text-align:center;
}
}