Jump to content

MediaWiki:Common.css

Revision as of 14:46, 11 March 2026 by Taurussmith (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Remove underline from links */
a {
    text-decoration: none;
}

/* Show underline only when hovering */
a:hover {
    text-decoration: underline;
}
.search-shortdesc {
font-size: 12px;
color: #54595d;
margin-top: 2px;
}
.infobox {
float: right;
width: 270px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: #202122;
font-size: 90%;
margin: 0 0 1em 1em;
}

.infobox th {
background: #eaecf0;
color: #202122;
text-align: left;
padding: 4px;
}

.infobox td {
color: #202122;
padding: 4px;
}

.infobox a {
color: #0645ad;
}
/* Replace default protection lock */

.mw-indicators .mw-indicator {
background-image: url("/wiki/File:Padlock-full.png");
background-size: 20px 20px;
background-repeat: no-repeat;
width: 20px;
height: 20px;
}

.mw-indicators img {
display: none;
}
/* Hide MediaWiki protection indicator */
.mw-indicators {
display: none !important;
}
/* Replace MediaWiki protection lock with F padlock */

.mw-indicator img {
display: none;
}

.mw-indicator {
width:20px;
height:20px;
background-image:url("/images/9/91/Padlock-full.png");
background-size:20px 20px;
background-repeat:no-repeat;
}
/* Replace protection lock icon */

.mw-indicators img {
display:none !important;
}

.mw-indicators::before {
content:"";
display:inline-block;
width:20px;
height:20px;
background-image:url("/images/9/91/Padlock-full.png");
background-size:contain;
background-repeat:no-repeat;
}
/* Replace the protection indicator icon */

.mw-indicators img {
display:none;
}

.mw-indicators {
width:20px;
height:20px;
background-image:url("/images/9/91/Padlock-full.png");
background-repeat:no-repeat;
background-size:20px 20px;
}
.mp-box {
border:1px solid #a2a9b1;
padding:10px;
margin-bottom:10px;
background:#f8f9fa;
}

#mp-upper {
display:flex;
gap:10px;
}

#mp-left, #mp-right {
width:50%;
}