Worldpedia:Main Page/styles.css: Difference between revisions

remove spurious extra top margin due to changes in layout in recent weeks. this makes it so that there is the same amount of margin to the left as to the top of the content area (already ensured by the skin)
reduce css all around: rm clear and default width from first page element, swap to li:last-child on portal list, rm default display on mp-portals, merge a nowrap rule
Line 1: Line 1:
/* {{pp|small=yes}} */
/* {{pp|small=yes}} */
#mp-topbanner {
#mp-topbanner {
clear: both;
position: relative;
position: relative;
box-sizing: border-box;
box-sizing: border-box;
width: 100%;
margin-top: 0;
margin-top: 0;
min-width: 47em;
min-width: 47em;
Line 76: Line 74:
}
}


.portal-hright.portal-vbot {
#mp-portals li:last-child {
font-weight: bold;
font-weight: bold;
}
}
Line 224: Line 222:
body.skin--responsive #mp-portals {
body.skin--responsive #mp-portals {
display: block;
position: static;
position: static;
width: auto;
width: auto;
Line 238: Line 235:
display: inline;
display: inline;
padding: 0 5px;
padding: 0 5px;
}
body.skin--responsive #mp-topbanner .portal-hright {
white-space: nowrap;
white-space: nowrap;
}
}