Elections Wiki:Main Page/styles.css: Difference between revisions

From Elections Wiki
Jump to navigation Jump to search
test
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 46: Line 46:
}
}


body.skin-watercolordark #mp-middle { background: unset!important; }
 
#mp-middle {
body.skin-watercolordark #mp-bottomleft { background: unset!important; }
#mp-bottomleft {
background: #fff5fa;
background: #fff5fa;
border-color: #f2cedd;
border-color: #f2cedd;
}
}


body.skin-watercolordark #mp-middle .mp-h2 { background: unset!important; }
body.skin-watercolordark #mp-bottomleft .mp-h2 { background: unset!important; }
#mp-middle .mp-h2 {
#mp-bottomleft .mp-h2 {
background: #f2cedd;
background: #f2cedd;
border-color: #bfa3af;
border-color: #bfa3af;
}
}


body.skin-watercolordark #mp-lower { background: unset!important; }
body.skin-watercolordark #mp-bottomright { background: unset!important; }
#mp-lower {
#mp-bottomright {
background: #faf5ff;
background: #faf5ff;
border-color: #ddcef2;
border-color: #ddcef2;
}
}


body.skin-watercolordark #mp-lower .mp-h2 { background: unset!important; }
body.skin-watercolordark #mp-bottomright .mp-h2 { background: unset!important; }
#mp-lower .mp-h2 {
#mp-bottomright .mp-h2 {
background: #ddcef2;
background: #ddcef2;
border-color: #afa3bf;
border-color: #afa3bf;
}
}


#mp-bottom {
.mp-h2,
/* no background */
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
border-color: #e2e2e2;
border: 1px solid #aaa; /* all border colors overridden on specific elements */
margin: 0.5em 0;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
}
}


body.skin-watercolordark #mp-bottom .mp-h2 { background: unset!important; }
.toc {
#mp-bottom .mp-h2 {
display: none !important;
background: #eee;
border-color: #ddd;
}
}


Line 92: Line 96:
#mp-right {
#mp-right {
flex: 1 1 45%;
margin-left: 2px;
}
#mp-bottomleft {
flex: 1 1 55%;
margin-right: 2px;
}
#mp-bottomright {
flex: 1 1 45%;
flex: 1 1 45%;
margin-left: 2px;
margin-left: 2px;
}
}
}
}

Latest revision as of 21:54, 25 January 2025

.mw-body .firstHeading { 
	display: none !important; 
}

.mp-box {
	border: 1px solid #aaa;  
	padding: 0 0.5em 0.5em;
	margin-top: 4px;
}


.mp-contains-float::after {
  content: "";
  display: block;
  clear: both;
}

body.skin-watercolordark #mp-banner { background: unset!important; }
#mp-banner {
	/*background: #fffaf5;*/
	border-color: #f2e0ce;
}

body.skin-watercolordark #mp-left { background: unset!important; }
#mp-left {
	background: #f5fffa;
	border-color: #cef2e0;
}

body.skin-watercolordark #mp-left .mp-h2 { background: unset!important; }
#mp-left .mp-h2 {
	background: #cef2e0;
	border-color: #a3bfb1;
}

body.skin-watercolordark #mp-right { background: unset!important; }
#mp-right {
	background: #f5faff;
	border-color: #cedff2;
}

body.skin-watercolordark #mp-right .mp-h2 { background: unset!important; }
#mp-right .mp-h2 {
	background: #cedff2;
	border-color: #a3b0bf;
}


body.skin-watercolordark #mp-bottomleft { background: unset!important; }
#mp-bottomleft {
	background: #fff5fa;
	border-color: #f2cedd;
}

body.skin-watercolordark #mp-bottomleft .mp-h2 { background: unset!important; }
#mp-bottomleft .mp-h2 {
	background: #f2cedd;
	border-color: #bfa3af;
}

body.skin-watercolordark #mp-bottomright { background: unset!important; }
#mp-bottomright {
	background: #faf5ff;
	border-color: #ddcef2;
}

body.skin-watercolordark #mp-bottomright .mp-h2 { background: unset!important; }
#mp-bottomright .mp-h2 {
	background: #ddcef2;
	border-color: #afa3bf;
}

.mp-h2,
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
	border: 1px solid #aaa; /* all border colors overridden on specific elements */
	margin: 0.5em 0;
	padding: 0.2em 0.4em;
	font-size: 120%;
	font-weight: bold;
	font-family: inherit;
}

.toc {
	display: none !important;
}

@media (min-width: 875px) {
	#mp-upper {
		display: flex;
	}
	
	#mp-left {
		flex: 1 1 55%;
		margin-right: 2px;
	}
	
	#mp-right {
		flex: 1 1 45%;
		margin-left: 2px;
	}
	
	#mp-bottomleft {
		flex: 1 1 55%;
		margin-right: 2px;
	}
	
	#mp-bottomright {
		flex: 1 1 45%;
		margin-left: 2px;
	}
}