MediaWiki:Common.css: Difference between revisions
From Webwalker Knowledge Base
(Created page with "→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; } →Hide "Powered By" icon: #footer-poweredbyico { display: none; }") |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 12: | 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 */ | |||
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; | |||
} | } | ||
Line 19: | Line 54: | ||
display: none; | 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; } |
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; }