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; | ||
+ | } | ||
+ | |||
+ | div.margin10 { | ||
+ | margin 10px; | ||
} | } | ||
Line 19: | Line 23: | ||
float: left; | float: left; | ||
width: 50%; | width: 50%; | ||
+ | display: table-cell; | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
width: 100%; | width: 100%; | ||
+ | display: block; | ||
+ | } | ||
} | } | ||
+ | |||
+ | div.row { | ||
+ | display: table; | ||
+ | width:100%; | ||
} | } | ||
Revision as of 14:21, 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;
}
div.margin10 {
margin 10px;
}
div.column50 {
float: left;
width: 50%;
display: table-cell;
@media (max-width: 600px) {
width: 100%;
display: block;
}
}
div.row {
display: table;
width:100%;
}
div.row:after {
content: "";
display: table;
clear: both;
}