MediaWiki:Vector.css

From Dwaia Wiki
Jump to navigation Jump to search

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 / Edge: 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.
body { /*BACK-background*/
    background-color: #3b3144; /* url("https://slot1-images.wikia.nocookie.net/__cb1498150157/common/skins/oasis/images/themes/opulence.png") top left repeat*/
}
#mw-head, #mw-page-base, div.thumbinner{
    background: #45404A;
}
#mw-head div div ul li {
    background-image: none;
    background-color: #55505A;
    border-radius: 6px 6px 0px 0px;
    border: 1px solid #D5D4D4;
    border-bottom-width: 0px;
}
#mw-head div div ul li span, #mw-head div div ul, .vectorTabs, #mw-head .vectorMenu h3 {
    background-image: none;
}
.mw-body { /*main background*/
    background-color: #55505a;
    margin-left: 10em;
    border: 1px solid #D5D4D4;
    margin-top: 0px;
}
.mw-body, h1, h2, h3, h4, h5, h6, .tocnumber, #footer ul li, table, pre{
    /*main text color*/
    color: #D5D4D4 !important;
}

.caption{
    /*faded text color*/
    color: #A3A2A2 !important;
    font-weight: normal;
}
/*Links*/
a, .toctogglelabel{
    color: #ffee55 !important;
}
a.new{
    color: #ff8877 !important;
}

.toc, .catlinks{
    background-color: #504b55;
    border-color: #D5D4D4;
    border-radius: 20px 0px;
}
/*Formatting for tables*/
/* table.wikitable > * > tr > th, .mw-datatable th {
    background-color: #48444D;
    border-color: #77737B;
}
table.wikitable, table.wikitable > * > tr > td, .mw-datatable td{
    background-color: #504B55;
    border-color: #77737B;
} */

.wikitable th {
  background-color: rgb(60, 60, 67) !important;
}

.wikitable td:nth-child(odd) {
  background-color: rgb(75, 75, 85) !important;
}

.wikitable td:nth-child(even) {
  background-color: rgb(90, 90, 100) !important;
}

.mw-datatable tr:hover td {
    background-color: #665d65
}

/*table.border-table, table.border-table > * > tr > td, table.border-table > * > tr > th {
    border: 1px solid grey;
}*/
table.border-table {
    border-collapse: collapse;
    background: rgb(70, 64, 74);
}
table.border-table > * > tr > td, table.border-table > * > tr > th {
    border: solid rgb(245, 240, 250) 1px;
    padding: 0px 5px 0px 5px;
}
table.border-table > * > tr > th {
    background: rgb(116, 104, 130);
}
/*table.border-table > * > tr > th a {
    color: rgb(213, 159, 0) !important;
}*/

table.navbox-table {
    border-collapse: collapse;
    margin: 0px !important;
    width: 100% !important;
}
td > .navbox-table {
    margin: -2px -7px -2px -7px !important;
    width: calc(100% + 14px) !important;
}
table.navbox-table > * > tr > * {
    border: solid rgb(85, 80, 90) 1px;
    padding: 1px 6px 1px 6px;
}
table.navbox-table > * > tr:nth-child(2n+1) > td {
    background: #4e4755;
}
table.navbox-table > * > tr:nth-child(2n) > td {
    background: #453f4d;
}
table.navbox-table > * > tr > th {
    background: rgb(58, 51, 64);
}

/*"flex" makes it so code blocks don't intersect infoboxes and other floating elements.*/
pre {
    display: flex;
    background: #3B3543 !important;
    border-color: #77737B;
}
/*Resizes the logo and centers it.*/
#p-logo a{
    width: 10em;
    height: 10em;
    background-repeat: round;
    background-position: unset;
}
.not-patrolled {
    background-color: #433;
}
/*Style for image thumbnails*/
div.thumbinner {
    border:none;
    padding:0px;
    width: min-content !important;
}
html .thumbimage{
    border:none;
}


/* Positive and negative colors */
.mw-plusminus-pos {
    color: #25ea25;
}
.mw-plusminus-neg {
    color: #ff6a6a;
}