MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Camo Yoshi (talk | contribs) No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
ul > li { | |||
padding: 0px; | |||
} | |||
* { | * { | ||
box-sizing: border-box; | box-sizing: border-box; | ||
Revision as of 22:44, 8 July 2025
ul > li {
padding: 0px;
}
* {
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 two columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
.main_page_column {
width: 100%;
}
}