Galactic Civilizations III Wiki
No edit summary
No edit summary
Line 751: Line 751:
 
div#mw-panel div.portal div.body ul li a,
 
div#mw-panel div.portal div.body ul li a,
 
div#mw-panel div.portal div.body ul li a:visited,
 
div#mw-panel div.portal div.body ul li a:visited,
div#mw-panel div.portal div.body ul li a:link {
+
div#mw-panel div.portal div.body ul li a:link,
  +
label.toctogglelabel {
 
color: #76BEFF;
 
color: #76BEFF;
 
}
 
}
Line 774: Line 775:
 
background-color: #211C0F !important;
 
background-color: #211C0F !important;
 
border-bottom: 1px solid #211C0F;
 
border-bottom: 1px solid #211C0F;
  +
}
  +
  +
  +
/* This governs the sections on the Community portal */
  +
.cpbox {
  +
display: flex;
  +
flex-direction: row-reverse;
  +
flex-wrap: wrap;
  +
}
  +
  +
.cpbox #admins {
  +
box-sizing: border-box;
  +
width: calc(33% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
  +
min-width: 300px;
  +
}
  +
  +
.cpbox #help {
  +
box-sizing: border-box;
  +
width: calc(67% - 10px);
  +
margin: 5px;
  +
flex-grow: 1;
 
}
 
}

Revision as of 11:53, 16 December 2019

/* CSS placed here will affect users of the Hydradark skin */

/* CSS placed here will affect users of the Hydra skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}
 
/* Hide main page header */
body.page-Official_Galactic_Civilizations_III_Wiki h1.firstHeading {
    display:none;
}

/* Framework */
body {
  background: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/4/4c/Gciii_wiki_bg_final_%28hopefully%29.jpg) no-repeat fixed center top rgba(0, 0, 0, 1);
  background-position-y: 1em;
}

body #pageWrapper {
    margin-right: 10px;
  margin-top: 9em;
}

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

#mw-head-base {
    background: transparent;
    background-image: none;
    border-bottom: 0px;
}

div#mw-head {
  top: 9em;
}


/* Sidebar */

/* Logo */
#p-logo {
    left: 0px;
    margin-left: 0;
    width: 2000px;
    top: -16em;
}

#p-logo a {
    width: 2000px;
}

div#p-logo {
	background-color: transparent;
}


div#p-portals {
    background: rgba(0,0,0,0.8);
}

/* Top control */

div#mw-panel {
 margin-top: 8em;

}
div#mw-panel div.portal h5 {
    border: medium none;
    color: #76BEFF;
    cursor: default;
    font-size: 1em;
    font-weight: bold;
    padding: 0 0 0 1.25em;
    text-transform: uppercase;
}

div#mw-panel div.portal div.body {
    background: transparent;
}

.skin-hydradark #mw-panel.collapsible-nav .portal#p-claimWiki {
  margin: 0 0 0.5em;
  display: none;
}

/* social media add-on fix */
div#mw-panel div.portal#p-socialProfiles {
    background: none;
    border: none;
    padding: 0;
    margin: 10px 0;
}

.promoSidebar {
    margin-left: 10px;
}

div#mw-panel div.portal#p-socialProfiles h5,
div#mw-panel div.portal#p-sitePromos h5 {
    display: none;
}

div#mw-panel div.portal#p-socialProfiles div.body,
div#mw-panel div.portal#p-sitePromos div.body {
    background: none;
    padding: 0;
    margin-left: 0 !important;
    text-align: center;
}

.socialSidebar {
    width: auto;
    max-width: 100%;
}

div#mw-panel div.portal div.body,
.skin-hydradark #mw-panel.collapsible-nav div.portal,
.skin-hydradark div#mw-panel.collapsible-nav div#p-socialProfiles.portal,
.skin-hydradark #mw-panel.collapsible-nav #p-sitePromos.portal {
    background-image: none;
}

/* Tabs */
div.vectorTabs {
    background-image: none;
    height: 33px;
    margin-top: 8px;
}

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

div.vectorTabs li.new a,
div.vectorTabs li.new a:visited {
    color: #76BEFF;
}

div.vectorTabs li span a {
    background: transparent;
    display: inline-block;
    color: #76BEFF;
    font-weight: bold;
    padding: 2px 10px;
    margin: 0 3px 0 3px;
    height: 19px;
    text-align: center;
}

div.vectorTabs span {
    background-image: none;
}

div.vectorTabs li.selected {
    background-color: transparent;
    background-image: none;
    color: #ffffff;
}

div.vectorTabs ul { 
    background-image: none; 
}

div.vectorTabs ul li {
    background-color:transparent;
    background-image:none;
}

div.vectorTabs li a,
div.vectorTabs li a span {
    color: #76BEFF;
    cursor: pointer;
    font-weight: bold;
}

div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited {
    color: #76BEFF;
    text-decoration: none;
    font-weight: bold;
}

div.vectorMenu h5 a {
    background-color: transparent;
    background-image: none;
    border: 0px;
}

div.vectorMenu li.selected a,
div.vectorMenu li.selected a:visited {
    color: #76BEFF;
}

div.vectorMenu li a {
    color: #76BEFF;
}

div.vectorMenu ul {
    background-color: #000000;
    background-image: none;
    border: 1px solid #76BEFF;
}

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

div.vectorMenu h3 span {
    padding-top: 0.9em;

    color: #76BEFF;
    cursor: pointer;
    font-weight:bold;
}
div#mw-head div.vectorMenu h5 {
    background-image: none;
}
div#mw-head h5 {
     border-bottom: none;    
}

div#content fieldset {
    border: 1px solid #76BEFF !important;
}

.skin-hydradark .mw-search-profile-tabs {
    background-color: transparent;
    border: 1px solid #76BEFF;
}

.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a {
    color: #FFFFFF;
    cursor: default;
}

fieldset#mw-searchoptions {
    background: transparent;
}


/* 1.26 fixes */
.skin-hydradark .mw-search-profile-tabs {
    background-color: transparent;
    margin-top: 1em;
    border: 1px solid #76BEFF!important;
}

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

fieldset#mw-searchoptions {
    background-color: transparent;
    border: 1px solid #76BEFF !important;
    border-top: 0px solid #76BEFF;
}

.skin-hydradark fieldset#mw-searchoptions {
    background-color: transparent;
    border: 1px solid #76BEFF !important;
}

/* Watch icon */
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a {
    padding-top: 1.2em;
}

/* Content */
div#content {
background: transparent;
border: none;
color: #ffffff;
border-style: solid;
border-width: 94px 47px 65px;
-moz-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/3/30/Wbox.png) 94 47 65 repeat stretch;
-webkit-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/3/30/Wbox.png) 94 47 65 repeat stretch;
-o-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/3/30/Wbox.png) 94 47 65 repeat stretch;
border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/3/30/Wbox.png) 94 47 65 fill repeat stretch;
}

/* Footer */
div#footer {
    background: transparent;
    margin-top: 5px;
    overflow-y: hidden;
}

div#footer a {
    color: #76BEFF;
}

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

/* other page elements */
.catlinks {
    background-color: transparent;
    border: 1px solid #76BEFF;
}

.catlinks li {
    border-left: 1px solid #76BEFF;
}


#contentSub,
#contentSub2 {
    color: #FFFFFF;
}

h1, 
h2 {
    border-bottom: 1px solid #76BEFF;
    color: #76BEFF;
}

h3 {
    color: #76BEFF;
    font-size: 16px;
}

h4 {
    color: #76BEFF;
    font-size: 14px;
}

h5 {
    color: #76BEFF;
    font-size: 12px;
}

h6 {
    color: #76BEFF;
    font-size: 11px;
}

#toc,
.toc,
.mw-warning {
    background-color: #000000;
    border: 1px solid #76BEFF;
}

ul#filetoc {
    background-color: transparent;
    border: 1px solid #76BEFF;
}

fieldset {
    border: 1px solid #76BEFF;
}

code {
    background-color: #000000;
}

/* tables */
table.wikitable {
    background: none repeat scroll 0 0 transparent;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #000000;
    text-align: center;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px solid #76BEFF;
    padding: 0.2em;
}

.wikitable th {
    background-color: #000000;
    border: 1px solid #76BEFF;
    color: #ffffff;
    padding: 0.2em;
}

.wikitable td {
    border: 1px solid #76BEFF;
    color: #ffffff;
    padding: 0.2em;
}

table.mw_metadata th {
    background-color: #000000;
    color: #ffffff;
}

table.mw_metadata td {
    background-color: transparent;
}

table.mw_metadata td,
table.mw_metadata th {
    border: 1px solid #76BEFF;
}

.skin-hydradark .TablePager {
    color: #000000;
    border: 1px solid #76BEFF;
    padding: 0 0.15em;
}
 
.skin-hydradark .TablePager th {
    background-color: #000000;
    border: 1px solid #76BEFF;
    color: #FFFFFF !important;
}

.skin-hydradark .TablePager tr:hover td {
    background-color: #000000 !important;
    color: #FFFFFF;
}

.skin-hydradark .TablePager th a {
    background-color: #000000;
    color: #FFFFFF !important;
}
 
.skin-hydradark .TablePager td {
    background: transparent !important;
    border: 1px solid #76BEFF;
    color: #FFFFFF;
}

/* Preferences */
.skin-hydradark #preftoc {
    background-color: #000000;
    border: 0px;
    margin: 0 0 4px !important;
}

.skin-hydradark #preftoc,
.skin-hydradark #preftoc li,  
.skin-hydradark #preferences, 
.skin-hydradark #preftoc li a {
    background-image: none;
    background-color: transparent;
    color: #ffffff;
}

.skin-hydradark #preferences fieldset.prefsection {
    border: medium none !important;
}

.skin-hydradark #preftoc li.selected a {
    background-color: #000000;
    background-image: none;
    border-color: #76BEFF;
    border-style: solid solid none;
    border-width: 1px 1px medium;
    color: #FFFFFF;
}

.skin-hydradark #preferences {
    background-color: #000000;
    border: 1px solid #76BEFF;
}

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

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

.skin-hydradark #preferences td.htmlform-tip {
    color: #5F5D5E;
}

/* Thumbnails */
div.thumbinner {
    background-color: #000000;
    border: 1px solid #76BEFF;
}

li.gallerybox {
    border: 1px solid #76BEFF;
}

li.gallerybox div.thumb {
    background-color: #000000;
    border: 1px solid #76BEFF;
}

/* Search form */
.skin-hydradark .mw-search-profile-tabs {
    background-color: #000000;
    border: 1px solid #76BEFF;
    margin-top: 1em;
}

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

/* page history */
#pagehistory li {
    border: 1px solid #76BEFF;
}

#pagehistory li.selected {
    background-color: #000000;
    border: 1px dashed #76BEFF;
}

table.diff {
    background-color: #000000;
}

td.diff-context {
    background: none repeat scroll 0 0 transparent;
    color: #c0c0c0;
}

td.diff-deletedline {
    background-color: #FFE49C;
    border-color: #FFE49C;
    color: black;
}

td.diff-addedline {
    background-color: rgba(163, 211, 255, 0.5);
    border-color: #A3D3FF;
    color: black;
}

/* WikiClaims tool dropdown fix */
#wikilist .controls_container > .dropdown {
    right: 24px;
    top: -24px;
}

#ca-unwatch.icon a,
#ca-watch.icon a {
    background-position: 5px 60%;
    display: block;
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 23px 0 0;
    width: 26px;
}

div.vectorMenu h3 a {
    background-image:none;
    background-position: right bottom;
    background-repeat: no-repeat;
    display: inline-block;
    height: 1.9em;
    text-decoration: none;
    width: 24px;
}

div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
    border: medium none;
    display: inline-block;
    float: left;
    font-size: 0.8em;
    font-weight: bold;
    padding-left: 0.5em;
    padding-top: 1em;
    color: #76BEFF;
}

.skin-hydradark #mw-panel.collapsible-nav .portal {
    background-image: none;
    background-position: left top;
    background-repeat: no-repeat;
    margin: -11px 9px 10px 11px;
    padding: 0.25em 0 !important;
    background:none;
}

.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a {
    color: #76BEFF;
    font-weight: bold;
    font-size: 130%;
}
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a {
    color: #76BEFF;
    font-weight: bold;
    font-size: 130%;
}

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
background: transparent;
border-radius: 5px;
margin: 5px;
padding-top: 5px;
border-style: solid;
border-width: 17px 14px 17px 16px;
-moz-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/f/f1/Afineborderifisaysomyself.png) 17 14 17 16 stretch;
-webkit-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/f/f1/Afineborderifisaysomyself.png) 17 14 17 16 stretch;
-o-border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/f/f1/Afineborderifisaysomyself.png) 17 14 17 16 stretch;
border-image: url(https://galciv3.gamepedia.com/media/galciv3.gamepedia.com/f/f1/Afineborderifisaysomyself.png) 17 14 17 16 fill stretch;
}

/* Wiki editor */
/* MW 1.29 Hydra Dark Visual Editor Fix */
.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, 
.oo-ui-popupToolGroup.oo-ui-widget-enabled, 
.oo-ui-popupWidget-popup,
.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool,
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    background: rgba(55, 55, 55, 1) !important;
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, .oo-ui-popupToolGroup.oo-ui-widget-enabled, .oo-ui-popupWidget-popup {   
    border-color: #c8ccd1;
}

.oo-ui-toolbar-actions .oo-ui-toolGroup {
    border-right: 0;
    border-left: 1px solid #2c2c2c !important;
}

.ve-ui-mwSaveDialog-license {
    color: #eee;
}

/* Fixes */

div#content h1, div#content #firstHeading {
  margin-top: -35px;
}

#left-navigation {
  float: left;
  margin-left: 12em;
  margin-top: 5.2em;
  margin-bottom: -2.5em;
  display: inline;
}

#right-navigation {
  float: right;
  margin-top: 5.2em;
  margin-right: 3em;
}

div#mw-head div.vectorMenu h4, div#p-variants.vectorMenu #mw-vector-current-variant {
  padding-top: 0.85em;
}

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

div#simpleSearch {
  margin-top: 0em;
  position: relative;
  min-height: 1px;
  border: solid 1px #76BEFF;
  color: black;
  background-color: transparent;
  background-image: none;
}

div#simpleSearch #searchInput {
  color: white;
}


/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}
 
/* Hide main page header */
body.page-Main_Page h1.firstHeading {
    display:none;
}

/* Notice templates */
.topNotice {
  border: 2px solid #ff9900;
  background: rgba(0, 0, 0, 0);
  margin: 0 0 10px 0;
  padding: 3px 6px;
  overflow: auto;
}

.topNotice .heading {
  font-size: 132%;
  font-weight: bold;
  margin: 0 0 8px 0;
  padding: 0;
}

.topNotice.delete {
  border: 2px solid #ff0000;
}

.topNotice.move,
.topnotice.merge,
.topnotice.split {
  border: 2px solid #bb8800;
}

.topNotice.pagestub,
.topNotice.imagerequest,
.topNotice.nowalkthrough {
  border: 2px solid #008000;
}

/* 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("/media/1/716/claim_wiki_button.png") no-repeat scroll left center / 100% auto rgba(0, 0, 0, 0);
    color: transparent;
    display: block;
    height: 57px;
    margin: 0 auto;
    max-width: 100%;
    width: 200px;
}

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


/* Last fix */


a, 
a:visited,
div#content a.extiw,
div#content a.extiw:visited,
div#content a.external, 
div#content a.external:visited,
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited,
div#mw-panel div.portal div.body ul li a:link,
label.toctogglelabel  {
    color: #76BEFF;
}

div#mw-panel div.portal h3 {
    color: #fff;
}

/* EDITOR STYLING */

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

div.wikiEditor-ui, div.wikiEditor-ui-toolbar, div.wikiEditor-ui-controls, div.wikiEditor-ui-buttons {
    background: transparent;
    border: transparent 1px;

}

div.wikiEditor-ui-tabs div.current {
    background-color: #211C0F !important;
    border-bottom: 1px solid #211C0F;
}


/* This governs the sections on the Community portal */
.cpbox {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.cpbox #admins {
    box-sizing: border-box;
    width: calc(33% - 10px);
    margin: 5px;
    flex-grow: 1;
    min-width: 300px;
}

.cpbox #help {
    box-sizing: border-box;
    width: calc(67% - 10px);
    margin: 5px;
    flex-grow: 1;
}