MediaWiki:Common.css
From Pikmin Fanon
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 */
/* Colored usernames for staff members */
/* Administrators */
.mw-userlink[title="User:Gamefreak75"],
.mw-userlink[title="User:Neocraftz1553"],
.mw-userlink[title="User:Peach Bulborb"],
.mw-userlink[title="User:Portal-Kombat"],
.mw-userlink[title="User:Scruffy"],
.mw-userlink[title="User:Soveia"],
.mw-userlink[title="User:Username"],
.mw-userlink[title="User:Volatile Dweevil"],
#whoadmin a { color: #f1c !important; }
/* Bureaucrats */
.mw-userlink[title="User:Cheepy-Cheepy"],
.mw-userlink[title="User:Espyo"],
.mw-userlink[title="User:PikFan23"],
.mw-userlink[title="User:Porplemontage"],
.mw-userlink[title="User:Sir Pikmin"],
.mw-userlink[title="User:Wraith"],
#whocrat a { color: #a0d !important; }
/* Interface administrators */
.mw-userlink[title="User:Trig Jegman"],
#whointer-admin a { color: #0c0 !important; }
/* Infoboxes */
.infobox {
clear: right;
}
/* Lua navbox */
.module-navbox > .mw-collapsible-toggle {
font-weight: bold;
transform: translate(-8px,3.15px)
}
.lua-navbox td, .lua-navbox th {
padding: 5px;
}
.lua-navbox td {
width: 100%;
}
.lua-navbox tr:nth-child(even) td {
background: rgb(0,0,0,.1)
}
.lua-navbox tr:last-of-type th {
border-radius: 0 0 0 12px;
}
.lua-navbox tr:last-of-type td {
border-radius: 0 0 12px 0
}
.lua-navbox ul {
margin: 0;
}
.lua-navbox ul li {
display: inline;
}
.lua-navbox ul li:not(:last-child):after {
content: " • "
}
@media screen and (max-width: 925px) {
.lua-navbox {
width: 100%;
text-align: center;
}
.lua-navbox th, .lua-navbox td {
display: block;
}
.lua-navbox td {
margin-top: 2px;
}
.lua-navbox tr:last-of-type th {
border-radius: 0
}
.lua-navbox tr:last-of-type td {
border-radius: 0 0 12px 12px
}
}
/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
margin: 0;
color: inherit;
}
/* External link icon */
#bodyContent .external[href ^="/images/External link icon.png"],
.link-https {
background: url("/images/External link icon.png") center right no-repeat;
padding-right: 16px;
}
/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}