MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 130: | Line 130: | ||
.infobox_v2 { | .infobox_v2 { | ||
margin: 0 auto 12px auto !important; | margin: 0 auto 12px auto !important; | ||
} | |||
} | |||
/* ========================= | |||
MOBILE FULL-WIDTH CONTENT FIX | |||
========================= */ | |||
@media screen and (max-width: 768px) { | |||
/* Remove outer page padding */ | |||
body, | |||
.mw-body, | |||
.mw-body-content, | |||
.content, | |||
#content { | |||
padding-left: 0 !important; | |||
padding-right: 0 !important; | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | |||
/* Remove inner article padding */ | |||
.mw-parser-output, | |||
#mw-content-text, | |||
.content__inner { | |||
padding-left: 10px !important; /* small safe gutter */ | |||
padding-right: 10px !important; | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
} | |||
/* Make images align with text width */ | |||
.thumbinner, | |||
.infobox, | |||
.infobox_v2 { | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | } | ||
} | } | ||