MediaWiki:Mobile.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
.mwImageSizeContainer img { | |||
width: 100% !important; | |||
height: auto !important; | |||
} | |||
/* Imported from wikipedia */ | /* Imported from wikipedia */ | ||
| Line 129: | Line 136: | ||
Main page boxes | Main page boxes | ||
*/ | */ | ||
. | .mwBoxRow { | ||
display: flex; | display: flex; | ||
flex-direction: column; /* Mobile exclusive */ | |||
} | } | ||
. | .mwBoxPanel { | ||
border-spacing: 8px; | border-spacing: 8px; | ||
border: 1px solid; | border: 1px solid; | ||
| Line 141: | Line 148: | ||
margin: 5px; | margin: 5px; | ||
padding: 8px; | padding: 8px; | ||
width: auto !important; /* Mobile exclusive */ | |||
} | } | ||
.mwBoxHeader { | .mwBoxHeader { | ||
| Line 152: | Line 160: | ||
color: #000000; | color: #000000; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
} | } | ||