Jump to content

MediaWiki:Tables.css: Difference between revisions

From The Petit Planet Wiki
No edit summary
 
Line 1: Line 1:
/* See also: [[MediaWiki:Vector-2022.css]] for table overflow fix specific to
/* [[Category:Candidates for Deletion]]
  the Vector (2022) skin */
  No longer needed. Merged with [[MediaWiki:Common.css]] */
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;
}

Latest revision as of 15:59, 25 November 2025

/* [[Category:Candidates for Deletion]] 
   No longer needed. Merged with [[MediaWiki:Common.css]] */