MediaWiki:Minerva.css: Difference between revisions
Import from wiki-src |
Import from wiki-src |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
/* Main Page: no title, no tagline */ | /* Main Page: no title, no tagline */ | ||
body.page-Main_Page.action-view .mw-first-heading, | body.page-Main_Page.action-view .mw-first-heading, | ||
body.page-Main_Page.action-view #siteSub { display: none; } | body.page-Main_Page.action-view #siteSub, | ||
body.page-మొదటి_పేజీ.action-view .mw-first-heading, | |||
body.page-మొదటి_పేజీ.action-view #siteSub { display: none; } | |||
/* Dark mode for the wordmark and tagline needs no rule here: Vector puts | /* Dark mode for the wordmark and tagline needs no rule here: Vector puts | ||
| Line 186: | Line 188: | ||
/* ------------------------------------------------------------- Phones */ | /* ------------------------------------------------------------- Phones */ | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.infobox { float: none; width: 100%; margin: 0 0 1em; } | .infobox { float: none; width: auto; max-width: 100%; margin: 0 0 1em; box-sizing: border-box; } | ||
.navbox-group { white-space: normal; } | .navbox-group { white-space: normal; } | ||
} | } | ||
/* Minerva only: | /* Minerva only: let the infobox fill the screen width without overflowing it */ | ||
.infobox { float: none !important; width: 100% !important; margin: 0 0 1em !important; } | .infobox { float: none !important; width: auto !important; max-width: 100% !important; margin: 0 0 1em !important; box-sizing: border-box; } | ||
.infobox img { max-width: 100%; height: auto; } | |||
#mp-left, #mp-right { float: none; width: auto; } | #mp-left, #mp-right { float: none; width: auto; } | ||