Difference between revisions of "MediaWiki:Common.css"
Line 14: | Line 14: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0.2em 0.5em; | padding: 0.2em 0.5em; | ||
+ | } | ||
+ | |||
+ | @media (max-width: 600px) { | ||
+ | div.column50 { | ||
+ | float: left; | ||
+ | width: 50%; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | div.row:after { | ||
+ | content: ""; | ||
+ | display: table; | ||
+ | clear: both; | ||
} | } |
Revision as of 14:12, 3 February 2018
/* CSS placed here will be applied to all skins */
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }
div.rightbar {
float:right; clear:right; width:340px;
}
div.vtbox {
border-style: solid;
border-width: 1px;
border-color: #111111;
background-color: #efefef;
border-radius: 5px;
box-sizing: border-box;
padding: 0.2em 0.5em;
}
@media (max-width: 600px) {
div.column50 {
float: left;
width: 50%;
}
}
div.row:after {
content: "";
display: table;
clear: both;
}