Difference between revisions of "MediaWiki:Common.css"
(div.mw-category-group h3.first-child {margin-top: 0;}) |
(oops: pseudo class!) |
||
Line 49: | Line 49: | ||
} | } | ||
− | div.mw-category-group h3 | + | div.mw-category-group h3:first-child { /* first group on category pages */ |
margin-top: 0; | margin-top: 0; | ||
} | } |
Revision as of 21:53, 15 May 2023
/* CSS placed here will be applied to all skins */ #mw-imagepage-content::after { content: "© All rights reserved." } /* for [[Special:Upload]] */ tr.mw-htmlform-field-Licenses, tr.mw-htmlform-field-Licenses td, p.mw-upload-editlicenses { visibility: hidden; display: none!important; /* no license required */ } 4 table#mw-htmlform-description td { vertical-align: top; } .wikitable, .wikitable table { border: 1px solid #aaa; border-collapse: collapse; font-size: 95%; margin: 1em 0; background-color: #f9f9f9; } .wikitable table { margin: 0; } .wikitable td, table.wikitable th { border: 1px solid #aaa; padding: 4px; } .wikitable th { background-color: #ddd; } table.vatop td { vertical-align: top; } input#searchInput { border: none; } div.mw-category-group { /* keep heading (A, B, etc.) and content on category pages together */ break-inside: avoid; } div.mw-category-group h3:first-child { /* first group on category pages */ margin-top: 0; }