MediaWiki:Common.css: Difference between revisions

From Webwalker Knowledge Base
No edit summary
No edit summary
Line 81: Line 81:
/* Infobox colors */
/* Infobox colors */
.infobox {
.infobox {
border: 2px solid #480601;
border: 2px solid #000000;
background: #780A02;
background: #780A02;
}
}
Line 89: Line 89:


.infobox-inline {
.infobox-inline {
border: 2px solid #B37570;
border: 2px solid #000000;
background: #FDFDFD !important;
background: #FDFDFD !important;
}
}
.infobox-inline .heading {
.infobox-inline .heading {
background: #A8615C;
background: #A8615C;
}
/* Other formatting classes */
.mw-page-container .plainlist ol, .mw-page-container .plainlist ul {
  line-height: inherit;
  list-style: none none;
  margin: 0;
}
}

Revision as of 06:38, 26 September 2023

/* CSS placed here will be applied to all skins */

/* Apply Webwalker's corporate colors */
#mw-header-hack .color-middle {
    background: #1565c0 !important;
}
#mw-header-hack .color-left {
    background: #2d2b46 !important;
}
#mw-header-hack .color-right {
    background: #2d2b46 !important;
}
#mw-content-container {
    border-bottom-color: #2d2b46 !important;
}
.mw-body h1.firstHeading {
    border-bottom-color: #2d2b46 !important;
}

/* Different footer colors */
body {
    background-color: #f8f9fa !important;
}
.mw-footer-container {
    background-color: #f8f9fa !important;
	color: #000000 !important;
}
.mw-footer-container a {
	color: #3366cc !important;
}
.mw-footer-container a:hover {
	color: #2952a3 !important;
}
.mw-footer-container a:visited {
	color: #2a4b8d !important;
}
.mw-footer-container a:visited:hover {
	color: #1e3666 !important;
}

/* Extend content section to full screen */
#mw-content-container {
    min-height: 90vh;
    min-height: calc(100vh - 200px);
}

/* Hide background image in the content section */
#mw-content-container {
    background-image: none !important;
}

/* Hide "Powered By" icon */
#footer-poweredbyico {
    display: none;
}

/* Hide User Tools unless logged-in */
#user-tools #personal {
    display: none;
}
.mw-editable #user-tools #personal {
    display: inline-block;
}

/* Hide View Source unless logged-in */
#ca-viewsource {
    display: none;
}
.mw-editable #ca-viewsource {
    display: inline-block;
}

/* Hide Page Navigation unless logged-in */
#mw-page-header-links {
    display: none;
}
.mw-editable #mw-page-header-links {
    display: block;
}

/* Infobox colors */
.infobox {
	border: 2px solid #000000;
	background: #780A02;
}
.infobox .heading {
	background: #480601;
}

.infobox-inline {
	border: 2px solid #000000;
	background: #FDFDFD !important;
}
.infobox-inline .heading {
	background: #A8615C;
}

/* Other formatting classes */
.mw-page-container .plainlist ol, .mw-page-container .plainlist ul {
  line-height: inherit;
  list-style: none none;
  margin: 0;
}