Jump to content

MediaWiki:Common.css: Difference between revisions

Taurussmith (talk | contribs)
No edit summary
Taurussmith (talk | contribs)
No edit summary
Line 123: Line 123:
a {
a {
     color: #7aa6ff;
     color: #7aa6ff;
}
/* Force Vector 2022 dark mode for everyone */
html.skin-theme-clientpref-day,
html.skin-theme-clientpref-os,
html.skin-theme-clientpref-night {
    color-scheme: dark;
}
/* Main background */
body {
    background-color: #0f1115 !important;
    color: #e6e6e6 !important;
}
/* Links */
a {
    color: #6ea8ff !important;
}
/* Header */
.vector-header-container {
    background-color: #161b22 !important;
}
/* Sidebar */
.vector-sidebar {
    background-color: #0f1115 !important;
}
/* Content area */
.mw-body {
    background-color: #0f1115 !important;
}
}

Revision as of 22:12, 11 March 2026

/* 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%;
}
:root {
    color-scheme: dark;
}

body {
    background-color: #0f1115;
    color: #e6e6e6;
}

a {
    color: #7aa6ff;
}
/* Force Vector 2022 dark mode for everyone */
html.skin-theme-clientpref-day,
html.skin-theme-clientpref-os,
html.skin-theme-clientpref-night {
    color-scheme: dark;
}

/* Main background */
body {
    background-color: #0f1115 !important;
    color: #e6e6e6 !important;
}

/* Links */
a {
    color: #6ea8ff !important;
}

/* Header */
.vector-header-container {
    background-color: #161b22 !important;
}

/* Sidebar */
.vector-sidebar {
    background-color: #0f1115 !important;
}

/* Content area */
.mw-body {
    background-color: #0f1115 !important;
}