MediaWiki:Common.css: Difference between revisions
From Pikmin Fanon
m (Undo; It was fine the way it was.) Tag: Undo |
m (Wow...) |
||
Line 9: | Line 9: | ||
.mw-userlink[title="User:Peach Bulborb"], | .mw-userlink[title="User:Peach Bulborb"], | ||
.mw-userlink[title="User:Portal-Kombat"], | .mw-userlink[title="User:Portal-Kombat"], | ||
.mw-userlink[title="User:Saint"], | |||
.mw-userlink[title="User:Scruffy"], | .mw-userlink[title="User:Scruffy"], | ||
.mw-userlink[title="User:Soundwave"], | .mw-userlink[title="User:Soundwave"], | ||
.mw-userlink[title="User:Volatile Dweevil"], | .mw-userlink[title="User:Volatile Dweevil"], | ||
#whoadmin a { color: #f1c !important; } | #whoadmin a { color: #f1c !important; } |
Revision as of 05:37, 8 March 2024
/* 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:Saint"],
.mw-userlink[title="User:Scruffy"],
.mw-userlink[title="User:Soundwave"],
.mw-userlink[title="User:Volatile Dweevil"],
#whoadmin a { color: #f1c !important; }
/* Bureaucrats */
.mw-userlink[title="User:Cheepy-Cheepy"],
.mw-userlink[title="User:PikFan23"],
.mw-userlink[title="User:Sir Pikmin"],
.mw-userlink[title="User:Soveia"],
.mw-userlink[title="User:Zoadra"],
#whocrat a { color: #a0d !important; }
/* Interface administrators */
.mw-userlink[title="User:Espyo"],
.mw-userlink[title="User:Porplemontage"],
.mw-userlink[title="User:Trig Jegman"],
#whointer-admin a { color: #0c0 !important; }
/*
*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.
*/
.mw-parser-output a.external {
/* External link icon. */
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%23080%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%23080%22 d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22/%3E %3Cpath fill=%22%23fff%22 d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22/%3E %3C/svg%3E");
}
/* 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;
}
/*
*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
}
}
/* hide potentially sensitive data on file pages */
#mw_metadata .exif-gpslatitude,
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
display: none;
}