Portal Knights Wiki
No edit summary
No edit summary
Line 102: Line 102:
   
 
div.vectorMenu h3 a {
 
div.vectorMenu h3 a {
background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url(https://hydra-media.cursecdn.com/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png) !important;
+
background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png) !important;
 
top: -3px;
 
top: -3px;
 
}
 
}
Line 657: Line 657:
 
/* copyright images tweak */
 
/* copyright images tweak */
 
.skin-hydradark .copyright-icon {
 
.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-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
 
background-size: 100%;
 
background-size: 100%;
 
height: 32px;
 
height: 32px;

Revision as of 22:02, 28 August 2017

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

body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background: url("https://portalknights.gamepedia.com/media/portalknights.gamepedia.com/d/d1/Starsbg.jpg") no-repeat fixed top center / cover #000000;
}

#pageWrapper {
    margin-right: 10px;
}

#mw-page-base {
    background: transparent !important;  
}
 
/* Logo */
#p-logo {
    height: 30px;
    left: 0;
    margin-bottom: 1em;
    position: relative;
    top: -140px;
    width: 10em;
}

/***********************
/* Special edits *
/***********************/
.editOptions {
    background-color: rgba(75,  75, 75, 1);
    border-right: 1px solid #C0C0C0;
    border-width: medium 1px 1px;
    border-style: none solid solid;
    border-color: -moz-use-text-color #C0C0C0 #C0C0C0;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    padding: 1em 1em 1.5em;
    margin-bottom: 2em;
}

div.editOptions {
    background-color: transparent;
    border: 1px solid rgba(6, 6, 6, .5);
}

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

.skin-hydradark #preferences fieldset {
    border-right: medium none;
    border-width: 1px medium medium;
    border-style: solid none none;
    border-color: #CCC -moz-use-text-color -moz-use-text-color;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    color: #fff;
}

#mw-head-base {
    background: transparent;
    bottom: 0;
    height: 35px;
    margin-top: -60px;
    margin-right: 10px;
}

#left-navigation {
  top: 90px;
  margin-top: 1em;
  left: 160px;
}
 
#right-navigation {
  margin: 90px 10px 0 0;
  margin-top: 1em;
  padding: 0;
}

div.vectorMenu h3 a {
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url(https://commons.gamepedia.com/media/commons.gamepedia.com/0/0b/Vector_menu_downarrow.png) !important;
    top: -3px;
}

div.vectorTabs {
    background-image: none;
}

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

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

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

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

div.vectorTabs ul li span {
    background-image: none;
    background-color: #transparent;
    color: #ffffff;
    font-weight: bold;
}

div.vectorTabs ul li.selected span {
    background-image: none;
    background-color: transparent;
    color: #ffffff;
    font-weight: bold;
}

div.vectorTabs li span a {
    background-image: none;
    color: #ffffff;
}

div.vectorTabs span a:visited {
    color: #ffffff;
}

div.vectorTabs li span a:hover,
div.vectorTabs span a:visited:hover {
    color: #c5c5c5;
}

div.vectorTabs li.selected span a {
    background-color: transparent;
    color: #ffffff !important;
}

div.vectorTabs li.new span a:visited {
    color: #ffffff;
}

div.vectorTabs li.new span a:hover,
div.vectorTabs li.new span a:visited:hover {
    color: #c5c5c5;
}

div.vectorMenu:hover,
div.menu,
div.vectorMenu div.menuForceShow {
    display: block;
}


div#p-cactions div.menu ul li a,
div.vectorMenu div.menu {
    background: rgba(17,17,17,0.95);
    border: none;
    box-shadow: 6px 9px 14px -7px rgba(0,0,0,0.75);
    color: #ffffff;
}

div#p-cactions div.menu ul li a:visited {
    color: #ffffff;
}

div#p-cactions div.menu ul li a:hover, div#p-cactions div.menu ul li a:visited:hover {
    display: block;
}

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

div.vectorMenu h3 span {
    padding-top: 1.3em;
    color: #ffffff;
}

div#mw-head div.vectorMenu h4 {
    color: #FFFFFF;
    font-weight: bold;
}

div.vectorMenu ul {
    background: #003333;
}

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

/* Sidebar */
.skin-hydradark div#mw-panel {
    margin-top: -15px;
}

.skin-hydradark div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles):not(#p-sitePromos) {
    background: rgba(17,17,17,0.95);
    box-shadow: 6px 9px 14px -7px rgba(0,0,0,0.75);
    margin: 5px;
}

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

.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: #FFFDFB;
}

.skin-hydradark #mw-panel.collapsible-nav div.portal h3 {
   background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAB3RJTUUH3wQBEiskN1GrWQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAT0lEQVQ4y+2TOwrAMAxD9Upy/wsH1KlQQlRcskabjSX/sa0dXNrEEZDaZFdXQqqAP+TUAlVynAHQK74oYHu8CUC3PZbJvk4ZaI9gjDm/oBt1WxYtuhHX/wAAAABJRU5ErkJggg==");
   background-position: left center;
   background-repeat: no-repeat;
}

.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 {
   background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAB3RJTUUH3wQBEikUI775dwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAT0lEQVQ4y9WTUQrAIAxDE9H7H3jC2wnqxKqw/OeRpq0BZVSU1FEAOxKwYwRs11QHwBNBpkuMIPfWaLsBfQkQmSWpzvhH5/6VwJkO/I9negFpGhkjDUKRdAAAAABJRU5ErkJggg==");
   background-position: left center;
   background-repeat: no-repeat;
}

.skin-hydradark div#mw-panel div.portal h3,
.skin-hydradark div#mw-panel div.portal h3:visited,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #fee13c;
    font-weight: bold;
    text-shadow: 3px 3px 3px rgba(0,0,0,0.8);
}

.skin-hydradark div#mw-panel div#p-socialProfiles.portal .body {
    margin: auto;
}

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

div#content {
    background: rgba(17,17,17,0.95);
    border: none;
    box-shadow: 6px 9px 14px -7px rgba(0,0,0,0.75);
    color: #ffffff;
}

/* link styles */
/* OLD
div#content a {
    color: #fee13c;
}*/
div#content a {
    color: #24b16a;
}


div#content a:visited, a:visited {
    color: #24b16a;
}

/* OLD
a.stub {
  color: #fee13c;
}*/
a.stub {
  color: #24b16a;
}

a.stub:visited {
  color: #24b16a;
}

a.extiw,
a.external,
div#content a.extiw,
div#content a.external {
  color: #c9c9c9;
}

a.extiw:visited,
a.external:visited {
  color: #24b16a;
}

a.external:visited {
    color: #24b16a;
}

/* OLD
a, 
a:visited,
div#content a.extiw,
div#content a.extiw:visited,
div#content a.external, 
div#content a.external:visited {
    color: #fee13c;
}*/
a, 
a:visited,
div#content a.extiw,
div#content a.extiw:visited,
div#content a.external, 
div#content a.external:visited {
    color: #24b16a;
}

a:hover {
    color: #c9c9c9;
}

h1, h2 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #fee13c;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
}

h3, h4, h5, h6 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #fee13c;
}

#catlinks,
.skin-hydradark #toc,
.skin-hydradark .toc,
.mw-warning,
ul#filetoc {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: #012437;
}

.skin-hydradark .mw-search-profile-tabs {
    background-color: transparent;
    margin-top: 1em;
    border: 1px solid silver;
}

.CategoryTreeEmptyBullet {
    color: #c0c0c0;
}

.catlinks li {
    border-left: none;
}

.CategoryTreeToggle {
    color: #fee13c;
}

code {
    background-color: #012437;
}

.skin-hydradark #preferences {
    background-color: rgba(0, 0, 0, 0.4);
    background-image: none;
    border: 1px solid #181818;
    clear: both;
    float: left;
    margin: -2px 0 0;
    width: 100%;
}

.skin-hydradark #preferences fieldset.prefsection fieldset {
    background-color: rgba(0, 0, 0, 0.4);
}

.skin-hydradark #preftoc li.selected a {
    background-image: none;
    color: #FFFFFF;
    text-decoration: none;
}

.skin-hydradark #preftoc {
    background-image: none;
}

.skin-hydradark #preftoc a, .skin-hydradark #preftoc a:active {
    background-image: none;
    color: #32b1d2;
}

.skin-hydradark #preftoc li {
    background-image: none;
}

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

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


.catlinks {
    background-color: #0f0f0f;
    border: 1px solid #2c74ae;
}

#toc, .toc, .mw-warning {
    background-color: #0f0f0f;
    border: 1px solid #dddad3;
    font-size: 95%;
    padding: 5px;
}

.wikitable th, .wikitable td {
    border: 1px solid #2c74ae;
}

table.wikitable {
    background: #0f0f0f;
    color: #FFFFFF;
}

table.wikitable th, table.wikitable tr th, table.wikitable > tr > th, table.wikitable > * > tr > th {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #2c74ae;
    color: #c9c9c9;
}

table.wikitable td, table.wikitable tr td, table.wikitable > tr > td, table.wikitable > * > tr > td {
    border: 1px solid #2c74ae;
}

code {
    background-color: #0f0f0f;
}

div.thumbinner {
    background-color: #0f0f0f;
    border: 1px solid #2c74ae;
}

li.gallerybox {
    border: 1px solid #2c74ae;
    display: inline-block;
    vertical-align: top;
}

li.gallerybox div.thumb {
    background-color: #0f0f0f;
    margin: 2px;
    text-align: center;
}

ul#filetoc {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #2c74ae;
}

table.mw_metadata td {
    background-color: rgba(0, 0, 0, 0.4);
}
table.mw_metadata th {
    background-color: rgba(0, 0, 0, 0.4);
}
table.mw_metadata td, table.mw_metadata th {
    border: 1px solid #2c74ae;
}
#pagehistory li {
    border: 1px solid #2c74ae;
}
#pagehistory li.selected {
    background-color: transparent;
    border: 1px dashed #2c74ae;
}
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: rgba(0, 0, 0, 0.4);
}
td.diff-context {
    background: none repeat scroll 0 0 #EEEEEE;
    color: #000000;
}
.skin-hydradark .TablePager {
    border: 1px solid #2c74ae;
}

.skin-hydradark .TablePager th {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #2c74ae;
}
.skin-hydradark .TablePager tr, .skin-hydradark .TablePager td {
    background-color: transparent;
    border: 1px solid #2c74ae;
}

.skin-hydradark .TablePager tr:hover td {
    background-color: rgba(0, 0, 0, 0.4);
}
.skin-hydradark .mw-datatable th {
    background-color: rgba(0, 0, 0, 0.4);
}
.skin-hydradark .mw-datatable, .skin-hydradark .mw-datatable td, .skin-hydradark .mw-datatable th {
    border: 1px solid #2c74ae;
}

/*****************
/* Footer styles *
/*****************/
div#footer {
    background-image: none;
}

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

div#footer a { 
    color: #FFFFFF; 
}

div#footer a:hover {
    color: #FFFFFF;
}

/*****************
/* amboxes fixes *
/*****************/
.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;
}

/* 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("http://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("http://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://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
    background-size: 100%;
    height: 32px;
    width: 32px;
}

/* Front page styles */
.fpmain {
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.fpbanner {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #82A8AF;
    box-shadow: 0 2px 5px #687478;
    color: #9CCAD2;
    margin: 0 5px 5px 5px;
    padding: 5px;
    min-height: 80px;
}

.fpbannertable {
    background: transparent;
    border: none;
    display: table;
    width: 100%; 
    min-height: 75px;
    margin: 0;
    padding: 5px;
}

.fpbannercell {
    display: table-cell; 
    text-align: center; 
    vertical-align: middle;
}

.fpbannerblock {
    border: none;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
    font-size: 132%;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
}

.fpmidsections {
    float: left;
    width: 100%;
    overflow: hidden;
}

.fpbox {
    background: #171717;
    border: 1px solid #2E2E2E;
    box-shadow: inset 0 0 5px 0px rgba(255, 153, 0, .5);
    color: #FFFFFF;
    margin: 5px;
    padding: 5px;
    overflow: auto;
}

.fpbox .mainheading {
    border: none;
    border-bottom: 1px solid #700001;
    color: #FFFFFF;
    font-size: 150%;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    overflow: auto;
}

.fpbox .heading {
    border: none;
    border-bottom: 1px solid #700001;
    color: #FFFFFF;
    font-size: 132%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    overflow: auto;
}

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

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

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

div.fp2columnonly, div.fp3columnonly {
    display: none; 
}

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

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

  .fpsection4 {
    float: left;
    clear: none;
    width: 50%;
  }

  div.fp2columnonly {
    display: block; 
  }
}

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

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

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

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

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

  .fpsection3 {
    clear: none;
    width: 50%;
  }
 
  .fpsection4 {
    clear: left;
    width: 33.333%;
  }

  div.fp2columnonly {
    display: none; 
  }

  div.fp3columnonly {
    display: block; 
  }
}

.fpbox.plain {
    border: none;
    box-shadow: none;
    background: transparent;
}

.fpimagelist ul {
    list-style-type: none;
    list-style-image: none;
}

.fpvideos {
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.fpvideo {
    display: inline-block;
    margin: 0 5px;
}

.columns {
    padding: 0;
    margin: 10px 0 0 0;
    overflow: hidden;
}

.columns .leftcol {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
}

.columns .centercol {
    float: left;
    margin: 0;
    padding: 0;
}

.columns .rightcol {
    float: right;
    width: 50%;
    margin: 0;
    padding: 0;
}

/* Crafting table style */
.craftingtable img.thumbborder {
    border: 2px solid #e1dacd;
}