MediaWiki:Common.css: Difference between revisions

From Webwalker Knowledge Base
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


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


/* Different footer colors */
/* Different footer colors */
body {
    background-color: #f8f9fa !important;
}
.mw-footer-container {
.mw-footer-container {
     background-color: #f8f9fa !important;
     background-color: #f8f9fa !important;
Line 34: Line 37:
.mw-footer-container a:visited:hover {
.mw-footer-container a:visited:hover {
color: #1e3666 !important;
color: #1e3666 !important;
}
/* Extend content section to full screen */
#mw-content-container {
    min-height: 90vh;
    min-height: calc(100vh - 200px);
}
}


Line 53: Line 62:
     display: inline-block;
     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; }

Latest revision as of 14:01, 6 October 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-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; }