MediaWiki:Vector-2022.css: Difference between revisions
From VRChat Wiki
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
.mw-logo { | .mw-logo { | ||
color: white | color: white !important | ||
} | } | ||
Line 43: | Line 43: | ||
.vector-menu-tabs .mw-list-item a, | .vector-menu-tabs .mw-list-item a, | ||
#pt-userpage-2 a, | #pt-userpage-2 a, | ||
.vector-menu-portal .vector-menu-content li a { | .vector-menu-portal .vector-menu-content li a, | ||
.sidebar-toc .sidebar-toc-link { | |||
color: var(--blue); | color: var(--blue); | ||
} | } | ||
Line 60: | Line 61: | ||
} | } | ||
.mw-sidebar { | .mw-sidebar, .sidebar-toc { | ||
background-color: #1e1e1e; | background-color: #1e1e1e; | ||
padding: 1rem 1.25rem; | padding: 1rem 1.25rem; | ||
Line 112: | Line 113: | ||
.mw-ui-icon { | .mw-ui-icon { | ||
filter: invert(1); | filter: invert(1); | ||
} | |||
.vector-sticky-header { | |||
background-color: black; | |||
border-bottom: var(--seperator); | |||
} | |||
.sidebar-toc .sidebar-toc-title { | |||
color: white; | |||
} | } | ||
Revision as of 01:56, 11 June 2024
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@media screen {
html,
body,
.mw-editsection,
.mw-editsection-like,
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2 {
font-family: "Noto Sans", sans-serif;
}
.mw-header {
padding-top: 16px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #111111;
color: white;
--blue: #1778ff;
--purple: #a67eff;
--seperator-color: #ffffff20;
--seperator: 1px solid var(--seperator-color);
}
.mw-page-container {
background-color: transparent;
}
.mw-header {
padding-top: 16px;
}
.mw-logo {
color: white !important
}
a,
.vector-menu-tabs .mw-list-item a,
#pt-userpage-2 a,
.vector-menu-portal .vector-menu-content li a,
.sidebar-toc .sidebar-toc-link {
color: var(--blue);
}
a:visited,
.vector-menu-portal .vector-menu-content li a:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited {
color: var(--purple);
}
.vector-menu-portal .vector-menu-heading,
.vector-menu-tabs .mw-list-item.selected a,
.vector-menu-tabs .mw-list-item.selected a:visited {
color: white;
}
.mw-sidebar, .sidebar-toc {
background-color: #1e1e1e;
padding: 1rem 1.25rem;
border-radius: 0.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.vector-menu-portal .vector-menu-heading {
border: none;
font-weight: 500;
}
.vector-menu-portal,
.vector-menu-portal .vector-menu-content,
.vector-menu-portal .vector-menu-heading {
margin: 0;
padding: 0;
}
.vector-menu-portal .vector-menu-content ul {
padding: 0;
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.vector-menu-portal .vector-menu-content li {
padding: 0;
}
.mw-portlet {
display: flex;
flex-direction: column;
gap: 1rem;
}
.mw-sidebar-action {
display: none;
}
.mw-footer {
border-top: var(--seperator);
}
.mw-footer li {
color: #f6f6f6;
}
.mw-ui-icon {
filter: invert(1);
}
.vector-sticky-header {
background-color: black;
border-bottom: var(--seperator);
}
.sidebar-toc .sidebar-toc-title {
color: white;
}
h1, h2, h3, h4, h5, h6 {
color: white;
font-weight: 500;
}
h1,
h2,
.mw-article-toolbar-container {
border-bottom: var(--seperator);
}
.mw-editsection-divider,
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type){
color: var(--seperator-color);
}
ul {
list-style-image: none;
}
/*
excluding 'pre' blocks, because re-styling syntax
highlighting to support dark mode is a nightmare.
*/
code,
.mw-code {
background-color: #272727;
color: white;
border: none;
}
}
}