MediaWiki:Common.css: Difference between revisions
From He is Coming Official Wiki
HolyMormor (talk | contribs) mNo edit summary |
HolyMormor (talk | contribs) mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@media screen and (max-width: | @media screen and (max-width: 767px) { | ||
.infobox-item { | .infobox-item { | ||
float: none !important; | float: none !important; | ||
| Line 6: | Line 6: | ||
margin: 0 auto 1em auto !important; | margin: 0 auto 1em auto !important; | ||
display: block; | display: block; | ||
width: 270px !important; | width: 90% !important; | ||
max-width: 270px !important; | |||
} | |||
.infobox-item td, | |||
.infobox-item th { | |||
font-size: 85% !important; | |||
padding: 2px !important; | |||
} | } | ||
| Line 12: | Line 19: | ||
width: 72px !important; | width: 72px !important; | ||
height: 72px !important; | height: 72px !important; | ||
} | } | ||
} | } | ||
Revision as of 23:22, 31 July 2025
/* CSS placed here will be applied to all skins */
@media screen and (max-width: 767px) {
.infobox-item {
float: none !important;
clear: both !important;
margin: 0 auto 1em auto !important;
display: block;
width: 90% !important;
max-width: 270px !important;
}
.infobox-item td,
.infobox-item th {
font-size: 85% !important;
padding: 2px !important;
}
.infobox-sprite {
width: 72px !important;
height: 72px !important;
}
}


