PickCrafter Wiki
No edit summary
No edit summary
Line 38: Line 38:
 
body {
 
body {
 
background-color: #202020;
 
background-color: #202020;
background-image: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/2/26/Background.png);
+
background-image: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/2/26/Background.png);
 
}
 
}
   
 
div#mw-head {
 
div#mw-head {
background: #8DBDE9 url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/2/2c/Header-background-altsearch.png) repeat-x 0 87px;
+
background: #8DBDE9 url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/2/2c/Header-background-altsearch.png) repeat-x 0 87px;
 
position: absolute;
 
position: absolute;
 
right: 0;
 
right: 0;
Line 100: Line 100:
   
 
div.vectorTabs span {
 
div.vectorTabs span {
background: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
+
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
 
margin-right: 8px;
 
margin-right: 8px;
 
position: relative;
 
position: relative;
Line 109: Line 109:
 
position: absolute;
 
position: absolute;
 
left: 0;
 
left: 0;
background: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
+
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
 
width: 6px;
 
width: 6px;
 
height: 100%;
 
height: 100%;
Line 116: Line 116:
   
 
#left-navigation div.vectorTabs li:first-child span:before {
 
#left-navigation div.vectorTabs li:first-child span:before {
background-image: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/49/Vector-tabs-first.png);
+
background-image: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/4/49/Vector-tabs-first.png);
 
height: 93px;
 
height: 93px;
 
}
 
}
Line 144: Line 144:
   
 
div#mw-head div.vectorMenu h3 {
 
div#mw-head div.vectorMenu h3 {
background: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
+
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
 
position: relative;
 
position: relative;
 
padding: 0;
 
padding: 0;
Line 154: Line 154:
 
div#mw-head div.vectorMenu h3:before {
 
div#mw-head div.vectorMenu h3:before {
 
content: "";
 
content: "";
background: url(https://hydra-media.cursecdn.com/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
+
background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
 
height: 100%;
 
height: 100%;
 
left: -6px;
 
left: -6px;
Line 493: Line 493:
 
/* copyright images tweak */
 
/* copyright images tweak */
 
.copyright-icon {
 
.copyright-icon {
background: url("https://hydra-media.cursecdn.com/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
+
background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
 
background-size: 100%;
 
background-size: 100%;
 
width: 32px;
 
width: 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-PickCrafter_Wiki h1.firstHeading {
    display:none;
}
/* Framework */

body #pageWrapper {
    margin-right: 5px;
}

/* Logo */
#p-logo {
    height: 151px !important;
    margin-left: 10px;
    margin-top: 20px;
    padding: 0;
    position: absolute;
    width: 506px !important;
    z-index: 4;
}

#p-logo a {
    height: 151px !important;
    width: 506px !important;
}

.mw-wiki-logo {
    -webkit-filter: drop-shadow(0px 0px 10px #999999);
    filter: drop-shadow(0px 0px 3.5px #999999) drop-shadow(1px 1px 1px #999999);
}

body {
     background-color: #202020;
     background-image: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/2/26/Background.png);
}

div#mw-head {
    background: #8DBDE9 url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/2/2c/Header-background-altsearch.png) repeat-x 0 87px;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

/* Set the tab link colours to black and bold */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
    font-weight: bold;
    text-decoration: none;
}

/* Use black links */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4 {
    color: #000;
}

#p-namespaces .new a,
#p-views .new a {
    color: #BA0000;
}

/* Add some margin to help with the 3D effect */
#pageWrapper,
#right-navigation {
    margin-right: 10px;
}

/* Tabs */
#left-navigation {
    margin-top: 135px;
}

#right-navigation {
    margin-top: 135px;
}

/* Give the tabs the grass block styling: [[File:Vector-tabs.png]] [[File:Vector-tabs-first.png]] */
div.vectorTabs,
div.vectorMenu {
    background: none;
    height: 36px; 
    padding: 0;
}

div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected {
    background: none;
}

div.vectorTabs span {
    background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
    margin-right: 8px;
    position: relative;
}

div.vectorTabs span:before {
    content: "";
    position: absolute;
    left: 0;
    background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
    width: 6px;
    height: 100%;
    pointer-events: none;
}

#left-navigation div.vectorTabs li:first-child span:before {
    background-image: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/4/49/Vector-tabs-first.png);
    height: 93px;
}

div.vectorTabs li.selected span,
div.vectorTabs li span:hover,
div.vectorTabs li span:focus {
    background-position: right bottom;
}

div.vectorTabs li a {
    height: 21px;
    padding: 15px 14px 0 20px;
}

#ca-watch.icon a,
#ca-unwatch.icon a {
    background-position: 17px 15px !important;
    padding-top: 36px;
    transform-origin: 25px 23.5px !important;
    width: 45px;
}

div.vectorMenu {
    margin: 0 8px 0 6px;
}

div#mw-head div.vectorMenu h3 {
    background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
    position: relative;
    padding: 0;
    margin: 0;
    height: 36px;
    overflow: visible;
}

div#mw-head div.vectorMenu h3:before {
    content: "";
    background: url(https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
    height: 100%;
    left: -6px;
    position: absolute;
    top: 0;
    width: 6px;
}

div#mw-head div.vectorMenu h3:hover,
div#mw-head div.vectorMenu.menuForceShow h3 {
    background-position: right bottom;
}

div.vectorMenu h3 span {
    font-weight: bold;
    margin-right: 28px;
    padding: 16px 0 0 14px;
}

div.vectorMenu h3 a {
    height: 36px;
    margin-right: 8px;
}

div.vectorMenu div.menu {
    top: 36px;
}

/* Style the simple search */
#p-search {
    margin-left: 0;
}

#p-search form {
    background-color: rgba(0, 0, 0, 0.365);
    border-bottom: 4px solid #382314;
    border-right: 4px solid #538631;
    height: 27px;
    margin-top: -14px;
    padding: 0 4px 0 5px;
    position: relative;
}

#p-search form:before {
    content: "";
    border-left: 4px solid transparent;
    border-top: 4px solid rgba(0, 0, 0, 0.365);
    left: -4px;
    position: absolute;
    top: 0;
}

#p-search form:after {
    content: "";
    border-left: 4px solid #538631;
    border-top: 4px solid #80BA5A;
    position: absolute;
    right: -4px;
    top: 0;
}

div#simpleSearch {
    background-color: #D0CFCF;
    background-image: -webkit-linear-gradient(#C3C3C3, #DCDBDB);
    background-image: linear-gradient(#C3C3C3, #DCDBDB);
    border: 0;
    border-left: 3px solid #B0B0B0;
    border-top: 3px solid #E6E6E6;
    top: -3px;
}

#simpleSearch:before {
    content: "";
    border-left: 3px solid #79553A;
    border-top: 3px solid #B0B0B0;
    bottom: 0;
    left: -3px;
    position: absolute;
    z-index: 1;
}

#simpleSearch:after {
	content: "";
	position: absolute;
	top: -3px;
	right: 0;
	border-top: 3px solid #80BA5A;
	border-left: 3px solid #E6E6E6;
}

/* Fix placeholder text being too light in chrome */
::-webkit-input-placeholder {
	color: inherit;
	opacity: 0.54;
}

/* The suggestions shown under the search bar */
.suggestions.searchbar {
	margin-top: -29px;
	margin-right: -1px;
}

.suggestions.searchbar > .suggestions-results,
.suggestions.searchbar > .mw-searchSuggest-link {
    display: block;
	margin-left: 1px;
}

.suggestions.searchbar .suggestions-results,
.suggestions.searchbar .suggestions-special {
	background-color: #DBDADA;
	border-color: #3C3B3B;
}

.suggestions.searchbar .suggestions-result-current {
	background-color: highlight;
}

/* Sidebar */
div#mw-panel div.portal,
div#mw-panel div.portal div.body,
#mw-panel.collapsible-nav .portal {
    background-image: none;
}

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

div#mw-panel div.portal h3,
div#mw-panel div.portal h3:visited,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

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

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

/* Give the main content area its healthy blue glow and add a border */
div#content {
	position: relative;
	background-color: #E6EFF4;
	border-top: 6px solid #B4BEC3;
	border-bottom: 0;
	border-left: 6px solid #171717;
        margin-top: 89px;
}

/* Add the 3D corners to the main content */
div#content:before {
	content: "";
	position: absolute;
	border-top: 6px solid #B9855C;
	border-left: 6px solid #B4BEC3;
	top: -6px;
	right: 0;
}

/* Have to use the footer as #content:after is already used to clear the content float */
#footer {
    position: relative;
}

#footer:before {
    content: "";
    border-left: 6px solid #202020;
    border-top: 6px solid #171717;
    left: 0;
    position: absolute;
    top: -6px;
}

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

div#footer ul li a {
    color: #8DBDE9;
}

/* 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: #eeeeee;
    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: #f9f9f9;
    border: 1px solid #aaaaaa;
    color: #000000;
    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: #efefef;
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

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

.infoboxdetails {
    background-color: #efefef;
    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: transparent;
    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: transparent;
}

/* copyright images tweak */
.copyright-icon {
    background: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
    background-size: 100%;
    width: 32px;
    height: 32px;
}

.feature {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px; padding: 10px;
}

/* Navbox template style */
table.navbox {
    border: 1px solid #aaaaaa;
    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(255, 255, 255, 0.2);
}

.navbox-list {
    border-color: rgba(255, 255, 255, 0.2); /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(255, 255, 255, 0.2);
    color: #444;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* 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 */