Jump to content

MediaWiki:Common.css: Difference between revisions

Taurussmith (talk | contribs)
No edit summary
Taurussmith (talk | contribs)
No edit summary
Line 124: Line 124:
     color: #7aa6ff;
     color: #7aa6ff;
}
}
/* Force Vector 2022 dark mode for everyone */
 
html.skin-theme-clientpref-day,
/* Force Vector 2022 dark theme for all users */
html.skin-theme-clientpref-os,
:root {
html.skin-theme-clientpref-night {
     color-scheme: dark;
     color-scheme: dark;
}
}


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


/* Links */
/* Top header */
a {
.vector-header-container,
    color: #6ea8ff !important;
.vector-sticky-header-container {
}
 
/* Header */
.vector-header-container {
     background-color: #161b22 !important;
     background-color: #161b22 !important;
}
}
Line 152: Line 149:
}
}


/* Content area */
/* Page content boxes */
.mw-body {
.mw-parser-output > div,
     background-color: #0f1115 !important;
.mw-parser-output table {
    background-color: #161b22 !important;
}
 
/* Links */
a {
    color: #6ea8ff !important;
}
 
/* Borders */
hr, .mw-body, .vector-page-titlebar {
     border-color: #2b3137 !important;
}
}

Revision as of 22:16, 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 theme for all users */
:root {
    color-scheme: dark;
}

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

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

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

/* Page content boxes */
.mw-parser-output > div,
.mw-parser-output table {
    background-color: #161b22 !important;
}

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

/* Borders */
hr, .mw-body, .vector-page-titlebar {
    border-color: #2b3137 !important;
}