MediaWiki:Common.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
EnWikiAdmin (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 214: | Line 214: | ||
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; | background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; | ||
} | } | ||
@media screen { | |||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||
background-image: none; | background-image: none; | ||
} | |||
@media (max-width: 640px) { | |||
.flagicon a > img, | |||
.flagicon noscript > img { | |||
max-width: none !important; | |||
} | } | ||
} | } | ||
Line 227: | Line 234: | ||
/* Warning Boxes */ | /* Warning Boxes */ | ||
.mw-warning-with-logexcerpt, | .mw-warning-with-logexcerpt, | ||
div.mw-lag-warn-high, | div.mw-lag-warn-high, | ||
div.mw-cascadeprotectedwarning, | div.mw-cascadeprotectedwarning, | ||
Line 290: | Line 297: | ||
body.page-Test_page #firstHeading { | body.page-Test_page #firstHeading { | ||
display: none !important; | display: none !important; | ||
} | |||
body.page-Main_Page .mw-body { | |||
grid-template-columns: minmax(0, 1fr) min-content; | |||
} | } | ||
Line 304: | Line 316: | ||
body.page-Main_Page .pre-content.heading-holder { | body.page-Main_Page .pre-content.heading-holder { | ||
display: none !important; | 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; | |||
} | } | ||
} | } |