Project:Main Page/styles.css

/* some code from https://en.wikipedia.org/w/index.php?title=Wikipedia:Main%20Page/styles.css&action=edit */ position: relative; box-sizing: border-box; min-width: 47em; border-color: #ddd; background-color: #f9f9f9; white-space: nowrap; }
 * 1) mp-topbanner {

.mp-bordered, .mp-h2, body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ border-width: 1px; border-style: solid; }

.mp-h2, color: #000; }
 * 1) mp-topbanner,
 * 1) mp-left {

margin: 0.4em; width: 22em; text-align: center; }
 * 1) mp-welcomecount {

font-size: 162%; padding: 0.1em; }
 * 1) mp-welcome {

font-size: 95%; }
 * 1) mp-free {

font-size: 85%; }
 * 1) articlecount {

position: absolute; right: -1em; top: 35%; margin-top: -2.4em; width: 38%; min-width: 25em; font-size: 95%; }
 * 1) mp-portals {

position: absolute; left: 0; top: 0; }
 * 1) mp-portals li {

left: 33%; }
 * 1) mp-portals .portal-hmid {

left: 66%; }
 * 1) mp-portals .portal-hright {

top: 1.6em; }
 * 1) mp-portals .portal-vmid {

top: 3.2em; }
 * 1) mp-portals .portal-vbot {

font-weight: bold; }
 * 1) mp-portals li:last-child {

margin-top: 4px; padding: 0.5em; background-color: #fffaf5; border-color: #f2e0ce; }
 * 1) mp-banner {

.mp-h2, body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */ margin: 0.5em; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; }

h2.mp-h2::after { /* Remove borders in Timeless */ border: none; }

.mp-later { font-size: 85%; font-weight: normal; }

width: 100%; margin-top: 4px; margin-bottom: 0; border-spacing: 0; border-collapse: separate; }
 * 1) mp-upper {

border-color: transparent; }
 * 1) mp-upper .mid-table {

width: 55%; border-color: #cef2e0; background: #f5fffa; }
 * 1) mp-left {

width: 45%; border-color: #cedff2; background: #f5faff; }
 * 1) mp-right {

padding: 0; vertical-align: top; }
 * 1) mp-left,
 * 2) mp-right {

background: #cef2e0; border-color: #a3bfb1; }
 * 1) mp-left .mp-h2 {

background: #cedff2; border-color: #a3b0bf; }
 * 1) mp-right .mp-h2 {

padding: 0.1em 0.6em; }
 * 1) mp-tfa,
 * 2) mp-dyk,
 * 3) mp-itn,
 * 4) mp-otd,
 * 5) mp-other-lower > div {

clear: both; }
 * 1) mp-dyk-h2,
 * 2) mp-otd-h2 {

margin-top: 4px; border-color: #f2cedd; background: #fff5fa; }
 * 1) mp-middle {

overflow: auto; }
 * 1) mp-middle,
 * 2) mp-lower,
 * 3) mp-other-lower {

background: #f2cedd; border-color: #bfa3af; }
 * 1) mp-tfl-h2 {

padding: 0.3em 0.7em; }
 * 1) mp-tfl {

margin-top: 4px; border-color: #ddcef2; background: #faf5ff; }
 * 1) mp-lower {

background: #ddcef2; border-color: #afa3bf; }
 * 1) mp-tfp-h2 {

margin: 0.1em 0.4em 0.6em; }
 * 1) mp-tfp {

padding: 0; border-color: #cef2e0; background: #f5fffa; margin-top: 4px; }
 * 1) mp-other-lower {

padding-bottom: 0.5em; }
 * 1) mp-dyk,
 * 2) mp-otd,
 * 3) mp-other-lower {

background: #eee; border-color: #ddd; color: #222; }
 * 1) mp-other-lower .mp-h2 {

@media (max-width: 875px) { body.skin--responsive #mp-welcomecount { width: auto; }

body.skin--responsive #mp-topbanner { min-width: 0; white-space: normal; }	body.skin--responsive #mp-portals { position: static; width: auto; min-width: 0; text-align: center; border-top: 1px solid #ddd; padding: 0.4em 0; margin: 0 0.4em; }	body.skin--responsive #mp-portals li { position: static; display: inline; padding: 0 5px; white-space: nowrap; }	body.skin--responsive table, body.skin--responsive tr, body.skin--responsive td, body.skin--responsive tbody { display: block !important; width: 100% !important; box-sizing: border-box; }

body.skin--responsive #mp-tfp tr:first-child td:first-child a { text-align: center; display: table; margin: 0 auto; } }