20XX Wiki
Advertisement

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 Hydradark skin */
/* Fonts */
@font-face {
    font-family: 'Orbitron-medium';
    src: local('Orbitron-medium'), local('Orbitron-medium'), url('/media/hydra/fonts/orbitron-medium.ttf') format('truetype');
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: local('OpenSans-Regular'), local('OpenSans-Regular'), url('/media/hydra/fonts/OpenSans-Regular.ttf') format('truetype');
}

/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

/* Background: [[File:Background.jpg]] */
body {
    background-color: #060814;
    background-image: url(/media/1/1f/Background.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Article navigation */
div#mw-page-base {
    background: transparent;
    background-image: none;
}

#right-navigation {
    margin-right: 1%;
}

div.vectorTabs,
div.vectorTabs span,
div.vectorTabs li.selected,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs li a {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
}

div.vectorTabs ul li {
    margin-right: 5px;
}

div#mw-head div.vectorMenu h3,
div.vectorTabs li span {
    background-image: linear-gradient(to top, #20366f 0%, #19245a 40%, #1b6ea2 100%);  
    display: inline-block;
    border: 1px solid #08416e;
    border-radius: 3px;
    padding: 2px 10px;
    margin-top: 0.5em;
    height: 19px;
    text-align: center;
}

div.vectorTabs li a {
    background-image: none;
    margin-top: -14px;
}

div#mw-head div.vectorMenu h3 span {
    margin-top: 2px;
}

div#mw-head a,
div#mw-head div.vectorTabs a,
div#mw-head div.vectorMenu a,
.vectorTabs li a span,
div.vectorMenu h3 span,
div#mw-head li.new a,
div#mw-head li.new a:visited {
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
    font-family: 'Orbitron-medium';
    text-decoration: none;
    transition-duration: 0.5s;
}

div.vectorTabs ul li:first-child {
    border-image: none;
    border-left: medium none;
}

div#mw-head li.selected a,
div#mw-head li.selected a span,
div#mw-head div.vectorTabs li.selected a,
div#mw-head div.vectorTabs li.selected a:visited,
div#mw-head div.vectorTabs li a:hover,
div#mw-head div.vectorMenu:hover h3 span {
    color: #f88f2d !important;
    transition-duration: 0.5s;
    font-weight: bold;
}

div#p-sharing .menu {
    margin-left: 45px;
    min-width: 0px;
    width: 48px;
}

#p-sharing #socialIconImages img {
    width: 100%;
}

#p-sharing #socialIconImages a {
    width: 40px;
}

div#mw-head div.vectorMenu h3 {
    margin-bottom: 0.5em;
}

div.vectorMenu h3 span {
    font-weight: bold;
    padding-top: 0;
}

div.vectorMenu h3 span::after {
    filter: invert(100%);
    top: 0;
}

.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a {
    padding: 16px 0 0;
}

div.vectorMenu div.menu {
    border: none;
    left: auto;
    margin-left: 5px;
    right: 0;
    top: 40px;
}

div#p-sharing .menu,
div#mw-head div.vectorMenu ul {
    background: #19245a;  
    border: 1px solid #08416e;
    box-shadow: 0 0 15px #000;
}

div#mw-head div.vectorMenu li a {
    color: #fff;
    transition-duration: 0.5s;
    text-decoration: none;
}

div#mw-head div.vectorMenu li a:hover {
    padding-left: 1em;
    color: #f88f2d;
    transition-duration: 0.5s;
}

#p-search {
    margin-top: -0.1em;
}

/* Sidebar */
div#mw-panel div.portal h3 a,
div#mw-panel div.portal h3,
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited {
    color: #ee4072 !important;
    text-decoration: none !important;
    transition-duration: 0.5s;
}

div#mw-panel div.portal h3 a,
div#mw-panel div.portal h3 {
    font-weight: bold;
    font-family: 'Orbitron-medium';
}

div#mw-panel div.portal div.body ul li a {
    font-family: 'OpenSans-Regular';
}

div#mw-panel div.portal h3 a:hover,
div#mw-panel.collapsible-nav div.portal.expanded h3 a {
    color: #f88f2d !important;
    transition-duration: 0.5s;
}

div#mw-panel div.portal div.body ul li a:hover,
div#mw-panel div.portal div.body ul li a:active,
div#mw-panel div.portal div.body ul li a:focus {
    color: #f88f2d !important;
    padding-left: 0.5em;
    transition-duration: 0.5s;
}

div#mw-panel div.portal div.body {
    background-image: none !important;
}

/* Content area, footer */
div#content,
div#footer {
    font-family: 'OpenSans-Regular';
    background-color: #120819;
    margin-right: 2%;
}

div#content {
    border-bottom: 1px solid #333;
    border-top: 2px solid #5c297e;
    border-right: 2px solid #5c297e;
    border-left: 2px solid #5c297e;
}

div#footer {
    margin-bottom: 2%;
    border-left: 2px solid #5c297e;
    border-right: 2px solid #5c297e;
    border-bottom: 2px solid #5c297e;
}

span.warning {
    color: #a37400;
}

.skin-hydradark .mw-prefs-buttons {
    background-color: #120819;
}

table.diff {
    background: transparent;
}

.wikiEditor-ui-toolbar .page-table th {
    color: #999;
}

#toc.toc,
ul#filetoc,
#catlinks,
li.gallerybox div.thumb {
    background-color: #19245a;
    border-color: #08416e;
}

.spoiler {
    background: rgba(255, 255, 255, 0.1);
    padding: 1em;
    border: 1px dashed #ee4072;
}

/* Links */
div#footer a,
div#content a:not(.new),
div#content a:link:not(.new),
div#content a:visited:not(.new),
div#content a.external,
div#content a.extiw:not(.new),
label.toctogglelabel {
    color: #f88f2d;
}

/* Tables */
.skin-hydradark table.wikitable,
.skin-hydradark table.mw-datatable,
.skin-hydradark table.mw_metadata,
.skin-hydradark table.wikitable > tr > th,
.skin-hydradark table.wikitable > tr > td,
.skin-hydradark table.wikitable > * > tr > th,
.skin-hydradark table.wikitable > * > tr > td,
.skin-hydradark table.mw-datatable th, 
.skin-hydradark table.mw_metadata th,
.skin-hydradark table.wikitable td,
.skin-hydradark table.mw-datatable td,
.skin-hydradark table.mw_metadata td {
    border: 1px solid #08416e;
}

.skin-hydradark table.wikitable > tr > th,
.skin-hydradark table.wikitable > * > tr > th,
.skin-hydradark table.mw-datatable th, 
.skin-hydradark table.mw_metadata th {
    color: #fff;
    background-color: #142E59;
}

.skin-hydradark .mw-datatable tbody:hover tr td {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 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: #282828;
    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: game or book depended color style */
.infoboxtable {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #08416e;
    color: #ffffff;
    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-color: #142E59; 
    border: 2px solid #08416e; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    font-family: 'Orbitron-medium';
    background-color: #142E59; 
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    padding: 0em;
}

/* copyright images tweak */
.skin-hydradark .copyright-icon {
    background-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
    background-size: 100%;
    height: 32px;
    width: 32px;
}

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

/* Navbox template style */
table.navbox {
    border: 1px solid #505050;
    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(0, 0, 0, 0.1);
}

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

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

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

/* Even row striping */
.navbox-even {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 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 {
    border: 0;
    border-bottom: 1px solid #08416e;
    background-color: #19245a;
}

.fpbox {
    border: 1px solid #08416e;
    background-color: #141c48;
}

.fpbox:not(.fpbox-welcome) {
    padding: 0;
}

.fpbox .body {
    padding: 5px;
}

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

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

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

.fpbox hr {
    background-color: #08416e !important;
}
Advertisement