MediaWiki:Vector-2022.css: Difference between revisions
Appearance
Orangestar (talk | contribs) No edit summary |
Orangestar (talk | contribs) pacman update broke the colors but now i fixed em :) |
||
| Line 1: | Line 1: | ||
/* so these were originally internal edits i made to the | |||
vector 2022 skin in its special variables section that's | |||
*designed* to let you write your own edits to internal | |||
variables | |||
but then a pacman update overwrote my changes | |||
so now it's all here. nyah. */ | |||
body | |||
{ | |||
background: #222; | |||
color: white; | |||
--background-color-base: #222; | |||
--primary: white; | |||
--link: #FF2020; | |||
--link-new: #AA0000; | |||
--link--visited: #FF8080; | |||
--link-new--visited: #AA4040; | |||
--heading: #CCC; | |||
} | |||
.vector-pinned-container | |||
{ | |||
background: var(--background-color-base) | |||
} | |||
a { color: var(--link); } | |||
a:visited { color: var(--link--visited); } | |||
a.new { color: var(--link-new); } | |||
a.new:visited { color: var(--link-new--visited); } | |||
.vector-toc .vector-toc-list-item-active > .vector-toc-link, | |||
.vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > .vector-toc-link, | |||
.vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > .vector-toc-link | |||
{ | |||
color: var(--white); | |||
font-weight: bold; | |||
} | |||
span.vector-icon.mw-ui-icon-unStar.mw-ui-icon-wikimedia-unStar | |||
{ | |||
filter: invert(1); | |||
} | |||
.vector-pinnable-element .mw-list-item a, | |||
.vector-dropdown-content .mw-list-item a, | |||
.vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited, | |||
.vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited, | |||
.vector-toc .vector-toc-link, | |||
.vector-menu-tabs .mw-list-item a, | |||
#pt-userpage-2 a:not(.mw-selflink) | |||
{ | |||
color: var(--link) | |||
} | |||
.vector-pinnable-element .vector-menu-heading { | |||
color: var(--heading); | |||
} | |||
/* Edits to "zebra design" popups like the visual editor to let them look nice with our color hacks */ | |||
.vector-feature-zebra-design-disabled body { | .vector-feature-zebra-design-disabled body { | ||
background-color: #321616; /* @background-color-interactive-subtle */ | background-color: #321616; /* @background-color-interactive-subtle */ | ||
Revision as of 07:08, 3 August 2024
/* so these were originally internal edits i made to the
vector 2022 skin in its special variables section that's
*designed* to let you write your own edits to internal
variables
but then a pacman update overwrote my changes
so now it's all here. nyah. */
body
{
background: #222;
color: white;
--background-color-base: #222;
--primary: white;
--link: #FF2020;
--link-new: #AA0000;
--link--visited: #FF8080;
--link-new--visited: #AA4040;
--heading: #CCC;
}
.vector-pinned-container
{
background: var(--background-color-base)
}
a { color: var(--link); }
a:visited { color: var(--link--visited); }
a.new { color: var(--link-new); }
a.new:visited { color: var(--link-new--visited); }
.vector-toc .vector-toc-list-item-active > .vector-toc-link,
.vector-toc .vector-toc-level-1-active:not(.vector-toc-list-item-expanded) > .vector-toc-link,
.vector-toc .vector-toc-list-item-active.vector-toc-level-1-active > .vector-toc-link
{
color: var(--white);
font-weight: bold;
}
span.vector-icon.mw-ui-icon-unStar.mw-ui-icon-wikimedia-unStar
{
filter: invert(1);
}
.vector-pinnable-element .mw-list-item a,
.vector-dropdown-content .mw-list-item a,
.vector-pinnable-element .mw-list-item a:not(.mw-selflink):visited,
.vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited,
.vector-toc .vector-toc-link,
.vector-menu-tabs .mw-list-item a,
#pt-userpage-2 a:not(.mw-selflink)
{
color: var(--link)
}
.vector-pinnable-element .vector-menu-heading {
color: var(--heading);
}
/* Edits to "zebra design" popups like the visual editor to let them look nice with our color hacks */
.vector-feature-zebra-design-disabled body {
background-color: #321616; /* @background-color-interactive-subtle */
}
.vector-feature-zebra-design-disabled #vector-main-menu-pinned-container .vector-main-menu {
background-color: #242424; /* @background-color-base */
}
h1, h2, h3, h4, h5, h6 {
color: #DDD; /* @color-base */
}
.catlinks, figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
background: #161616;
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption, figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element, .catlinks {
border-color: #080808;
}
.wikitable {
background: #242424;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #331616;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border-color: #494949;
}
.mw-parser-output div.documentation, .mw-parser-output div.documentation-metadata {
/* Over-qualifying this selector makes it take precedence */
background-color: #03130a;
}
label.cdx-button:enabled, label.cdx-button.cdx-button--fake-button--enabled {
color: #DDD;
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
color:#ff6464;
}
.oo-ui-window-frame {
color: #101010;
}
@media (max-width: 720px) {
.mw-logo .mw-logo-container {
display: none;
}
.mw-logo .mw-logo-icon {
display: block;
}
}
@media (min-width: 720px) {
.mw-logo .mw-logo-icon {
display: none;
}
}
@media screen and (min-width: 1000px) {
/* this is it. this is the worst CSS i've ever written before in my life. */
.mw-logo .mw-logo-container {
display: none;
}
.mw-logo .mw-logo-icon {
display: block;
width: 100%;
object-fit: cover;
overflow: visible;
object-position: top;
}
.vector-main-menu-container {
padding-top: 124px;
position: relative;
}
.vector-menu-content-list a[href=\/w\/Main_Page]::before {
position: absolute;
top: -70px;
left: 0;
right: 0;
bottom: 200px;
content: '';
}
}