MediaWiki:Common.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
(25 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 301: | Line 279: | ||
color: #202122; /* Text color for contrast */ | color: #202122; /* Text color for contrast */ | ||
line-height: 1.5; | line-height: 1.5; | ||
} | |||
/* Hide the entire tags section in Recent Changes */ | |||
.mw-tag-markers { | |||
display: none !important; | |||
} | |||
/*body.page-Main_Page #firstHeading { | |||
display: none !important; | |||
}*/ | |||
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 */ | |||
@media (max-width: 1120px) { /* Adjust the breakpoint as needed */ | |||
body.page-Main_Page .pre-content.heading-holder { | |||
display: none !important; | |||
} | |||
} | |||
/* Hide ShortDescription on desktop */ | |||
body.skin-vector #siteSub { | |||
display: none; | |||
} | |||
/* Show ShortDescription on mobile */ | |||
@media (max-width: 768px) { | |||
body.skin-vector #siteSub { | |||
display: block; | |||
} | |||
} | } |