MediaWiki:Mobile.css: Difference between revisions
Created page with " .mw-logo-wordmark { display: none !important; } .mw-anon-user #vector-page-tools-dropdown, .mw-anon-user #p-tb, .mw-anon-user .vector-column-end { display: none !important; } .mw-page-container, .mw-content-container, .vector-sticky-header { max-width: none !important; } .mw-logo-icon { width: 160px !important; height: 160px !important; } →Full-width banner at the absolute top, behind everything: body { background-image: url('https://w..." |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
. | .portable-infobox { | ||
display: | float: none !important; | ||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 1em 0 !important; | |||
box-sizing: border-box !important; | |||
display: block !important; | |||
} | } | ||
.portable-infobox .wds-tabs__wrapper { | |||
. | overflow-x: auto !important; | ||
white-space: nowrap !important; | |||
width: 100% !important; | |||
. | |||
width: | |||
} | } | ||
.portable-infobox .pi-image img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
width: auto !important; | |||
} | } | ||
@media screen and (max-width: 450px) { | |||
.portable-infobox .pi-data { | |||
display: block !important; | |||
} | |||
.portable-infobox .pi-data-label { | |||
width: 100% !important; | |||
text-align: left !important; | |||
padding-bottom: 2px; | |||
} | |||
.portable-infobox .pi-data-value { | |||
width: 100% !important; | |||
text-align: left !important; | |||
padding-left: 10px; | |||
} | |||
} | } | ||