MediaWiki:Common.css: Difference between revisions

Support for infobox class, improves experience on mobile devices
(Add padding for collapsible text toggle)
(Support for infobox class, improves experience on mobile devices)
Line 10: Line 10:
table.lighttable .highlight-on {
table.lighttable .highlight-on {
background-color:#cfc
background-color:#cfc
}
.infobox {
float:right;
clear:right;
max-width:250px;
margin-left:10px
}
@media screen and (max-width:699px) {
.infobox {
max-width:100%;
min-width:250px;
float:none;
clear:both;
width:100%;
margin:0 0 .5em 0
}
}
}