Difference between revisions of "MediaWiki:Vector.css"

Jump to navigation Jump to search
223 bytes added ,  14:44, 17 October 2023
no edit summary
 
(23 intermediate revisions by 3 users not shown)
Line 2: Line 2:


:root {
:root {
--header: #9b6835;
--header: #dddddd;
--content-header: #fca349;
--secondary-header: #fca349;
--secondary-header: #fca349;
--label-color: #ffd28f;
--label-color: #ffd28f;
--line-color: #03611c;
--line-color: #777777;
--dark-mode-background: #3e3e3e;
--dark-mode-background: #3e3e3e;
--dark-mode-secondary-background: darkgrey;
--dark-mode-secondary-background: darkgrey;
--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 30: Line 32:


.mainpage-buttons ul li {
.mainpage-buttons ul li {
background: var(--header);
background: #dddddd;
box-shadow: 2px 2px var(--line-color);
box-shadow: 2px 2px var(--line-color);
}
}
Line 68: Line 70:
/* ################################## */
/* ################################## */


.mw-dark-mode .mw-page-base {
.mw-dark-mode, .mw-dark-mode .mw-page-base, .mw-dark-mode .mw-body,
    background: var(--dark-mode-background);
.mw-dark-mode #mw-panel, .mw-dark-mode #mw-head
}
{
 
.mw-dark-mode .mw-body {
    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);
     background: var(--dark-mode-background);
}
}


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


.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 {
.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 #mw-content-text {
     color: inherit;
     color: inherit;
}
.mw-dark-mode #firstHeading {
    color: inherit;
}
.mw-dark-mode #footer {
    color: white;
}
.mw-dark-mode #footer-info-lastmod {
    color: inherit;
}
.mw-dark-mode .vector-menu-heading {
color: white;
}
}


Line 135: 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 .mainpage-buttons ul li::before,
.mw-dark-mode .mw-body .mw-body-content .gallery li::before {
     display: none;
     display: none;
}
}
Line 149: Line 122:
}
}


.mw-dark-mode .mw-body .mainpage-buttons ul li::before {
.mw-dark-mode .mw-changeslist-legend, .mw-dark-mode .mw-body #catlinks {
display: none;
}
 
.mw-dark-mode .mw-headline {
    color: white;
}
 
.mw-dark-mode .mw-changeslist-legend {
     color: black;
     color: black;
}
}
Line 181: Line 146:
/* Recent Changes */
/* Recent Changes */
.mw-dark-mode .mw-changeslist h4 {
.mw-dark-mode .mw-changeslist h4 {
     color: white;
     color: var(--dark-mode-text);
}
}


Line 196: Line 161:
}
}


.mw-dark-mode .mw-plusminus-pos {
.mw-dark-mode .mw-plusminus-neg {
color: #ff0101;
color: #ff0101;
}
.mw-datatable, .ext-replacetext-searchoptions, .ext-replacetext-searchoptions {
color: black;
}
.mw-dark-mode .oo-ui-labelWidget.oo-ui-inline-help {
color: var(--dark-mode-text);
}
.mw-dark-mode .oo-ui-fieldLayout-disabled > .oo-ui-fieldLayout-body >
.oo-ui-fieldLayout-header > .oo-ui-labelElement-label {
color: var(--dark-mode-text);
}
}

Navigation menu