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;
}
/* Fonts */
@font-face {
font-family: 'Edosz';
src: local('Edosz'), local('Edosz'), url(/media/hydra/fonts/edosz.ttf) format('truetype');
}
.mw-body h1,
.mw-body h2 {
color: gray;
font-family: edosz;
}
/* Hide main page header */
body.page-RIOT_-_Civil_Unrest_Wiki h1.firstHeading {
display:none;
}
body {
background: url("https://static.wikia.nocookie.net/riotcivilunrest_gamepedia_en/images/8/80/Scr4.jpg/revision/latest");
background-position: center top;
background-attachment: fixed;
background-repeat: no-repeat;
background-color: black;
background-size: cover;
color: white;
}
body #pageWrapper {
margin-right: 2em;
}
#mw-page-base {
background-color: transparent;
background-image: none;
background-position: left bottom;
background-repeat: repeat-x;
}
/* sidebar */
div#mw-panel {
font-size: inherit;
left: 0;
padding-top: 2em;
position: absolute;
top: 160px;
width: 10em;
}
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a,
.skin-hydradark div#mw-panel div.portal h3 {
color: white;
font-size: 14px;
text-shadow: 1px 1px 1px black,
1px -1px 1px black,
-1px 1px 1px black,
-1px -1px 1px black;
font-family: "Edosz";
}
/* Links and Navbar */
a,
a:link,
a:visited,
a:focus,
a:hover,
.mw-body a.external,
.mw-body a.extiw,
.mw-body a.extiw:active {
color: ff5bfc;
}
a.new,
#p-personal a.new {
color: red;
}
div.vectorTabs li a,
div.vectorTabs li a span,
div.vectorMenu li a,
div#mw-head li.new a,
div#mw-head li.new a span,
div.vectorMenu h3 span {
color: gray;
font-size: 14px;
text-shadow: 1px 1px 1px black,
1px -1px 1px black,
-1px 1px 1px black,
-1px -1px 1px black;
font-family: "Edosz";
}
div.vectorMenu h3 span {
display: block;
font-weight: normal;
margin-right: 20px;
padding-left: 0.7em;
padding-top: 1.2em;
}
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
color: white;
font-family: "Edosz";
}
div#mw-panel div.portal div.body ul li a:link,
div#mw-panel div.portal div.body ul li a:visited {
color: white;
}
#right-navigation {
float: right;
margin-right: 1em;
margin-top: 2.5em;
}
/* bg of navbar tabs */
div.vectorTabs li.selected,
div.vectorTabs ul li {
background-color: transparent;
background-image: none;
}
/* removes the divider */
div.vectorTabs,
div.vectorTabs ul,
div.vectorTabs span,
div#mw-head div.vectorMenu h3 {
background-image: none;
}
div.vectorMenu div.menu {
border: none;
}
/* content */
div#content {
background-color: rgba(0, 0, 0, 0.7);
color: white;
direction: ltr;
margin-left: 11em;
margin-top: -1px;
border: none;
}
.mw-body .mw-editsection,
.mw-body .mw-editsection-like {
font-family: sans-serif;
text-shadow: none;
}
/* footer */
div#footer {
margin-left: 11em;
padding-bottom: 1.25em;
padding-left: 1.25em;
padding-right: 1.25em;
padding-top: 1.25em;
color: white;
background-color: rgba(0, 0, 0, 0.7);
border:none;
}
div#footer ul li {
color: white;
}
/* search */
.skin-hydradark .mw-search-profile-tabs {
background-color: #505050;
border: 1px solid orange;
margin-top: 1em;
}
.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a {
color: #edb847;
font-size: 14px;
text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black;
cursor: default;
}
/* 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: #e0e0e0; /* this font color may need tweaking, depending on your background choices */
}
.skin-hydradark #preftoc li:first-child,
.skin-hydradark #preftoc li:first-child {
margin-bottom: 7px;
margin-left: 5px;
}
.skin-hydradark #preftoc li.selected a,
.skin-hydradark #preftoc li.selected a {
background: rgba(0, 0, 0, 0.4);
border-color: #080808 #080808 rgba(0, 0, 0, 0.5);
border-radius: 3px 3px 0 0;
border-style: solid;
border-width: 1px;
color: #ffc220; /* this font color may need tweaking, depending on your background choices */
}
.skin-hydradark #preferences {
background-color: rgba(0, 0, 0, 0.4);
border: 1px solid #080808;
border-radius: 3px;
}
.skin-hydradark #preferences fieldset {
border-color: #080808;
}
.skin-hydradark #preferences legend {
color: #e0e0e0;
}
/* wiki editor styling */
div.wikiEditor-ui {
background: rgba(0, 0, 0, 0);
border: none;
}
div.wikiEditor-ui-tabs div {
border-bottom: 1px solid #080808;
border-right: 1px solid #080808;
}
div.wikiEditor-ui-buttons {
background: rgba(0, 0, 0, 0);
border-top: none;
margin-right: 5px;
}
div.wikiEditor-ui-toolbar {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
div.wikiEditor-ui-toolbar .tabs span.tab a,
div.wikiEditor-ui-toolbar .tabs span.tab a:visited {
color: #e0e0e0;
}
div.wikiEditor-ui-toolbar .tabs span.tab a.current,
div.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
color: #e0e0e0;
font-weight: bold;
}
div.wikiEditor-ui-toolbar .sections .section {
background-color: rgba(0, 0, 0, 0.2);
border-top: 1px solid #080808;
color: #e0e0e0;
}
div.wikiEditor-ui-toolbar .page-characters div span {
border: 1px solid #080808;
color: #e0e0e0;
}
div.wikiEditor-ui-toolbar .booklet .pages {
background-color: rgba(0, 0, 0, 0.2);
}
div.wikiEditor-ui-toolbar .booklet .index .current {
background-color: rgba(0, 0, 0, 0.2);
color: #fda440;
}
div.wikiEditor-ui-toolbar .booklet .index div {
color: #e0e0e0;
}
div.wikiEditor-ui-toolbar .page-characters div span:hover {
background-color: rgba(0, 0, 0, 0.2);
border-color: #080808;
color: #ffffff;
}
div.wikiEditor-ui-toolbar .page-table th,
div.wikiEditor-ui-toolbar .page-table td {
color: #e0e0e0;
}
div.wikiEditor-ui-toolbar .page-table td {
border-top: 1px solid #080808;
}
div.wikiEditor-ui-tabs div a {
background: none repeat scroll 0 0 #181818;
display: inline-block;
color: #FFFFFF;
}
div.wikiEditor-ui-tabs div.current {
border-bottom: 1px solid #080808;
}
div.wikiEditor-ui-tabs div.current a {
color: #fda440;
font-weight: bold;
}
div.wikiEditor-ui-tabs {
border-left: 1px solid #080808;
border-top: 1px solid #080808;
}
div.wikiEditor-preview-contents {
border-color: #080808;
border-style: solid;
border-width: 0 1px 1px;
color: #e0e0e0;
}
div.wikiEditor-ui-controls {
background: rgba(0, 0, 0, 0);
border-bottom: 1px solid #080808;
}
div.wikiEditor-preview-contents,
div.wikiEditor-preview-loading {
background-color: rgba(0, 0, 0, 0);
}
div.editOptions {
background-color: rgba(0, 0, 0, 0.4);
border-color: -moz-use-text-color #080808 #080808;
border-image: none;
border-radius: 0 0 3px 3px;
border-style: none solid solid;
border-width: medium 1px 1px;
}
/* tables */
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background: gray;
color: black;
text-align: center;
}
table.wikitable > tr > td, table.wikitable > * > tr > td {
background: rgba(51, 65, 78, 0.8);
}
/* Sortable table headers */
th.header-bg.th.headerSort,
table.jquery-tablesorter th.headerSort {
background-attachment: scroll;
background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/3/36/Sort_both_white.gif");
background-repeat: no-repeat, repeat;
background-position: center right, center center;
padding-right: 21px;
}
th.header-bg.th.headerSortDown,
table.jquery-tablesorter th.headerSortDown {
background-attachment: scroll;
background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/5/56/Sort_down_white.gif");
background-repeat: no-repeat, repeat;
background-position: center right, center center;
padding-right: 21px;
}
th.header-bg.th.headerSortUp,
table.jquery-tablesorter th.headerSortUp {
background-attachment: scroll;
background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/8/82/Sort_up_white.gif");
background-repeat: no-repeat, repeat;
background-position: center right, center center;
padding-right: 21px;
}
/* Visual editor */
.oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
background-color: #282828;
border: 1px solid #383838;
box-shadow: 0 2px 2px 0 rgba(255,255,255,0.2);
}
.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title,
.oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
color: #e0e0e0;
}
.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-outlineOptionWidget.oo-ui-outlineOptionWidget-level-0.oo-ui-iconElement.oo-ui-labelElement:hover {
background-color: rgba(255,255,255,0.2);
}
.oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon,
.oo-ui-decoratedOptionWidget .oo-ui-indicatorElement-indicator,
.oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header > .oo-ui-iconElement-icon {
filter: invert(100%);
}
.oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-iconElement-icon {
filter: unset;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
border-color: #ffffff;
}
.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
background-color: rgba(255,255,255,0.2);
}
.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon,
.oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label,
.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon {
filter: invert(100%);
}
.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover {
background-color: #282828;
}
.oo-ui-indicator-down {
background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/0/00/Light_down_arrow.svg);
filter: unset;
}
.ve-ui-mwSaveDialog-options {
background-color: #282828;
}
.ve-ui-mwSaveDialog-license {
color: #e0e0e0;
}
/* Page history tweaks */
td.diff-addedline .diffchange {
background: none;
color: #bfd959;
}
td.diff-deletedline .diffchange {
background: none;
color: #e62444;
}
td.diff-addedline,
td.diff-deletedline {
border-color: transparent;
}
/* Interwiki page legend tweak */
.mw-collapsible-toggle.mw-collapsible-toggle-expanded a,
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed a {
color: #ffffff;
}
/* Notifications */
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
background: inherit;
}
/* 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;
}
/* copyright images tweak */
.skin-hydradark .copyright-icon {
background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/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,
.fpbox .mainheading {
border: 0;
border-bottom: 1px solid #505050;
}
.fpbox {
background: rgba(0, 0, 0, 0.05);
border: 1px solid #505050;
box-shadow: 0 2px 5px #505050;
}
.fplink {
background: rgba(0,0,0,0.3);
border: 1px solid #505050;
}
.fplink-fullwidth .fplink {
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;
}
}