MediaWiki:Common.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
EnWikiAdmin (talk | contribs) No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
} | } | ||
/* Custom styling for each type of reference */ | /* Custom styling for each type of reference */ | ||
Line 139: | Line 115: | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox-label, | .infobox-label, | ||
Line 209: | Line 187: | ||
.mw-reflist li::before { | .mw-reflist li::before { | ||
counter-increment: footnote-counter !important; | counter-increment: footnote-counter !important; | ||
content: "[" counter(footnote-counter, lower-alpha) "] " !important; | |||
} | } | ||
Line 312: | Line 290: | ||
body.page-Test_page .mw-body { | |||
grid-template-columns: minmax(0, 1fr) min-content; | |||
} | |||
body.page-Test_page #firstHeading { | |||
display: none !important; | |||
} | |||
body.page-Main_Page .mw-body { | |||
grid-template-columns: minmax(0, 1fr) min-content; | |||
} | |||
body.page-Main_Page #firstHeading { | |||
display: none !important; | |||
} | |||
body.page-Main_Page .mw-body { | |||
grid-template-columns: minmax(0, 1fr) min-content; | |||
} | |||
/* Hide the pre-content heading holder on Main_Page in mobile view */ | /* Hide the pre-content heading holder on Main_Page in mobile view */ | ||
Line 321: | Line 320: | ||
} | } | ||
body.skin-vector | |||
display: none | /* Hide ShortDescription on desktop */ | ||
body.skin-vector #siteSub { | |||
display: none; | |||
} | |||
/* Show ShortDescription on mobile */ | |||
@media (max-width: 768px) { | |||
body.skin-vector #siteSub { | |||
display: block; | |||
} | |||
} | } |