MediaWiki:Gadget-MainPageStyle.css

/* CSS styling and responsive support for the main page */

/* Site styles */ .MainTopText a { color: black !important; text-decoration: none; } .MainTopText a:hover { color: black; text-decoration: underline; } .mainpagebox { border: 2px solid #9c496c; padding: 2px; background: #F8F8FF; border-radius: 1em; } .mainpagebox p, #WithText { margin: 0.9em 0 1em; } .mainpagebox#welcome { padding: 2px 2px 2px 0; } .mainpagebox#welcome .floatleft, .mainpagebox#welcome .floatright { margin: 0 !important; } .mainpagebox#nav { font-size: 120%; padding: 2px 2px 5px 0; background: #FDFDFF; border-color: #999; } .mainpagebox#nav ul { margin-left: 20px; } .mainpagebox#poll, .mainpagebox#dyk { margin: 10px 0 0 !important; } .mainpagebox .pds-box { width: 100% !important; max-width: none !important; } .mainpagebox .pds-question-top { padding-left: 3px !important; } .mainpagebox #poll-container > .PDS_Poll { margin-bottom: -1.84em !important; } .mainpagebox #polltable { margin-bottom: 25px; } .mainpagebox .crowdsignal { margin-bottom: 10px; } @media all and (min-width: 1240px) { #polltable .crowdsignal { margin-right: 5px; } } .mainpagebox#poll .throbber { display: none; } .mainpagebox#right { padding: 2px 2px 5px; } .mainpagebox.maintain { text-align: center; padding: 2px 2px 0; margin: 10px 0 0 !important; } .mainpagebox h2 { padding: 4px 5px 2px; margin-bottom: 1px !important; border: 2px solid #af567c; font-size: 120%; font-weight: bold; color: #fff; text-align: center; border-radius: 0.75em; } body .mainpagebox#featured-article h2 { background:#FF4868; border-color: #C60023; } body .mainpagebox#featured-image h2 { background:#DA582B; border:1px solid #9D0000; }

body .mainpagebox#news h2 { background:#8C00EA; border:1px solid #4F0084; } body .mainpagebox#dyk h2 { background:#39A5FF; border:1px solid #3b587e; } .mainpagebox#announce { text-align: center; padding: 2px 2px 0; margin: 10px 0 0 !important; }

/* Skin fixes */ body.mobile #mp-body { display: block !important; } body.mobile #WelcomeDiv { margin-top: -5px !important; } body.mobile .mainpagebox#nav ul { margin-bottom: 0.31em !important; } body.skin-minerva .mainpagebox#nav ul { margin-left: 5px !important; } body.skin-minerva #WithText { margin-top: 4px !important; } body.mobile.skin-timeless #mp-body { border-spacing: 7px !important; }	margin-top: 0 !important; }	border: none !important; }
 * 1) mp-body h2 {
 * 1) mp-body h2::after {

/* Responsive fixes */ @media all and (max-width: 719px) { #welcome > tbody > tr > td { display: block !important; }	#mp-body > tbody > tr > td { display: block !important; width: auto !important; }	body.mediawiki table#mp-body { margin: 1px -7px 1px -9px !important; }	#mp-body > tbody > tr > td + td { margin-top: 8px !important; }	.mainpagebox .poll__question-media, #mw-content-text .mainpagebox.maintain, #poll-extra-links, #niwa-logo, .niwa-series { display: none !important; }	#WelcomeDiv { font-size: 150% !important; }	#WithText { font-size: 95% !important; }	body.skin-timeless .mainpagebox#welcome { font-size: 85% !important; }	.mainpagebox #nav-container { padding-right: 0 !important; padding-bottom: 0 !important; }	.mainpagebox#nav ul { margin-left: 5px !important; }	body:not(.skin-minerva) .mainpagebox#nav ul { margin-left: 15px !important; }	body.mediawiki .mainpagebox ul { margin-bottom: 0; }	.mainpagebox #poll-container > .PDS_Poll { margin-bottom: -2.3em !important; } }