MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Camo Yoshi (talk | contribs) Created page with "* { box-sizing: border-box; } body { margin: 0; } →Create two equal columns that floats next to each other: .main_page_column { float: left; width: 50%; paddi..." |
(No difference)
|
Revision as of 10:10, 22 October 2021
* {
box-sizing: border-box;
}
body {
margin: 0;
}
/* Create two equal columns that floats next to each other */
.main_page_column {
float: left;
width: 50%;
padding: 15px;
}
/* Clear floats after the columns */
.main_page_row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
.main_page_column {
width: 100%;
}
}