MediaWiki:Common.css: Difference between revisions

From Webwalker Knowledge Base
No edit summary
No edit summary
Line 57: Line 57:
}
}
.mw-editable #user-tools #personal {
.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;
     display: inline-block;
}
}

Revision as of 19:06, 8 August 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;
}

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