Gods Unchained Wiki
m (border radius front page elements)
m (fix watch buttons)
Line 139: Line 139:
 
}
 
}
   
#ca-unwatch.icon a,
+
.vectorTabs #ca-unwatch.icon a,
#ca-watch.icon a {
+
.vectorTabs #ca-watch.icon a {
 
margin-top: 36px;
 
margin-top: 36px;
 
}
 
}

Revision as of 00:34, 16 November 2018

/* 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-Gods_Unchained_Wiki h1.firstHeading {
    display: none;
}

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

/* Logo styles */
#p-logo a {
    height: 120px;
}

/* Article nav styles */
div#mw-page-base {
    background: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0));
    height: 120px;
    margin-bottom: 0;
}

div#mw-head {
    height: 120px;
}

#left-navigation {
    position: absolute;
    top: 2px;
    left: 240px;
    margin: 0;
    margin-left: 2em;
}

#right-navigation {
    position: absolute;
    top: 2px;
    right: 0;
    margin: 0;
}

div.vectorTabs {
    padding-left: 0;
}

div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected,
div#mw-head div.vectorMenu h3 {
    background: none;
}

div.vectorTabs li a, 
div.vectorTabs li a:visited,
div.vectorMenu h3 span,
div#mw-head li.new a {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

div.vectorTabs li a {
    padding: 0 1em;
    height: 80px;
    line-height: 120px;
}

div.vectorTabs li.selected a:visited,
div.vectorTabs li.new a,
div.vectorTabs li:not(.new) a {
    color: white;
}

div.vectorTabs li.selected a,
div.vectorTabs li a:hover,
div.vectorMenu:hover span {
    color: #f3d9a9 !important;
    text-decoration: none;
}

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

div.vectorMenu h3 a {
    height: 120px;
    background-position: 100% 50%;
}

div.vectorMenu h3 span {
    color: white;
    padding: 0;
    height: 80px;
    line-height: 120px;
}

div.vectorMenu div.menu {
    top: 5em;
    background: none;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
    border: none;
}

div.vectorMenu div.menu li a {
    color: white;
    text-decoration: none;
}

div.vectorMenu div.menu li:hover a {
    color: #f3d9a9;
}

div.vectorMenu#p-cactions ul {
    left: auto;
    right: 0;
}

div#mw-head div.vectorMenu h3 {
    height: 80px;
    line-height: 120px;
    padding: 0 0 0 1em;
    margin: 0;
}

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

.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a {
    margin-top: 36px;
}

#p-search form {
    margin-top: 47px;
}

div#simpleSearch {
    background-color: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
}

div#simpleSearch #searchInput {
    color: #000;
}

/* Sidebar */
div#mw-panel div.portal h3 a {
    color: #fff !important;
    text-transform: uppercase;
}

div#mw-panel div.portal h3 a:hover {
    color: #f3d9a9 !important;
}

div#mw-panel div.portal h3,
div#mw-panel div.portal h3 a {
    text-decoration: none !important;
}

div#mw-panel div.portal div.body ul li a {
    color: #e0e0e0 !important;
    text-decoration: none;
}

div#mw-panel div.portal div.body ul li a:hover {
    color: #f3d9a9 !important;
}

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    margin: 5px;
    padding-top: 5px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.75);
}

.skin-hydradark div#mw-panel div.portal div.body {
    background-image: none;
}

.skin-hydradark div#mw-panel div.portal h3 {
    color: #fff;
    text-transform: uppercase;
}

/* Content */
div#content {
    margin-top: 50px;
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.75);
    border: none;
}

fieldset legend {
    color: #e0e0e0 !important;
}

fieldset {
    border-color: #f3d9a9 !important;
}

div#footer ul li {
    color: #e0e0e0;
    text-shadow: 1px 1px 10px #000;
}

div#footer ul li a {
    color: #fff;
    text-decoration: underline;
}

div#footer ul li a:hover {
    color: #f3d9a9;
}

/* Tables */
.skin-hydradark .TablePager tr:hover td,
.skin-hydradark .mw-datatable tr:hover td {
    background-color: rgba(50, 50, 50, 0.5);
}

.skin-hydradark table.wikitable td,
.skin-hydradark table.wikitable th {
    border: 1px solid #505050;
}

.skin-hydradark .TablePager th,
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #202020;
}

/* Search */
.skin-hydradark .mw-search-profile-tabs div.search-types ul li a {
    color: #e0e0e0;
    text-decoration: none;
}

.skin-hydradark .mw-search-profile-tabs div.search-types ul li:hover a,
.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a {
    color: #f3d9a9;
}

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

.skin-hydradark #mw-searchoptions div.divider {
    border-color: #f3d9a9 !important;
}

/* Wiki editor */
.skin-hydradark .wikiEditor-ui-controls,
.skin-hydradark .wikiEditor-ui-buttons,
.skin-hydradark .wikiEditor-ui,
.skin-hydradark .wikiEditor-preview-contents, 
.skin-hydradark .wikiEditor-preview-loading {
    background: transparent;
    border: none;
}

/* 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://commons.gamepedia.com/media/commons.gamepedia.com/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;
}

/* 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://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,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #e0e0e0;
}

.fpbox {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #f3d9a9;
    border-radius: 3px;
}

.fplink {
    background: rgba(0,0,0,0.3);
    border: 1px solid #f3d9a9;
    border-radius: 3px;
}

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

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

/* This CSS governs the responsive 3 column main page layout */
.fpmidsections {
    float: left;
    width: 100%;
    overflow: hidden;
}

.fpsection1,
.fpsection2,
.fpsection3,
.fpsection4 {
    float: left;
    clear: both;
    width: 100%;
}

.fpmain .columns .leftcol,
.fpmain .columns .rightcol {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 790px) {
    .fpsection1,
    .fpsection4 {
        float: left;
        clear: none;
        width: 50%;
    }

    .fpmidsections {
        float: right;
        clear: none;
        width: 50%;
    }
}

@media (min-width: 990px) {
    .fpmain .columns .leftcol {
        float: left;
        width: 50%;
    }

    .fpmain .columns .rightcol {
        float: right;
        width: 50%;
    }
}

@media (min-width: 1390px) {
    .fpmidsections {
        clear: none;
        float: right;
        width: 66.667%;
    }

    .fpsection1 {
        clear: none;
        width: 33.333%;
    }

    .fpsection2,
    .fpsection3 {
        clear: none;
        width: 50%;
    }

    .fpsection4 {
        clear: left;
        width: 33.333%;
    }
}