MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 93: | Line 93: | ||
padding-left: 14px !important; | padding-left: 14px !important; | ||
padding-right: 14px !important; | padding-right: 14px !important; | ||
} | |||
} | |||
/* ========================= | |||
MOBILE TEXT + IMAGE BALANCE FIX | |||
========================= */ | |||
@media screen and (max-width: 768px) { | |||
/* Slightly reduce paragraph text */ | |||
.mw-parser-output p, | |||
.mw-parser-output li, | |||
.mw-parser-output dd { | |||
font-size: 17px !important; /* was 19–20px */ | |||
line-height: 1.65 !important; | |||
} | |||
/* Lead intro paragraph */ | |||
.mw-parser-output > p { | |||
font-size: 18px !important; /* was 20px */ | |||
line-height: 1.7 !important; | |||
} | |||
/* Reduce infobox / image size */ | |||
.infobox img, | |||
.infobox_v2 img, | |||
.thumbinner img, | |||
.mw-parser-output img { | |||
max-width: 90% !important; | |||
height: auto !important; | |||
} | |||
/* Center image nicely */ | |||
.thumbinner, | |||
.infobox, | |||
.infobox_v2 { | |||
margin: 0 auto 12px auto !important; | |||
} | } | ||
} | } | ||