MediaWiki:Common.css: Difference between revisions
From Business Heroes Food Truck Simulation
			 (Transform for sticky.)  | 
				No edit summary  | 
				||
| Line 51: | Line 51: | ||
	max-width: 1230px;  | 	max-width: 1230px;  | ||
	width: 1130px;  | 	width: 1130px;  | ||
	left: inherit;  | |||
}  | }  | ||
.p-navbar.sticky#mw-navigation {  | .p-navbar.sticky#mw-navigation {  | ||
	left:50% !important;  | 	left: 50% !important;  | ||
	transform: translateX(-50%) !important;  | 	transform: translateX(-50%) !important;  | ||
}  | }  | ||
Revision as of 23:47, 26 November 2022
/* CSS placed here will be applied to all skins */
/* BACKGROUND */
html {
	background-image: url(extensions/WikiWorks/bg.png);
	background-position: top center;
	background-size: 1980px;
	background-repeat: no-repeat;
	background-color: #000;
}
body {
	background-color: #0002;
}
#content-wrapper {
	background-color: #161941;
}
h1, h2, .h1, .h2 {
	color: #74d6ec;
}
#content-wrapper a:visited, 
#content-wrapper a:active,
.toctogglelabel {
	color: #009045 !important;
}
.toc, .toccolours, pre {
	border: 1px solid #05082b;
	background-color: #0d1033;
}
pre {
	color: cornflowerblue;
}
.tocnumber {
	color: #8e8e8e;
}
.navbar-nav a::before {
	color: rgba(255,255,255,0.5);
}
#footer-poweredbyico { display: none; }
/* No background for Main Page */
.page-Introduction #content-wrapper {
	background-color: transparent !important;
}
.p-navbar#mw-navigation {
	margin-left: auto;
	margin-right: auto;
	max-width: 1230px;
	width: 1130px;
	left: inherit;
}
.p-navbar.sticky#mw-navigation {
	left: 50% !important;
	transform: translateX(-50%) !important;
}