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

From Elections Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
.firstHeading { display: none; }
.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;
}
}

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;
	}
}