MediaWiki:Common.css

From Webwalker Knowledge Base
Revision as of 14:01, 6 October 2023 by Webwalker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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-body-content .plainlist ol, .mw-body-content .plainlist ul {
  line-height: inherit;
  list-style: none none;
  margin: 0;
}

/* Hide the "Retrieved from" message */
.printfooter { display: none; }