MediaWiki:Timeless.css: Difference between revisions
From VRChat Wiki
No edit summary |
No edit summary |
||
Line 1,028: | Line 1,028: | ||
*/ | */ | ||
pre { | pre:not(.mw-highlight) { | ||
color: white; | color: white; | ||
background-color: rgba(0, 0, 0, 0.25); | background-color: rgba(0, 0, 0, 0.25); |
Revision as of 17:10, 21 August 2024
/* GENERAL THINGS:
- Responsive page design will be fairly fucky with a number of these changes; I'm fixing the really big/notable ones where I can, but it's frankly not something I have a ton of bandwidth to really tackle alone, help would be VERY appreciated since I'm mainly focused on the primary display use-case (1080p+ desktop)
- Colors are a mix of the below codes (taken from VRC's site directly) and some arbitrary ones I marked, ALL OF THAT IS SUBJECT TO CHANGE
- I'm generally working on things pretty asyncronously, so it's likely I *did* notice some spots I might've missed but tend to jump around a lot so... it'll happen when it happens (or you can help!!)
*/
:root {
--faux-white: #f8f9fa;
--blue-text: #6ae3f9;
--more-dark-green: #07242b;
--more-dark-green-border: #053c48;
--less-dark-green: #07343f;
--less-dark-green-border: #086c84;
--more-dark-grey: #181b1f;
--more-dark-grey-border: #282a2e;
--less-dark-grey: #252a30;
--less-dark-grey-border: #3c4148;
--link: #6bd4ff;
--link-hover: #468ca9;
--link-visited: #509fdd;
--link-visited-hover: #3874a3;
}
/* establish faux white text globally */
body {
color: var(--faux-white);
}
/* main BG, INVESTIGATE SCALING AND POSSIBLY DITHERING THE GRADIENT */
body {
background: #10171c;
background-image: url('https://wiki-files.vrchat.com/Wiki_Background.jpeg');
background-size: 100%;
background-repeat: no-repeat;
background-position: top center;
}
#mw-wrapper {
background: linear-gradient(to bottom, #10171c00 20vh, #10171c 55vh), linear-gradient(to right, #10171c 1vw, #10171c00 15vw, #10171c00 85vw, #10171c 99vw);
}
/* ugly serif fonts BEGONE */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
.mw-body dt,
#personal h2 {
font-family: "Exo 2", "Linux Libertine", "Times New Roman", "Liberation Serif", "Nimbus Roman", "Noto Serif", "Times", serif;
font-weight: 600;
}
body {
font-family: "Noto Sans", "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Lato", "Liberation Sans", "Helvetica Neue", "Helvetica", sans-serif;
}
/*
▀███▀▀▀██▄ ▄▄█▀▀██▄ ▀███▀▀▀██▄ ▀███▀ ▀██▀
██ ████▀ ▀██▄ ██ ▀██▄ ███ ▄█
██ ███▀ ▀██ ██ ▀██ ███ ▄█
██▀▀▀█▄▄█ ██ ██ ██ ████
██ ▀██▄ ▄██ ██ ▄██ ██
██ ▄███▄ ▄██▀ ██ ▄██▀ ██
▄████████ ▀▀████▀▀ ▄████████▀ ▄████▄
*/
/* shift the upper margins to be tighter with the header */
@media screen and (min-width: 1100px) {
#mw-content-container {
margin-top: 2.5em;
}
}
/* colors! :D */
#mw-content-container {
background: transparent;
}
#mw-content {
background: var(--more-dark-grey);
color: var(--faux-white);
border: solid var(--more-dark-grey-border);
}
/* these are kinda arbitrary */
#mw-content a:not(.new, .new a) {
color: var(--link);
}
#mw-content a:hover:not(.new, .new a) {
color: var(--link-hover);
}
#mw-content a:visited:not(.new, .new a) {
color: var(--link-visited);
}
#mw-content a:visited:hover:not(.new, .new a) {
color: var(--link-visited-hover);
}
/* CURSED icon inversion, I'm fucking INSANE */
#p-namespaces a,
#p-namespaces a span,
#p-views a,
#p-views a span,
.mw-editsection,
.mw-editsection a {
filter: invert(1);
}
/* [LOUD SCREAMING] */
.mw-helplink {
color: #942b00 !important;
filter: invert(1);
}
/* roundin' the corners! (subject to change) */
@media screen and (min-width: 1100px) {
#mw-content {
border-radius: 15px;
}
}
/* vertically aligning the top of the body content box with the sidebars */
@media screen and (min-width: 1100px) {
#mw-content-wrapper {
padding: 1em 0 0;
}
}
/* DROP SHADOWS MY BELOVED */
#mw-content {
box-shadow: 0 0 0.7rem #000;
}
/* move page titles post-namespace a *bit* to the right in order to space 'em better */
.mw-page-title-separator {
margin-right: 0.25em;
}
/* general TOC theming */
ul#filetoc,
.toc,
.toccolours,
.mw-warning {
background: var(--less-dark-grey);
border: 3px solid var(--less-dark-grey-border);
box-shadow: 0 0 4px #000;
border-radius: 15px;
}
/* general content thumbnail theming */
.thumbinner {
background: var(--less-dark-grey);
border: solid var(--less-dark-grey-border);
border-radius: 10px;
}
.thumbinner .thumbimage,
.thumbborder {
border: 0;
box-shadow: 0 0 0.1rem #000;
}
.thumb:not(.gallerybox div.thumb) {
filter: drop-shadow(0 0 6px #000);
}
/* gallery theming */
.mw-body li.gallerybox div.thumb {
background-color: var(--less-dark-grey);
border: solid var(--less-dark-grey-border);
border-radius: 10px;
}
ul.gallery, .mw-body li.gallerybox div.thumb {
margin: 0;
}
.gallerybox {
margin: 0.25em;
filter: drop-shadow(0 0 4px #000);
}
/* code block theming */
code {
background: var(--less-dark-grey);
border: 1px solid var(--more-dark-grey);
color: var(--faux-white);
}
/* table theming; COLORS ARE ARBITRARY */
.wikitable,
.mw-datatable {
color: #fff;
}
.wikitable,
.wikitable > * > tr > th,
.mw-datatable th {
background: #17181d;
}
.wikitable tr,
.mw-datatable tr td,
.mw-datatable tr:hover td {
background: #2d3135;
}
.wikitable tr:nth-child(2n),
.mw-datatable tr:nth-child(2n) td,
.mw-datatable tr:nth-child(2n) td:hover {
background: #212428;
}
.wikitable,
.wikitable > * > tr > th,
.wikitable > * > tr > td,
.mw-datatable,
.mw-datatable > * > tr > th,
.mw-datatable > * > tr > td {
border: 2px solid #414b57;
}
/* table multi-line cell text margin fix */
.wikitable p{
margin: 0;
}
/* revision history theming fixes */
#pagehistory li.selected{
background: #2d3135;
color: var(--faux-white);
outline: 1px dashed #6e7d8f;
}
/* diffs theming */
.diff-context {
background: var(--less-dark-grey);
border-color: #41474c;
color: inherit;
}
.diff-addedline {
border-color: #24671f;
}
.diff-addedline .diffchange {
background: #244527;
}
.diff-deletedline {
border-color: #7d2525;
}
.diff-deletedline .diffchange {
background: #4f2c2c;
}
/* FIRST CELL MAIN PAGE INLINE */
@media screen and (max-width: 1099px) {
#first-cell{
display: inline;
}
}
@media screen and (min-width: 1100px) {
#first-cell{
display: flex;
}
}
/* fixes the unreadable white text on bright yellow background default */
.not-patrolled {
background-color: #282a1a;
}
/*
▀██▀ ▀█▄ ▀█▀ ▀██▀▀▀▀█ ▄▄█▀▀██ ▀██▀▀█▄ ▄▄█▀▀██ ▀██▀ ▀█▀
██ █▀█ █ ██ ▄ ▄█▀ ██ ██ ██ ▄█▀ ██ ██ █
██ █ ▀█▄ █ ██▀▀█ ██ ██ ██▀▀▀█▄ ██ ██ ██
██ █ ███ ██ ▀█▄ ██ ██ ██ ▀█▄ ██ █ ██
▄██▄ ▄█▄ ▀█ ▄██▄ ▀▀█▄▄▄█▀ ▄██▄▄▄█▀ ▀▀█▄▄▄█▀ ▄█ ██▄
*/
.pi-theme-official,
.pi-theme-community {
background: var(--less-dark-grey);
--pi-secondary-background: transparent;
border: 5px solid var(--less-dark-grey-border);
color: #f8f9fa;
margin-left: 2em;
border-radius: 20px;
box-shadow: 0 0 8px #000;
padding: 0;
}
.skin-timeless #mw-content-text .pi-data-label {
font-family: 'Exo 2';
}
.pi-title, .pi-header {
text-align: center;
}
.pi-data-value {
display: flex;
align-items: center;
}
.portable-infobox .pi-data-value > :not(ul) {
margin: 0;
}
.portable-infobox .pi-title, .portable-infobox .pi-header {
padding: 0;
}
.portable-infobox .pi-title p, .portable-infobox .pi-header p{
margin: .75em 0;
}
.pi-data, .pi-group {
border-bottom-width: 2px;
}
.portable-infobox h2::after {
border-bottom: 3px solid var(--less-dark-grey-border) !important;
}
.portable-infobox .pi-border-color {
border-color: var(--less-dark-grey-border);
}
.pi-title p {
font-weight: 700;
}
/*
▀██ ██▀ ▀██▀▀▀▀█ ▀██▀▀█▄ ▀██▀ █ ▀██ ▀██▀ ▀█▀ ▀██▀ ▀██▀ █▀ ▀██▀
███ ███ ██ ▄ ██ ██ ██ ███ ▀█▄ ▀█▄ ▄▀ ██ ██ ▄▀ ██
█▀█▄▄▀██ ██▀▀█ ██ ██ ██ █ ██ ██ ██ █ ██ ██▀█▄ ██
█ ▀█▀ ██ ██ ██ ██ ██ ▄▀▀▀▀█▄ ███ ███ ██ ██ ██ ██
▄█▄ █ ▄██▄ ▄██▄▄▄▄▄█ ▄██▄▄▄█▀ ▄██▄ ▄█▄ ▄██▄ █ █ ▄██▄ ▄██▄ ██▄ ▄██▄
*/
/* preferences colors */
.oo-ui-panelLayout-framed {
border: 3px solid #444d57;
color: #fff;
}
.oo-ui-tabSelectWidget-framed {
background: var(--less-dark-grey);
}
.oo-ui-menuLayout-content {
background: #1b1f23;
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed,
.mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
border-color: #444d57;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
background: #1b1f23;
color: #fff;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled:hover,
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
background: #1b1f23;
color: inherit;
}
/* arbitrary choices for the buttons here, remove "#mw-prefs-form" if applying globally later */
#mw-prefs-form .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background: #101315;
border: 2px solid #232a2e;
}
#mw-prefs-form .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: #1d2327;
border: 2px solid #364046;
}
/* dropdowns */
.oo-ui-menuSelectWidget {
background: #161b1e;
border-color: #000;
box-shadow: 0 0 5px #000;
}
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
color: #fff;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
background: #0c0f10;
}
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
background: #101415;
}
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
background: #151719;
border: 1px solid #2f363b;
color: #fff;
}
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
background: #202326;
border: 1px solid #3e484e;
color: #fff;
}
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
outline: 0;
box-shadow: none;
border-color: #2f363b;
}
/* TEMPORARY THEMING JUST TO BE GOOFY, FIGURE OUT WHAT TO DO WITH THIS BUTTON LATER */
.mw-prefs-buttons {
background: transparent;
border: 0;
box-shadow: 0 0 10px #000;
}
.oo-ui-tabOptionWidget {
color: #ffffffab;
}
/* search theming */
.mw-body .mw-search-profile-tabs {
background: #151719;
border: solid #2f363b;
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
background: #101315;
border: 2px solid #232a2e;
color: #fff;
}
.oo-ui-indicator-clear {
filter: invert(1);
top: 8px;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background: #101315;
border: 0;
color: inherit;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: #141719;
}
/* date search theming, ROUGH FOR MVP- FIX LATER */
.mw-widget-dateInputWidget-calendar {
filter: invert(1);
}
.mw-widget-dateInputWidget,
.mw-widget-dateInputWidget input:not(.mw-widgets-datetime-dateTimeInputWidget-editField):not(.mw-history-compareselectedversions-button) {
margin: 0;
}
/* notification popups */
.mw-notification {
background: var(--more-dark-green);
border-color: var(--less-dark-green);
color: var(--faux-white);
}
.mw-parser-output a.external, .link-mailto, .link-ftp, .link-irc, .link-audio, .link-video, .link-document {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgY2xhc3M9Imx1Y2lkZSBsdWNpZGUtZXh0ZXJuYWwtbGluayI+PHBhdGggZD0iTTE1IDNoNnY2Ii8+PHBhdGggZD0iTTEwIDE0IDIxIDMiLz48cGF0aCBkPSJNMTggMTN2NmEyIDIgMCAwIDEtMiAySDVhMiAyIDAgMCAxLTItMlY4YTIgMiAwIDAgMSAyLTJoNiIvPjwvc3ZnPg==);
background-position: center right;
background-repeat: no-repeat;
padding-right: 1.5em;
background-size: 16px;
}
/* recent changes filters */
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
background: var(--less-dark-grey);
border: 2px solid var(--less-dark-grey-border); /* could be thicker? */
}
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
color: var(--faux-white);
}
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled, .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
background: var(--more-dark-grey);
border: 1px solid #000;
color: var(--faux-white);
}
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
background: var(--more-dark-grey);
border: 2px solid var(--more-dark-grey-border);
}
/* tag popups, SNEAKY. */
.mw-rcfilters-ui-tagItemWidget-popup-content {
color: var(--faux-white);
}
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::before, .oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor::after {
border-top-color: var(--more-dark-grey-border);
}
/* dropdowns YIPPEE */
.mw-rcfilters-ui-filterMenuHeaderWidget-header, .mw-rcfilters-ui-filterMenuSectionOptionWidget {
background: var(--less-dark-grey);
}
.mw-rcfilters-ui-itemMenuOptionWidget-label-title, .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label, .mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
color: var(--faux-white);
}
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
color: #9fa0a0;
}
.mw-rcfilters-ui-menuSelectWidget-footer {
background: var(--less-dark-grey);
border-top: 1px solid var(--less-dark-grey-border);
}
.mw-rcfilters-ui-filterMenuHeaderWidget-header, .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
border-bottom: 2px solid var(--less-dark-grey-border);
}
/* kinda reddish tint to signify the muted filter categories on selection */
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
background: #322c2c;
}
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-title, .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
color: #c38787;
}
/* sneaky bastard. */
.mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget {
border-bottom: 0;
}
/* recent changes settings, RE-DO THESE LATER */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus, .oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
box-shadow: none;
}
/* recent changes index legend */
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
background: var(--less-dark-green);
border: solid var(--less-dark-green-border);
color: var(--faux-white);
box-shadow: 0 0 0.4rem #000;
}
/* submission button */
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 2px solid var(--less-dark-grey);
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 2px solid var(--less-dark-grey);
}
/* replace text page (this exists???) */
.ext-replacetext-searchoptions {
background: transparent;
}
/* QUICK HACK (I'M REALLY TIRED); PLEASE ACTUALLY THEME THIS LATER */
#powersearch #target, #powersearch #replacement, .ext-replacetext-searchoptions [name="category"], .ext-replacetext-searchoptions [name="prefix"] {
filter: invert(1);
}
/*
▄█▀▀▀█▄█████▀███▀▀▀██▄ ▀███▀▀▀███▀███▀▀▀██▄ ██ ▀███▀▀▀██▄ ▄█▀▀▀█▄█
▄██ ▀█ ██ ██ ▀██▄ ██ ▀█ ██ ██ ▄██▄ ██ ▀██▄▄██ ▀█
▀███▄ ██ ██ ▀██ ██ █ ██ ██ ▄█▀██▄ ██ ▄██ ▀███▄
▀█████▄ ██ ██ ██ ██████ ██▀▀▀█▄▄ ▄█ ▀██ ███████ ▀█████▄
▄ ▀██ ██ ██ ▄██ ██ █ ▄ ██ ▀█ ████████ ██ ██▄ ▄ ▀██
██ ██ ██ ██ ▄██▀ ██ ▄█ ██ ▄█ █▀ ██ ██ ▀██▄██ ██
█▀█████▀▄████▄████████▀ ▄██████████████████▄███▄ ▄████▄████▄ ▄███▄▀█████▀
*/
/* colors! :D */
@media screen and (min-width: 1100px) {
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: var(--less-dark-grey);
color: var(--faux-white);
border: solid var(--less-dark-grey-border);
}
}
/* these are kinda arbitrary */
.sidebar-chunk a:not(.new, .new a) {
color: var(--link);
}
.sidebar-chunk a:hover:not(.new, .new a) {
color: var(--link-hover);
}
.sidebar-chunk a:visited:not(.new, .new a) {
color: var(--link-visited);
}
.sidebar-chunk a:visited:hover:not(.new, .new a) {
color: var(--link-visited-hover);
}
/* round the corners for the sidebars a bit */
.sidebar-chunk {
border-radius: 15px;
}
/* main logo */
#p-logo {
display: inline;
}
@media screen and (max-width: 1099px) {
#p-logo {
display: none;
}
}
/* DROP SHADOWS MY BELOVED */
@media screen and (min-width: 1100px) {
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
box-shadow: 0 0 0.7rem #000;
}
}
/* shortens the margins between sections a bit */
@media screen and (min-width: 1100px) {
#mw-site-navigation .sidebar-chunk .mw-portlet-body,
#mw-related-navigation .sidebar-chunk .mw-portlet-body {
margin-bottom: 1.5em;
}
}
/* make the "related navigation" bar equal to the main nav bar (WHY WAS IT DIFFERENT) */
#mw-related-navigation {
width: 14em;
flex: 0 0 14em;
}
/* inverts mobile menus */
#site-navigation h2, #site-tools h2, .tools-inline .dropdown-toggle {
filter: invert(1);
}
/* fix mobile settings menu misalignment */
@media screen and (max-width: 1099px) {
#site-tools h2 {
right: 4em;
}
#user-tools h2 {
right: 0;
}
}
/* Changes mobile sidebar to match */
@media screen and (max-width: 1099px) {
.sidebar-inner,
.dropdown {
background: var(--less-dark-grey);
color: var(--faux-white);
border: solid 3px var(--less-dark-grey-border);
border-radius: 15px;
}
}
/* adjusts the menu cover (greys out stuff behind the sidebar) to match theming */
@media screen and (max-width: 1099px) {
#menus-cover {
background: var(--more-dark-grey);
opacity: 0.75;
}
}
/* fix for mobile borders at bottom */
@media screen and (max-width: 1099px) {
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
border: 0;
}
}
/*
▀████▀ ▀████▀▀███▀▀▀███ ██ ▀███▀▀▀██▄ ▀███▀▀▀███▀███▀▀▀██▄
██ ██ ██ ▀█ ▄██▄ ██ ▀██▄ ██ ▀█ ██ ▀██▄
██ ██ ██ █ ▄█▀██▄ ██ ▀██ ██ █ ██ ▄██
██████████ ██████ ▄█ ▀██ ██ ██ ██████ ███████
██ ██ ██ █ ▄ ████████ ██ ▄██ ██ █ ▄ ██ ██▄
██ ██ ██ ▄█ █▀ ██ ██ ▄██▀ ██ ▄█ ██ ▀██▄
▄████▄ ▄████▄▄█████████████▄ ▄████▄████████▀ ▄██████████████▄ ▄███▄
*/
/* fundamental layout adjustments */
#mw-header-container {
position: relative;
padding-top: 5em;
}
#mw-header {
max-width: 115em;
justify-content: right;
}
/* colors! :D */
#mw-header-container,
#mw-header-hack .color-middle,
#mw-header-hack .color-left,
#mw-header-hack .color-right {
background: transparent;
}
#mw-header-hack {
box-shadow: 0 0;
}
#mw-header-container {
color: #fff;
}
/* title text removal */
#p-logo-text {
display: none;
}
/* searchbar theming and adjustments */
#simpleSearch {
background: var(--less-dark-grey);
border: solid 2px #39404a;
}
#searchInput {
color: #fff;
}
#p-search {
flex: 0 1 auto;
padding-right: 1em;
}
#p-search input:focus {
outline: none;
}
#searchInput::placeholder {
opacity: .8;
font-weight: 500;
}
input#searchButton, #mw-searchButton {
filter: invert(1);
right: 0.5em;
}
/* account box theming and adjustments */
@media screen and (min-width: 1100px) {
#user-tools {
background: var(--less-dark-grey);
border-radius: 8px;
border: solid 2px #39404a;
box-shadow: 0 0 0.4rem #000;
transition: background-color 0.1s ease-in-out;
}
#user-tools:has(.dropdown-active) {
background: #16191c;
border: solid 2px #24282e;
}
}
/* [sobbing] [throwing up] */
#personal h2, #personal h2 span {
filter: invert(1);
}
/* account box adjustments */
#user-tools {
width: 12.5em; /* magic number, NO IDEA why it has to be different from the column below it to *kinda* match it in width, investigate later */
min-width: 0;
display: flex;
justify-content: center;
}
/* account name fix */
#personal {
padding: 0;
}
#personal h2 {
padding: .25em 0 0 1.5em; /* magic numbers */
}
/* dropdown theming, totally arbitrary, please change */
#personal .dropdown {
background: #1e262c;
border: solid #252e34;
}
/* I HATE CHEVRONS MADE LIKE THIS */
#personal .dropdown:before {
border-bottom: 10px solid transparent;
}
#personal .dropdown::after {
border-bottom-color: #252e34;
top: -10px;
}
/*
▀███▀▀▀███ ▄▄█▀▀██▄ ▄▄█▀▀██▄ ███▀▀██▀▀██████▀▀▀███▀███▀▀▀██▄
██ ▀███▀ ▀██▄██▀ ▀██▄▀ ██ ▀█ ██ ▀█ ██ ▀██▄
██ █ ██▀ ▀███▀ ▀██ ██ ██ █ ██ ▄██
██▀▀██ ██ ███ ██ ██ ██████ ███████
██ █ ██▄ ▄███▄ ▄██ ██ ██ █ ▄ ██ ██▄
██ ▀██▄ ▄██▀██▄ ▄██▀ ██ ██ ▄█ ██ ▀██▄
▄████▄ ▀▀████▀▀ ▀▀████▀▀ ▄████▄ ▄██████████████▄ ▄███▄
*/
/* colors! :D */
.mw-footer-container {
border-top: solid 1px var(--less-dark-grey);
background: #1a1d1c;
/* background-image: url('https://i.imgur.com/Z2x34d3.jpeg'), linear-gradient(120deg, transparent 15%, #1a1d1c 25%);
background-size: contain;
background-repeat: no-repeat; */
}
/* FIGURE OUT POTENTIALLY HAVING CUSTOM IMAGES IN THE FOOTER LATER
.mw-footer-container::after {
background: linear-gradient(120deg, transparent 20%, #1a1d1c 30%);
} */
/* center it a bit more */
.mw-footer {
max-width: 80em;
}
/* not really the footer *per-se* but mobile categories theming (it's at the bottom of the page) */
#content-bottom-stuff {
background: #10171c;
}
#content-bottom-stuff a:not(.new, .new a) {
color: var(--link);
}
#content-bottom-stuff a:visited:not(.new, .new a) {
color: var(--link-visited);
}
/* fix ghost margin at bottom of page */
.mw-footer ul,
.mw-footer li {
margin: 0;
padding: .3em 0;
}
body{
margin: 0 !important;
}
/*
▀███▀▀▀███▀███▀▀▀██▄ ▀████▀██▀▀██▀▀███ ▄▄█▀▀██▄ ▀███▀▀▀██▄
██ ▀█ ██ ▀██▄ ██ █▀ ██ ▀███▀ ▀██▄ ██ ▀██▄
██ █ ██ ▀██ ██ ██ ██▀ ▀██ ██ ▄██
██████ ██ ██ ██ ██ ██ ██ ███████
██ █ ▄ ██ ▄██ ██ ██ ██▄ ▄██ ██ ██▄
██ ▄█ ██ ▄██▀ ██ ██ ▀██▄ ▄██▀ ██ ▀██▄
▄██████████████████▀ ▄████▄ ▄████▄ ▀▀████▀▀ ▄████▄ ▄███▄
*/
/*
▀██▀ ▀█▀ ▀██▀ ▄█▀▀▀▄█ ▀██▀ ▀█▀ █ ▀██▀
▀█▄ ▄▀ ██ ██▄▄ ▀ ██ █ ███ ██
██ █ ██ ▀▀███▄ ██ █ █ ██ ██
███ ██ ▄ ▀██ ██ █ ▄▀▀▀▀█▄ ██
█ ▄██▄ █▀▄▄▄▄█▀ ▀█▄▄▀ ▄█▄ ▄██▄ ▄██▄▄▄▄▄█
*/
/* colors! :D */
.oo-ui-toolbar-bar,
.oo-ui-toolbar-position-top>.oo-ui-toolbar-bar {
background-color: var(--less-dark-grey);
}
.oo-ui-menuToolGroup {
border: 0;
}
.oo-ui-popupToolGroup.oo-ui-widget-enabled>.oo-ui-popupToolGroup-handle:hover,
.oo-ui-tool.oo-ui-widget-enabled>.oo-ui-tool-link:hover {
background: #0000003d;
}
.oo-ui-toolbar-bar {
color: inherit;
}
.oo-ui-popupWidget-popup {
background: var(--more-dark-grey);
border: 2px solid var(--less-dark-grey);
}
/* fix awkward right-borders */
.oo-ui-toolbar-actions .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle {
border: 0;
}
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
border-bottom: 0;
}
/* invert the icons (stinky) */
.oo-ui-iconElement-icon:not(.tool-active, .tool-active span),
.oo-ui-indicator-down{
filter: invert(1);
}
/* round the corners */
.mw-body .oo-ui-toolbar-bar {
border-radius: 15px 15px 0 0;
}
/* image gallery box theming */
.ve-ui-mwGalleryDialog-highlighted-image {
background: transparent;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}
.ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
background: var(--more-dark-grey);
}
.ve-ui-targetWidget {
border: 1px solid var(--less-dark-grey)
}
.ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container {
border: 1px solid var(--less-dark-green-border);
}
/* UPLOAD BOX THEMING */
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame,
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
border: 3px solid var(--less-dark-grey);
background-color: var(--more-dark-grey);
border-radius: 16px;
overflow: hidden;
}
.ve-ui-mwSaveDialog-options {
background: var(--more-dark-grey);
border: 0;
}
.oo-ui-processDialog-content .oo-ui-window-head, .oo-ui-processDialog-content .oo-ui-window-foot {
outline: 2px dotted var(--less-dark-grey);
}
.ve-ui-mwSaveDialog-license {
color: var(--faux-white);
}
.oo-ui-windowManager-modal > .oo-ui-dialog {
background: #0008;
}
.oo-ui-messageDialog-message {
color: inherit;
}
/* UPLOAD BOX ERROR */
.oo-ui-processDialog-errors {
background: #0009;
backdrop-filter: blur(4px);
}
.oo-ui-processDialog-errors-title {
color: inherit;
background: transparent;
}
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error {
background-color: #220000;
border-color: #d33;
}
/* THIS IS SO FUCKING CURSED */
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Thumb"] > figcaption {
width: auto !important; /* AAAAAAAAAAAAAAAAAAAAAAAAAAA */
background: var(--more-dark-green);
border: solid var(--less-dark-green);
border-top: 0;
}
figure.ve-ce-mwBlockImageNode{
border: solid var(--less-dark-green);
border-bottom: 0;
}
figure[typeof~="mw:File/Thumb"] > a:first-child > :first-child:not(.mw-broken-media) {
border: 0;
}
/* popups */
.mwe-popups {
border: solid 3px var(--less-dark-grey-border);
border-radius: 15px;
overflow: hidden;
}
.mwe-popups, .mwe-popups-container, .mwe-popups .mwe-popups-extract {
background: var(--less-dark-grey) !important;
color: var(--faux-white);
}
.mwe-popups .mwe-popups-extract[dir="ltr"]::after {
background-image: linear-gradient(to right,rgba(255,255,255,0), var(--less-dark-grey) 50%);
}
.mwe-popups-settings-icon {
filter: invert(1);
}
/*
▄█▀▀▀▄█ ▄▄█▀▀██ ▀██▀ ▀█▀ ▀██▀▀█▄ ▄▄█▀▀▀▄█ ▀██▀▀▀▀█
██▄▄ ▀ ▄█▀ ██ ██ █ ██ ██ ▄█▀ ▀ ██ ▄
▀▀███▄ ██ ██ ██ █ ██▀▀█▀ ██ ██▀▀█
▄ ▀██ ▀█▄ ██ ██ █ ██ █▄ ▀█▄ ▄ ██
█▀▄▄▄▄█▀ ▀▀█▄▄▄█▀ ▀█▄▄▀ ▄██▄ ▀█▀ ▀▀█▄▄▄▄▀ ▄██▄▄▄▄▄█
*/
/* OKAY *FINE*, rough work for now */
/* toolbar theming */
.wikiEditor-ui-toolbar {
background: var(--less-dark-grey);
}
.wikiEditor-ui-toolbar .group,
.wikiEditor-ui-toolbar .sections .section,
.wikiEditor-ui .wikiEditor-ui-top,
.wikiEditor-ui .wikiEditor-ui-view,
div.editOptions {
border-color: var(--more-dark-grey);
}
.wikiEditor-ui-toolbar .group .label {
color: inherit;
}
div.editOptions {
background: var(--less-dark-grey);
color: inherit;
}
/* haha what if...... just kidding...... *unless?*
.wikiEditor-ui-text{
filter: invert(1);
}
*/
pre:not(.mw-highlight) {
color: white;
background-color: rgba(0, 0, 0, 0.25);
border: none;
border-radius: 16px;
}