MediaWiki:Vector.css

From Airborne Kingdom Wiki
Jump to navigation Jump to search

CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

/* Framework */
body {
   background: url("https://airbornekingdom.wiki.gg/images/8/8a/Wiki-background.jpg");
   background-size: cover;
   background-position: top center;
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-color: #7D502F;
}

body #pageWrapper {
    margin-right: 5px;
}

/* Head */
#mw-head-base {
    background: transparent;
    background-image: none;
    border-bottom: 0px;
}

div#mw-page-base {
    background: transparent;
    background-image: none;
}

#mw-head { top: 1em; }

#mw-head li.new a {
    color: #db9fc9;
}


/* Tabs */
#left-navigation {
    margin-top: 20px;
}

#right-navigation {
    margin-right: 5px;
    margin-top: 20px;
}

div.vectorTabs,
div.vectorTabs span,
div.vectorTabs li.selected,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs li a {
    background: rgba(0, 0, 0, 0);
}
/*
div.vectorMenu h3 a {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("https://static.wikia.nocookie.net/commons_hydra/images/0/0b/Vector_menu_downarrow.png") !important;
    background-position: 50% 60%;
    background-repeat: no-repeat;
}
*/
div.vectorMenu .vector-menu-heading a,
div#mw-head div.vectorMenu .vector-menu-heading {
    background-color: transparent;
    background-image: none;
    border: 0px;
}

div#mw-head,
div.vectorTabs li a,
div.vectorMenu li a,
.vectorTabs li:not(.selected) a span,
div.vectorMenu .vector-menu-heading span {
    color: #555555;
    font-weight: bold;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: #ffffff !important;
    text-shadow: 1px 1px 0.1em #000000;
}

div.vectorMenu div.menu {
    background-color: #e3bc79;
    border: 1px solid #7D502F;
}

div.vectorMenu ul {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

/* Sidebar */
div#mw-panel {
    margin-top: 0px;
}

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
    background: rgba(227, 188, 121, 0.6);
    border-radius: 5px 5px 5px 5px;
    margin: 5px;
    padding-top: 5px;
}

div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
    background-image: none;
}

div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited {
    color: #000000;
}

div#mw-panel div.portal h3,
div#mw-panel div.portal h3:visited,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

div#mw-panel div#p-socialProfiles.portal .body {
    margin: auto;
}

.socialSidebar {
    width: auto;
    max-width: 100%;
}

/* Content */
div#content {
    background: rgba(227, 188, 121, 0.7);
    border: 1px solid #e3bc79;
    border-radius: 5px;
    box-sizing: border-box;
    color: #000000;
    margin-top: 0px;
}

/* anchors */
a, 
a:visited,
div#content a.extiw,
div#content a.extiw:visited,
div#content a.external, 
div#content a.external:visited {
    color: #7D502F;
    font-weight: bold;
}

.catlinks,
ul#filetoc {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #7D502F;
    border-radius: 5px;
    clear: both;
    margin-top: 1em;
    padding: 5px;
}

.catlinks li {
    border-left: none;
}

.CategoryTreeToggle {
    color: #3b82b9;
}

ul {
	list-style-type: square;
	list-style-image: none;
}

.mw-body h1, 
.mw-body h2 {
	font-family: sans-serif;
	border-bottom: 1px solid #505050;
}

#toc, .toc,
.mw-warning {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #000000;
    border-radius: 5px;
    box-shadow: 0 0.1em 0.75em #000000;
}

div.mw-warning-with-logexcerpt {
    border: 2px solid #3c83ba;
}

fieldset {
    border: 1px solid #c17e54;
    border-radius: 5px;
}

/* Footer */
footer#footer {
    background: rgba(227, 188, 121, 0.7);
    border: 1px solid #e3bc79;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

footer#footer ul li {
    color: #000000;
}

footer#footer ul li a {
    color: #ffffff;
}

/* tables */
table.wikitable {
    background: none repeat scroll 0 0 transparent;
}

table.wikitable > caption {
    color: #000000;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background: rgba(125,80,47,0.5);
    border: 1px solid #7D502F;
    color: #FFFFFF;
    text-align: center;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    border: 1px solid #7D502F;
    padding: 0.2em;
}

.wikitable th {
    background-color: #7D502F;
    border: 1px solid #7D502F;
    color: #FFFFFF;
    padding: 0.2em;
}

.wikitable td {
    border: 1px solid #7D502F;
    color: #000000;
    padding: 0.2em;
}

table.mw_metadata th {
    background: #7D502F;
    border: 1px solid #7D502F;
    color: #FFFFFF;
}

table.mw_metadata td {
    background-color: transparent;
    border: 1px solid #7D502F;
    color: #000000;
}

.mw-datatable th {
    border: 1px solid #7D502F;
}

.mw-datatable,
.mw-datatable td {
    border: 1px solid #7D502F;
}

.TablePager {
    border:1px solid #7D502F;
    color: #000000;
    padding:0 0.15em;
}

.TablePager th {
    background-color: #7D502F;
    color: #ffffff;
    border:1px solid #7D502F;
    padding:0 0.15em;
}

.TablePager tr:hover td {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: #FFFFFF;
}

.TablePager th a {
    background-color: #7D502F;
    color: #FFFFFF !important;
}
 
.TablePager td {
    background: transparent !important;
    border: 1px solid #7D502F;
    color: #000000;
}

/* colour fix for advanced search options box */
fieldset#mw-searchoptions {
    background-color: rgba(0, 0, 0, 0);
    border-color: #7D502F !important;
}

.mw-search-profile-tabs {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #7D502F;
    margin-top: 1em;
}

.mw-search-profile-tabs div.search-types ul li.current a {
    color: #000000;
}

/* Page history */
#pagehistory li {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 3px;
}

#pagehistory li.selected {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: none;
    border: 1px dashed #7D502F;
    padding: 3px;
}

table.diff {
    background: transparent;
}

td.diff-context {
    background: none repeat scroll 0 0 transparent;
    color: #000000;
}

td.diff-deletedline {
    background-color: #FFE49C;
    border-color: #FFE49C;
    color: #000000;
}

td.diff-addedline {
    background-color: #A3D3FF;
    border-color: #A3D3FF;
    color: #000000;
}

/* thumbnails and galleries and image file history */
div.thumb {
    border: 1px solid #7D502F;
    margin: 2px;
    margin-left: 6px;
}

img.thumbborder {
    border: 1px solid #7D502F;
    border-radius: 5px;
    padding: 5px;
}

div.thumbinner {
    background-color: rgba(255, 255, 255, 0.2);
    border: medium none;
}

li.gallerybox div.thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #7D502F;
    border-radius: 5px;
}

html .thumbimage {
    border: 1px solid #7D502F;
    border-radius: 5px;
}

div.tright div.tleft {
    border: 1px solid #7D502F !important;
}

div.tright {
    clear: right;
    float: right;
}

/* Preferences */
.client-js #preftoc {
    background-color: rgba(255, 255, 255, 0.5);
    border: 0px;
    margin: 0 0 4px !important;
}

.client-js #preftoc,
.client-js #preftoc li,  
.client-js #preferences, 
.client-js #preftoc li a {
    background-image: none;
    background-color: transparent;
    color: #666666;
}

.client-js #preftoc li:first-child {
    margin-bottom: 0;
    margin-left: 5px;
}

.client-js #preftoc li.selected a {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: none;
    border-color: #7D502F #7D502F #F4E6CF;
    border-radius: 5px 5px 0 0;
    border-style: solid;
    border-width: 1px;
    color: #000000;
}

.client-js #preferences {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #7D502F;
    border-radius: 5px;
}

.client-js #preferences fieldset {
    border-color: #7D502F;
}

/* wiki editor styling */
.wikiEditor-ui {
    background: rgba(0, 0, 0, 0);
    border: none;
}

.wikiEditor-ui-tabs div {
    border-bottom: 1px solid #7D502F;
    border-right: 1px solid #7D502F;
}

.wikiEditor-ui-buttons {
    background: rgba(0, 0, 0, 0);
    border-top: none;
    margin-right: 5px;
}

.wikiEditor-ui-toolbar {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.wikiEditor-ui-toolbar .tabs span.tab a,
.wikiEditor-ui-toolbar .tabs span.tab a:visited {
    color: #000000;
}

.wikiEditor-ui-toolbar .tabs span.tab a.current,
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
    color: #000000;
    font-weight: bold;
}

.wikiEditor-ui-toolbar .sections .section {
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid #7D502F;
    color: #000000;
}

.wikiEditor-ui-toolbar .page-characters div span {
    border: 1px solid #7D502F;
    color: #000000;
}

.wikiEditor-ui-toolbar .booklet .pages {
    background-color: rgba(255, 255, 255, 0.2);
}

.wikiEditor-ui-toolbar .booklet .index .current {
    background-color: rgba(255, 255, 255, 0.2);
    color: #0645ad;
}

.wikiEditor-ui-toolbar .booklet .index div {
    color: #000000;
}

.wikiEditor-ui-toolbar .page-characters div span:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #7D502F;
    color: #ffffff;
}

.wikiEditor-ui-toolbar .page-table th,
.wikiEditor-ui-toolbar .page-table td {
    color: #000000;
}

.wikiEditor-ui-toolbar .page-table td {
    border-top: 1px solid #7D502F;
}

.wikiEditor-ui-tabs div a {
    background: none repeat scroll 0 0 #7D502F;
    display: inline-block;
    color: #FFFFFF;
}

.wikiEditor-ui-tabs div.current {
    border-bottom: 1px solid #7D502F;
}

.wikiEditor-ui-tabs div.current a {
    color: #ffffff;
    font-weight: bold;
}

.wikiEditor-ui-tabs {
    border-left: 1px solid #7D502F;
    border-top: 1px solid #7D502F;
}

.wikiEditor-preview-contents {
    background: rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #7D502F;
    border-style: solid;
    border-width: 0 1px 1px;
    color: #000000;
}

.wikiEditor-ui-controls {
    background: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #7D502F;
}

.wikiEditor-preview-contents,
.wikiEditor-preview-loading {
    background-color: transparent;
}

.editOptions {  
    background-color: rgba(255, 255, 255, 0.2);
    border-color: -moz-use-text-color #4ba5ec #4ba5ec;
    border-image: none;
    border-radius: 0 0 5px 5px;
    border-style: none solid solid;
    border-width: medium 1px 1px;
}

input#wpSummary {
    margin-bottom: 1em;
    margin-top: 1em;
    width: 80%;
}

 
/* for "edit this page" tab and "discussion" tab etc */
.pagetab {
     border-style: solid solid none;
     border-width: thin;
     border-color: #808080;
     padding:0.25ex 1ex 0ex;
     font-size: 95%;
}

.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* INFOBOXES */
.infoboxtable {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #505050;
    color: #000000;
    float: right;
    font-size: 89%; 
    margin-bottom: 0.5em; 
    margin-left: 1em; 
    padding: 0.2em; 
    width: 300px;
}

.infoboxtable td {
    vertical-align: top;
}

.infoboxtable td > div {
   background: rgba(227,188,121,0.7);
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    background: rgba(227,188,121,0.7);
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0em;
}

.feature {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
}

/* Navbox template style */
table.navbox {
    border: 1px solid #7d502f;
    clear: both;
    font-size: 88%;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%; 
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(255, 255, 255, 0.2);
}

.navbox-list {
    border-color: rgba(255, 255, 255, 0.2); /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(125,80,47,0.5);
    color: #444;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(125,80,47,0.5);
    color: #333;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Odd row striping */
.navbox-odd {
    background: transparent;
}
 
.collapseButton {
    font-weight: normal;
    width: auto;
}

.navbox .collapseButton {
    width: 6em;
}
 
.navbar {
    font-size: 88%;
    font-weight: normal;
}

.navbox .navbar {
    font-size: 100%;
}
 
table.collapsed tr.collapsible {
    display: none;
}
/* End of new Navbox styling */

/********************************/
/* Front page appearance styles */
/********************************/
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #505050;
    font-weight: bold;
}

.fpbox {
    background: rgba(255,255,255, 0.3);
    border: 1px solid #505050;
    box-shadow: 0 2px 5px #505050;
}

.fplink a {
  color:#FFFFFF !important;
}

.fplink:not(.fplink-plain) {
    background: rgba(0,0,0,0.3);
    border: 1px solid #505050;
}

.fplink-fullwidth .fplink:not(.fplink-plain) {
    background: rgba(0,0,0,0.4);
}

.linkslabel {
    border-bottom: 2px solid #505050;
}

/* this CSS governs the responsive 2 column main page layout */
.fpmaybecols {
    overflow: hidden;
    margin: -5px 0;
}

.fpmaybecols + .fpmaybecols {
    margin: 0 0 -5px;
}

.fpbox .heading .smalllink {
    color: #e0e0e0;
    font-size: 75%;
    font-weight: bold;
}

.fpbox hr {
    border: none;
    border-bottom: 2px solid #505050;
}

@media (min-width: 990px) {
    .fpmain {
        padding-right: 520px;
        width: auto;
    }

    #fpbottomsection,
    #fptopsection {
        float: left;
        width: 100%;
    }

    #fpflexsection {
        float: right;
        width: 520px;
        margin-right: -520px;
    }

    #fpbottomsection {
        margin-top: -5px;
    }
}


/* New recent changes */
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle {
	background-color: rgba(0,0,0,0.2);
	border-bottom: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
	border: 1px solid #202020;
	border-bottom: 0;
	background-color: #f8f9fa;
	border-radius: 2px 2px 0 0;
	padding: 0 0.6em 0.6em 0.6em;
	margin-top: 1em;
	line-height: normal;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input::placeholder {
	color: #845976;
	opacity: 1;
	background: ;
}

.mw-rcfilters-ui-filterMenuHeaderWidget-header {
	border-bottom: 1px solid #202020;
	background-color: #E3C792;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	background-color: rgba(0,0,0,0.2);
	color: #000;
	margin: 0;
	border: 1px solid #202020;
	border-radius: 2px;
	padding: 0.42857143em 0.57142857em;
	font-size: inherit;
	font-family: inherit;
	line-height: 1.28571429em;
}

.oo-ui-menuSelectWidget {
	position: absolute;
	width: 100%;
	z-index: 4;
	background-color: #E3C792;
	margin-top: -1px;
	margin-bottom: -1px;
	border: 1px solid #a2a9b1;
	border-radius: 0 0 2px 2px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.25);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget {
	background-color: rgba(0,0,0,0.2);
	padding-bottom: 0.57142857em;
	padding-left: 0.85714286em;
	padding-right: 0.85714286em;
}

.mw-rcfilters-ui-itemMenuOptionWidget.oo-ui-optionWidget-selected {
	background-color: rgba(0,0,0,0.3);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
	background-color: #B7B7B7;
}

.mw-rcfilters-ui-menuSelectWidget-footer {
	background-color: #E3C792;
	border-top: 1px solid #202020;
	padding: 0.85714286em;
}

/*fixes toc label colour */
.toctogglelabel {
	cursor: pointer;
	color: #FFF;
	font-weight: bold;
}

:not(:checked) > .toctogglespan::before {
	content: ' [';
	color: #FFF;
        font-weight: bold;
}

:not(:checked) > .toctogglespan::after {
	content: ']';
        color: #FFF;
        font-weight: bold;
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle { margin-top: 0; }