MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
} | } | ||
/* Create | /* Create twoequal columns that floats next to each other */ | ||
.column { | .column { | ||
float: left; | float: left; | ||
width: | width: 50%; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
Revision as of 07:14, 14 June 2021
/* CSS placed here will be applied to all skins */
* {
box-sizing: border-box;
}
/* Create twoequal columns that floats next to each other */
.column {
float: left;
width: 50%;
padding: 5px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - when the screen is less than 600px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
}
ul {
list-style-image:url('skins/Vector/images/bullet-icon.png');
}