MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
TheOnlyZac (talk | contribs) Important on sidebar styles |
TheOnlyZac (talk | contribs) Fix sidebar heading color/font-weight |
||
Line 55: | Line 55: | ||
background-image: none !important; |
background-image: none !important; |
||
color: #7996C7; |
color: #7996C7 !important; |
||
font-weight: bold; |
font-weight: bold !important; |
||
} |
} |
||
Revision as of 18:40, 6 May 2024
/*
* SlyMods Wiki custom Vector CSS
*/
/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
color: #99c3f0;
border-color: #3F6897;
}
/* DOCUMENT BODY */
body.skin-vector {
background: linear-gradient(-4deg, black 1%, #010239 50%) fixed !important;
background-repeat: no-repeat;
background-attachment: fixed;
}
#mw-page-base {
background: transparent;
}
/* VECTOR TABS */
.vectorTabs,.vectorTabs ul,.vectorTabs ul li,.vectorTabs li.selected,.vectorTabs ul li span,div#mw-head div.vectorMenu h3,.vector-menu-tabs * > .mw-list-item {
background: transparent;
}
.vector-menu-tabs,.vector-menu-tabs a,#mw-head .vector-menu-dropdown h3 {
background: none;
}
.vector-menu-tabs .new a {
color: #db3030 !important;
}
/* more menu stuff */
.vector-menu-dropdown h3 {
color: #29d1fc;
}
.vector-menu-dropdown * > a {
color: black !important;
}
.vectorTabs li.selected a {
color: #fcffe4 !important;
}
/* VECTOR SIDEBAR */
h3.vector-menu-heading {
margin: 0 !important;
padding-left: 0.5em !important;
background-color: #020237;
border-bottom: 1px solid #3E6897 !important;
background-image: none !important;
color: #7996C7 !important;
font-weight: bold !important;
}
.vector-menu-portal {
margin: 5px 3px 10px 3px !important;
padding-top: 0 !important;
border: 1.5px solid #3E6897;
border-radius: 2px;
background-color: #102A50;
box-shadow: 0px 0px 7px -1px #385486;
}
/* SEARCH BOX */
.skin-vector #simpleSearch input {
color: white;
}
.skin-vector #simpleSearch input::placeholder {
color: lightgray;
}
/* TITLE FONTS */
#mw-head, .mw-page-title-main, h3.vector-menu-heading, .vector-menu-portal {
font-family: 'Skia', sans-serif !important;
}
/* MEDIAWIKI BODY */
.mw-body {
margin-right: 16px !important;
border-radius: 3px;
border: 2px solid #3E6897;
box-shadow: 0px 0px 7px #385486;
background-color: #102A51;
color: #99c3f0;
}
/* BODY LINKS */
#mw-head a, .skin-vector #mw-panel .portal .body li a, .skin-vector #mw-panel .portal .body li a:visited, .skin-vector div#mw-head div.vectorMenu h3 span, .skin-vector #footer a {
/*color: #fcffe4;*/
color: #8FA9CC;
}
/* SIDEBAR LINKS */
#mw-panel * > .mw-list-item a {
color: #8FA9CC !important;
}
/* ARTICLE LINKS */
.mw-body a, .mw-body a.extiw, .mw-body a.external, .mw-body a.mw-redirect {
color: #00C0F5 !important;
}
.mw-body a:visited, .mw-body a.extiw:visited, .mw-body a.external:visited {
color: #0099c3 !important;
}
/* redlinks */
a.new {
color: #F24333 !important;
}
a.new:visited {
color: #cb3a2d !important;
}
/* DOCUMENTATION */
.documentation, .documentation-metadata {
background-color: rgba(0, 0, 0, 0.3) !important;
border-radius: 4px;
}
/* MISC BOXES */
.catlinks, .mw-collapsable, #toc {
background-color: #1C386A;
}
/* HATNOTES */
.hatnote {
text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.22),
}
/* TABLE OF CONTENTS */
.tocnumber {
color: lightgray;
}
.toctogglelabel {
color: #00C0F5;
}
/* PRE BOXES & CODE */
pre {
background-color: rgba(0, 0, 0, 0.5);
color: #f0f0f0;
border: none;
border-radius: 3px;
}
code {
background-color: #1f1f1f;
color: #f0f0f0;
border: none;
}
.mw-highlight {
filter: saturate(3)
}
.mw-highlight span[class*="n"] {
color: #0087ff !important;
}
.mw-highlight span[class*="m"] {
color: #bbbbbb !important;
}
.mw-highlight o {
color: #b9b9b9 !important;
}
/* IMAGES */
.thumb {
color: black;
}
/* MBOXES */
.ambox, .cmbox, .imbox, tmbox, .fmbox, .ombox, .mbox, .asbox, .dmbox {
background-color: rgba(0, 0, 0, 0.2) !important;
border-radius: 6px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.ambox {
border-top: none !important;
border-right: none !important;
border-bottom: none !important;
}
.fmbox {
border-left: 4px solid #AC2A2D;
}
.ombox {
border: none;
}
/* DIFFS */
.diffchange-inline {
background: rgba(0, 0, 0, 0.2) !important;
border: 1px solid #feeec8
}
.diff-context {
color: inherit;
background-color: rgba(255, 255, 255, 0.2);
border-color: lightblue;
}
.diff-deletedline {
border-color: magenta;
}
.diff-addedline {
border-color: limegreen;
}
/* ARTICLE HISTORY */
#pagehistory li.selected {
color: white;
background-color: rgba(255, 255, 255, 0.2) !important;
}
.mw-plusminus-pos {
color: #4fff07;
}
.mw-plusminus-neg {
color: magenta;
}
.mw-changeslist-legend {
color: black;
}
/* NAVBOXES */
.navbox {
color: inherit;
background-color: rgba(0,0,0,0.3) !important;
padding: 0 !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
margin-bottom: 7px !important;
}
.navbox-group, .navbox-list {
border: 1px solid rgba(100,100,100,0.1) !important;
}
.navbox-title {
background-color: rgba(50,50,50,0.2) !important;
}
.navbox-group, .navbox-abovebelow {
background-color: rgba(20,20,20,0.2) !important;
}
.navbox-abovebelow {
border-color: rgba(0,0,0,0.2) !important;
}
.navbox-odd div {
background-color: rgba(100,100,100,0.1) !important;
}
.navbox-even {
background-color: rgba(50,50,50,0.1) !important;
}
/* INFOBOXES */
table caption {
color: inherit;
}
.infobox {
padding: 0;
min-width: 300px;
max-width: 360px;
color: inherit;
text-align: left;
background-color: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
border-top: none;
border-radius: 0px 0px 1px 1px;
border-spacing: 0px 0px;
border-collapse: collapse;
}
.infobox-title {
padding: 10px;
color: inherit;
border: 1px solid rgba(255, 255, 255, 0.2);
border-bottom: none;
border-radius: 1px 1px 0px 0px;
}
.infobox-title, .infobox-header {
font-family: Verdana, Helvetica;
background-color: rgba(0, 0, 0, 0.5);
}
.infobox-above {
text-align: center;
text-indent: none;
}
.infobox img {
margin: 0;
padding: 0;
max-width: 100%;
width: 100%;
height: auto;
}
.infobox-caption {
padding: 2px 7px;
max-width: 100%;
line-height: 1.5em;
text-overflow: wrap;
}
.infobox tr * {
vertical-align: middle;
}
.infobox tr {
line-height: 2.2em;
border: 1px solid rgba(255, 255, 255, 0.1);
}
table.infobox tr:last-child {
border-bottom: none;
}
.infobox-header {
text-align: center;
margin-top: 20px;
}
.infobox-label {
width: 30%;
text-indent: 10%;
}
.infobox-label:before {
content: '';
margin-left: 5px;
}
.infobox-label, .infobox-data {
padding: 0.5em 0em;
line-height: 1.5em;
text-indent: 0px;
}
.infobox-data:before {
content: '';
margin-left: 5px;
}
.infobox-navbar {
line-height: 15px !important;
text-align: right;
}
/* WIKITABLES */
table {
display: wrap-text;
}
.wikitable {
color: inherit
}
.wikitable {
background-color: rgba(0,0,0,0.3);
}
.wikitable th {
background-color: rgba(0,0,0,0.3) !important;
}
.wikitable > * > tr > td, .wikitable > * > tr > th {
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* COMMENTS */
.c-order select {
color: inherit;
background-color: #0D2241;
}
.c-item {
color: inherit;
background-color: #0D2241;
border-bottom: 2px solid rgba(255,255,255,0.1);
}
.c-form-title {
color: inherit;
}
.c-form-button input[type=button] {
color: inherit;
background-color: #0D2241;
}
/* MANAGEWIKI */
#managewiki {
color: black;
background-color: white;
}
/* DISABLE DARK MODE */
.darkmode-link {
display: none;
}
/* ECHO BADGES */
.mw-echo-notifications-badge {
filter: invert(1);
}
/* miscellaneous styles borrowed from https://zeldamods.org */
.skin-vector #mw-panel .portal h3 {
color: #ababab;
}
.skin-vector #footer ul li {
color: #deddc8;
}
#pt-uls .uls-trigger:before {
filter: invert(1);
}
.skin-vector #mw-panel .portal .body {
background: none;
}
.skin-vector #mw-panel .portal h3 {
border-bottom: 1px solid #5f5f5f;
}
.mw-content-ltr td ol,.mw-content-rtl .mw-content-ltr td ol {
margin-left: 1.5em;
}
.page-Main_Page #firstHeading,.page-Main_Page .heading-holder {
display: none !important;
}
.resloc-box {
border: 1px solid #d2d2d2;
padding: 2px 5px;
font-size: 85%;
border-left: 5px solid #000000;
}
.resloc-box-aoc {
border-left-color: #90c;
}
.resloc-box-normal {
border-left-color: #36c;
}
.no-rstb-box-color {
border-left-color: #c00;
}
.resloc-box p {
margin: 0;
}
.resloc-box + .resloc-box,.resloc-box + link + .resloc-box {
border-top: 0;
}
.ambox + .resloc-box {
margin-top: 10px;
}
.resloc-box + .ambox,.resloc-box + .toc {
margin-top: 10px;
}