MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.infobox{
float:right;
clear:right;
width:22em;
max-width:100%;
margin:0 0 1em 1em;
border:1px solid #a2a9b1;
background:#f8f9fa;
border-collapse:collapse;
font-size:88%;
line-height:1.5;
}
.infobox th{
background:#eaecf0;
font-weight:bold;
text-align:left;
padding:6px 8px;
border:1px solid #a2a9b1;
}
.infobox td{
padding:6px 8px;
border:1px solid #a2a9b1;
vertical-align:top;
}
.infobox img{
max-width:100%;
height:auto;
display:block;
margin:auto;
}
@media (max-width:768px){
.infobox{
float:none!important;
margin:1em auto!important;
width:100%;
max-width:340px;
}
}