One Hour One Life Wiki
Register
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: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the Hydradark skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}
 
/* Hide main page header */
body.page-One_Hour_One_Life_Wiki h1.firstHeading {
    display:none;
}


/* Head */
div#mw-page-base {
    background: transparent;
}

div#mw-head-base {
    background: none;
}

div#mw-head {
    background: none;
}

/* Framework */
body {
    background-color: #000;
    color: #fff;
}

/* Top Tabs */
#left-navigation {
}

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

div#mw-head div.vectorTabs,
div#mw-head div.vectorTabs ul,
div#mw-head div.vectorTabs ul li,
div#mw-head div.vectorTabs ul li.selected,
div#mw-head div.vectorTabs ul li:not(#ca-unwatch):not(#ca-watch) a,
div#mw-head div.vectorTabs ul li.selected a,
div#mw-head div.vectorTabs ul li span,
div#mw-head div.vectorTabs ul li.selected span {
    background: none;
}

div#mw-head div.vectorTabs li a,
div#mw-head div.vectorTabs li a:visited,
div.vectorMenu h3 span {
    color: #fff;
}

div#mw-head div.vectorTabs li a:hover,
div#mw-head div.vectorTabs li a:visited:hover {
    color: #fff;
}

div#mw-head div.vectorTabs li.selected a,
div#mw-head div.vectorTabs li.selected a:visited {
    color: #fff;
    font-weight: bold;
}

div#mw-head div.vectorMenu {
    background-image: url(https://hydra-media.cursecdn.com/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png);
}

div#mw-head div.vectorMenu h4 {
    color: #fff;
}

div#mw-head div.vectorMenu h3,
div#mw-head div.vectorMenu h3 a {
    background: none;
}

div.vectorMenu div.menu {
    background: #000;
    border: solid 2px #363636;
}

div#mw-head div.vectorMenu div.menu ul {
    background: none;
    border: none;
}

div#mw-head div.vectorMenu div.menu li a,
div#mw-head div.vectorMenu div.menu li a:visited {
    color: #fff;
}

div#mw-head div.vectorMenu div.menu li a:hover,
div#mw-head div.vectorMenu div.menu li a:visited:hover {
    color: #fff;
}

div#simpleSearch {
    background: rgba(0, 0, 0, 0.9);
    border: solid 2px #363636;
}

#p-search input[type="submit"] {
}

#p-search input[type="search"] {
}

#p-search input:focus {
}

/* Sidebar */
div#mw-panel {
    margin-top: 1.6em;
}

.skin-hydradark #mw-panel.collapsible-nav div.portal:not(#p-socialProfiles):not(#p-sitePromos):not(#p-claimWiki) {
    background: transparent;
    border: none;
    margin: 0 9px 10px 0;
    padding: 0.25em 0 !important;
    width: 150px;
    margin-right: 1em;
}
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a, {
    font-weight:bold;
}

.skin-hydradark #mw-panel.collapsible-nav div.portal h3,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a:visited {
    font-weight:bold;
}

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

.skin-hydradark div#mw-panel div.portal div.body ul li a:hover {
    color: #fff;
}

/* Link styles */
div#content a.external[href ^="https://"],
.link-https {
    background-image: url(https://hydra-media.cursecdn.com/onehouronelife.gamepedia.com/b/b0/Lock-icon.png);
}

/* Content */
div#content {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    border: solid 2px #363636;
    margin-right: 1em;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6, hr {
    border-color: #363636;
}

div#toc,
div.toc,
div.mw-warning,
ul#filetoc,
#catlinks {
    background: #000;
    border: solid 1px #363636;
}

/* Footer */
div#footer {
    margin-right: 1em;
}

div#footer ul li {
    color: #fff;
}

div#footer a {
    font-weight:bold;
}

/* Tables */
.skin-hydradark table.wikitable {
    background: none;
    border: 1px solid #363636;
    color: #fff;
}

.skin-hydradark table.wikitable > tr > th,
.skin-hydradark table.wikitable > * > tr > th {
    background-color: #000;
    border: 2px solid #363636;
    color: #fff;
}

.skin-hydradark table.wikitable > tr > td,
.skin-hydradark table.wikitable > * > tr > td {
    background: none;
    border: 1px solid #363636;
    padding: 0.2em;
}

/* Infoboxes */
.infobox {
    background: none;
    border: 1px solid #363636;
    float: right;
    margin-bottom: 1em;
    margin-left: 1em;
    width: 300px;
    clear: right;
}

.infobox table {
    background-color: #f0f0f0;
    width: 100%;
}

.infobox th {
    padding: 3px;
    text-align: left;
}

table.infobox > tr > th,
table.infobox > * > tr > th {
    padding-left: .5em;
    padding-right: .5em;
}

table.infobox > tr > td,
table.infobox > * > tr > td {
    text-align: right;
} 

.infobox th.header, .infobox th.title {
    background-color: #000;
    border: 2px solid #363636;
    color: #fff;
    text-align: center;
}

.infobox th.title {
    font-size: 120%;
    padding: 0.5em;
}

.infobox td {
    padding: 3px;
}

.infobox td.image {
    padding: 1em;
    text-align: center;
}

.infobox.infobox-content-left  > tr > td,
.infobox.infobox-content-left  > * > tr > td {
    text-align: left;
}

/* Interface */
fieldset {
    border-color: #363636;
}

div#mw-js-message {
    background: #000;
    border: solid 1px #363636;
}

.mw-search-profile-tabs {
    background: #000;
    border: solid 1px #363636;
}

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

.skin-hydradark fieldset#mw-searchoptions div.divider {
    border-bottom: solid 1px #363636;
}

.skin-hydradark fieldset#mw-searchoptions {
    border-color: #363636 !important;
    background: #000;
}

div.mw-warning-with-logexcerpt {
    border: solid 1px #363636;
}

.skin-hydradark table.mw_metadata {
    background: none;
    border: 1px solid #363636;
}

.skin-hydradark table.mw_metadata th {
    background: #000;
    border: 1px solid #363636;
}

.skin-hydradark table.mw_metadata td {
    background: none;
    border: 1px solid #363636;
}

.skin-hydradark .mw-datatable {
    background: none;
    border: 1px solid #363636;
}

.skin-hydradark .mw-datatable th {
    background: #000;
    border: 1px solid #363636;
}

.skin-hydradark .mw-datatable td {
    background: none;
    border: 1px solid #363636;
}

.skin-hydradark .mw-datatable tr:hover td {
    background: rgba(54,54,54,.15);
}

li.gallerybox {
    border-color: transparent;
}

.thumb,
div.thumbinner,
li.gallerybox div.thumb {
    background: rgba(54,54,54,.15);
    border: solid 1px #363636;
}

/* Wiki editor */
div.wikiEditor-ui {
    background: transparent;
    border: none;
}

div.wikiEditor-ui-buttons {
    background-color: transparent;
    border: none;
}

div.wikiEditor-ui-controls {
    background-color: transparent;
    border-bottom: none;
}

div.wikiEditor-ui-tabs {
    background-color: #000000;
    border-left: 1px solid #363636;
    border-top: 1px solid #363636;
}

div.wikiEditor-ui-tabs div {
    background-color: rgba(54,54,54,.15);
    border-right: 1px solid #363636;
    border-bottom: 1px solid #363636;
}

div.wikiEditor-ui-tabs div a {
    color: #fff;
	 background: none;
}

div.wikiEditor-ui-tabs div.current {
    background-color: rgba(54,54,54,.3);
    border-bottom: 1px solid #363636;
}

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

div.wikiEditor-ui .wikiEditor-ui-top {
    border-bottom: 1px solid #363636;
}

div.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid #363636;
}

div#wikiEditor-ui-toolbar {
    background: linear-gradient( to bottom, rgba(54,54,54,0), rgba(54,54,54,.15) 26px);
}

div.wikiEditor-ui-toolbar .group {
    border-right: 1px solid #363636;
}

div.wikiEditor-ui-toolbar .group-search {
    border-left: 1px solid #363636;
    border-right: none;
}

div.wikiEditor-ui-toolbar .group .label {
    color: #fff;
}

.tab {
    border-color: transparent;
}

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

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

div.wikiEditor-ui-toolbar .group .tool-select .label {
    color: #000000; /* or any other dark colour, or change the bg to a dark colour to contrast with light text */
}

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

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

div.wikiEditor-ui-toolbar .booklet .index .current {
    background-color: rgba(54,54,54,.3);
    color: #ffffff;
    font-weight: bold;
}

div.wikiEditor-ui-toolbar .booklet .pages {
    background-color: transparent;
}

div.wikiEditor-ui-toolbar .page-characters div span {
    border: 1px solid #363636;
    color: #fff;
}

div.wikiEditor-ui-toolbar .page-characters div span:hover {
    background-color: rgba(54,54,54,.15);
    border-color: #363636;
    color: #fff;
}

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

div.wikiEditor-ui-toolbar .page-table td {
    border-top: 1px solid #363636;
    color: #fff;
}

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

div.wikiEditor-preview-contents {
    background-color: transparent;
    border: none;
	overflow-y: hidden;
}

div.editOptions {
    background-color: rgba(54,54,54,.3);
    border: 1px solid #363636;
	border-top: none;
}

/* Page history */
.skin-hydradark table.diff,
.skin-hydradark td.diff-otitle,
.skin-hydradark td.diff-ntitle {
    background: transparent;
    color: #fff;
}

.skin-hydradark td.diff-context {
    background: rgba(0,0,0,.1);
    color: #fff;
}

.skin-hydradark .diffchange {
    color: #fff;
}

/* Preferences */
.skin-hydradark #preftoc,
.skin-hydradark #preftoc li,
.skin-hydradark #preferences,
.skin-hydradark #preftoc li a {
    background-color: rgba(0,0,0,0);
    background-image: none;
    color: #fff;
}

#preftoc li:first-child,
.skin-hydradark #preftoc li:first-child {
    margin-bottom: 4px;
    margin-left: 5px;
}

.skin-hydradark #preftoc li.selected a,
#preftoc li.selected a {
    background: rgba(0,0,0,.4);
    border-color: #363636 #363636 #000;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    font-weight: bold;
}

.skin-hydradark #preferences {
    background-color: rgba(0,0,0,.4);
    border: 1px solid #363636;
}

.skin-hydradark #preferences fieldset {
    border-color: #363636;
}

.skin-hydradark #preferences legend {
    color: #fff;
}

/* Curse profile */
.curseprofile .section {
    background: none;
    border: 1px solid #363636;
    color: #fff;
}

.curseprofile .section.borderless {
    border: none;
    background: none;
}

.commentdisplay.public,
.commentdisplay.public .replyset .commentdisplay.add-reply {
    background: rgba(54,54,54,.15);
}

.commentdisplay textarea {
    background: none;
    border: 1px solid #363636;
    color: #fff;
}

/* 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 #505050;
    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: #181818; 
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    background-color: #181818; 
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    padding: 0em;
}

/* Claim wiki button - this section can be removed if you remove the claim button from the main page */
.claimwikibutton {
    text-align: center;
}

.claimwikibutton a {
    background: url("https://media-mercury.cursecdn.com/attachments/1/716/claim_wiki_button.png") no-repeat scroll left center / 100% auto rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0);
    display: block;
    height: 57px;
    margin: 0 auto;
    max-width: 100%;
    width: 200px;
}

.claimwikibutton a:hover {
    background: url("https://media-mercury.cursecdn.com/attachments/1/717/claim_wiki_button_hover.png") no-repeat scroll left center / 100% auto rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0);
}

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

/* interwiki table bg fix for active entries */
.mw-interwikitable-local,
.mw-interwikitable-trans {
    text-shadow: 1px 1px 1px #000000;
}

.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 #67676;
    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 */
Advertisement