Difference between revisions of "MediaWiki:Vector.css"

Jump to navigation Jump to search
349 bytes removed ,  19:13, 19 February 2022
no edit summary
Line 10: Line 10:
--dark-mode-alt-link: #2d456c;
--dark-mode-alt-link: #2d456c;
--dark-mode-alt-link-new: #9d0303;
--dark-mode-alt-link-new: #9d0303;
--dark-mode-text: white;
}
}


Line 68: Line 69:
/* ################################## */
/* ################################## */


.mw-dark-mode .mw-page-base {
.mw-dark-mode, .mw-dark-mode .mw-page-base, .mw-dark-mode .mw-body,
.mw-dark-mode #mw-panel, .mw-dark-mode #mw-head
{
     background: var(--dark-mode-background);
     background: var(--dark-mode-background);
}
}


.mw-dark-mode .mw-body {
.mw-dark-mode #catlinks, .mw-dark-mode .vector-menu-portal {
    background: var(--dark-mode-background);
}
 
.mw-dark-mode {
    background: var(--dark-mode-background);
}
 
.mw-dark-mode #mw-panel {
    background: var(--dark-mode-background);
}
 
.mw-dark-mode #mw-head {
    background: var(--dark-mode-background);
}
 
.mw-dark-mode #catlinks {
     background: var(--dark-mode-secondary-background);
     background: var(--dark-mode-secondary-background);
}
}
Line 102: Line 89:
}
}


.mw-dark-mode .vector-menu-portal {
.mw-dark-mode #content, .mw-dark-mode #footer, .mw-dark-mode .vector-menu-heading,
    background: var(--dark-mode-secondary-background);
.mw-dark-mode .mw-headline {
}
     color: var(--dark-mode-text);
 
.mw-dark-mode #content {
    color: white;
}
 
.mw-dark-mode #mw-content-text {
    color: inherit;
}
 
.mw-dark-mode #mw-content-text h2 {
     color: inherit;
}
 
.mw-dark-mode #firstHeading {
    color: inherit;
}
}


.mw-dark-mode #footer {
.mw-dark-mode #mw-content-text, .mw-dark-mode #mw-content-text h2,
    color: white;
.mw-dark-mode #firstHeading, .mw-dark-mode #footer-info-lastmod {
}
 
.mw-dark-mode #footer-info-lastmod {
     color: inherit;
     color: inherit;
}
.mw-dark-mode .vector-menu-heading {
color: white;
}
}


Line 140: Line 105:
.mw-dark-mode .mw-body #catlinks ul li::before,
.mw-dark-mode .mw-body #catlinks ul li::before,
.mw-dark-mode .mw-body #toc ul li::before,
.mw-dark-mode .mw-body #toc ul li::before,
.mw-dark-mode .mw-body .redirectMsg ul li::before{
.mw-dark-mode .mw-body .redirectMsg ul li::before,
.mw-dark-mode .mw-body .mainpage-buttons ul li::before {
     display: none;
     display: none;
}
}
Line 152: Line 118:
     line-height: 1em;
     line-height: 1em;
     margin-left: -1em;
     margin-left: -1em;
}
.mw-dark-mode .mw-body .mainpage-buttons ul li::before {
display: none;
}
.mw-dark-mode .mw-headline {
    color: white;
}
}


Line 186: Line 144:
/* Recent Changes */
/* Recent Changes */
.mw-dark-mode .mw-changeslist h4 {
.mw-dark-mode .mw-changeslist h4 {
     color: white;
     color: var(--dark-mode-text);
}
}


Navigation menu