MediaWiki:Common.css
Jump to navigation
Jump to search
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 on desktop version */
/* Label logo */
.mw-wiki-logo {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/4/46/Commontime.svg/43px-Commontime.svg.png) !important;
}
/* List bullets next to items (instead of on left side), especially when text is centred */
/* With thanks to https://stackoverflow.com/q/28977320 */
:is(div:not('.vector-menu-content'), :is(div,td).center) ul {padding: 0 1em; margin-left: 0; list-style-position: inside}
/* [[Template:Hatnote]] */
.hatnote {font-style: italic}
/* Message boxes */
.mbox {border: 1px solid grey}
/* New and nonexistent pages */
.nopage {background-color: #fee7e6; width: 100%}
/* Doc pages */
/* From m:MediaWiki:Common.css */
.doc {
clear: both;
margin: 1em 0 0 0;
padding: 5px;
border: 1px solid #a2a9b1;
background: #ecfcf4
}
/* [[Template:From Wikipedia]] */
.wikipedia {background-color: #f8f9fa}
/* Standard Wikipedia-inspired infobox code */
/* From w:MediaWiki:Common.css */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
max-width: 40%;
/* @noflip */
margin: 0.5em 0 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left
}
/* [[Template:Work info]] */
.work-info th {background-color: #ffbea1; padding: 0.4em 0.2em}
.work-info .title {font-size: 125%}
.work-info .by {font-size: 100%}
.work-info .title, .work-info .by {text-align: center}
/* Navigational boxes */
.nav {border: 1px solid #a2a9b1; background-color: #fdfdfd; padding: 0.25em 0.20em; width: 100%}
/* Work listing ([[Template:Works]]) */
.works th {background-color: #ffbea1}
.works td {text-align: center}
/* Portals */
/* The Dixwell Dossier */
.page-Portal_The_Dixwell_Dossier h1, .page-Portal_Unspooled h1, .rootpage-Portal_Adanson_Jukebox h1, .rootpage-Story_Unspooled h1 {font-family:'Cooper Black Italic' !important}
.dossier {border: 0.2em solid black; width: 100%; border-collapse: collapse}
/* Dominica flag colours */
.dossier .yellow {background-color: #fcd116; width: 10%; height: 80px}
.dossier .black {background-color: black; width: 10%; height: 80px}
.dossier .white {background-color: white; width: 80px}
.dossier .green {background-color: #006b3f; color: white; padding: 0.5em}
.dossier .red {background-color: #d41c30; color: #006b3f; text-align: center; -webkit-text-stroke-width: 2px; -webkit-text-stroke-color: black; text-shadow: 3px 3px 4px black}
/* Links */
.dossier a.new {color:#f90}
.dossier a.new:visited {color:#f5d099}
.dossier a {color:#fc0}
.dossier a:visited {color:#a0a83c}
.dossier a.extiw, .dossier a.external {color:#b2e6ff}