Minecraft Wiki
Bumblepo (discusión | contribs.)
Sin resumen de edición
Sin resumen de edición
Línea 131: Línea 131:
 
span.active {
 
span.active {
 
display:inline
 
display:inline
  +
}
  +
  +
/* [[Template:Grid/Cell]] */
  +
.grid2 {
  +
display: inline-block;
  +
position: relative;
  +
text-align: left !important;
  +
background-color: #8B8B8B;
  +
height: 32px;
  +
width: 32px;
  +
padding: 2px;
  +
vertical-align: bottom;
  +
}
  +
.grid2.output {
  +
height: 48px;
  +
width: 48px;
  +
}
  +
  +
.grid2 img {
  +
image-rendering: -moz-crisp-edges;
  +
image-rendering: -o-crisp-edges;
  +
image-rendering: -webkit-optimize-contrast;
  +
-ms-interpolation-mode: nearest-neighbor;
  +
}
  +
  +
.grid2 .border {
  +
display: block;
  +
margin: -2px 0 0 -2px;
  +
border-style: solid none none solid;
  +
border-width: 2px;
  +
border-color: #373737;
  +
height: 100%;
  +
}
  +
.grid2 .border > span {
  +
display: block;
  +
margin-right: -2px;
  +
border-style: none solid solid none;
  +
border-width: 2px;
  +
border-color: #FFFFFF;
  +
height: 100%;
  +
}
  +
  +
.grid2 .image,
  +
.grid2 .default-image {
  +
position: absolute;
  +
line-height: 16px;
  +
top: 2px;
  +
width: 32px;
  +
height: 32px;
  +
}
  +
.grid2.output .image {
  +
top: 10px;
  +
left: 10px;
  +
}
  +
.grid2 .image > a.new {
  +
background-image: url("http://media-mcw.cursecdn.com/3/35/Grid_Unknown.png");
  +
display: block;
  +
width: 32px;
  +
height: 32px;
  +
outline: none;
  +
text-indent: -99999px;
  +
}
  +
  +
.grid2 .number {
  +
position: absolute;
  +
right: -2px;
  +
bottom: -2px;
  +
text-align: right;
  +
font-family: Minecraft;
  +
font-size: 16px;
  +
color: #FFF;
  +
pointer-events: none;
  +
text-shadow: 2px 2px 0px #3F3F3F;
  +
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
  +
}
  +
.grid2 .number a {
  +
color: #FFF;
  +
text-decoration: none;
  +
}
  +
.grid2 .number .selflink {
  +
font-weight: normal;
  +
}
  +
.grid2 .image a.new + .number {
  +
display: none;
  +
}
  +
  +
/** Template stylings **/
  +
/* [[Template:Grid]] */
  +
.grid .animated .image,
  +
.grid .paused .image {
  +
display: none;
  +
}
  +
.grid .animated .image.active,
  +
.grid .paused .image.active {
  +
display: block;
  +
}
  +
  +
/* [[Template:Grid/Cell]] */
  +
.grid {
  +
display: inline-block;
  +
position: relative;
  +
text-align: left !important;
  +
background-color: #8B8B8B;
  +
height: 32px;
  +
width: 32px;
  +
padding: 2px;
  +
vertical-align: bottom;
  +
}
  +
.grid.output {
  +
height: 48px;
  +
width: 48px;
  +
}
  +
  +
.grid .border {
  +
display: block;
  +
margin: -2px 0 0 -2px;
  +
border-style: solid none none solid;
  +
border-width: 2px;
  +
border-color: #373737;
  +
height: 100%;
  +
}
  +
.grid .border span {
  +
display: block;
  +
margin-right: -2px;
  +
border-style: none solid solid none;
  +
border-width: 2px;
  +
border-color: #FFFFFF;
  +
height: 100%;
  +
}
  +
  +
.grid .image,
  +
.grid .default-image {
  +
position: absolute;
  +
line-height: 16px;
  +
top: 2px;
  +
width: 32px;
  +
}
  +
.grid.output .image {
  +
top: 10px;
  +
left: 10px;
  +
}
  +
.grid .image > a.new {
  +
background-image: url("http://media-mcw.cursecdn.com/3/35/Grid_Unknown.png");
  +
display: block;
  +
width: 32px;
  +
height: 32px;
  +
outline: none;
  +
text-indent: -99999px;
  +
}
  +
  +
.grid .number {
  +
display: block;
  +
margin: -12px -4px 0 0;
  +
text-align: right;
  +
font-family: Minecraft;
  +
font-size: 16px;
  +
pointer-events: none;
  +
}
  +
.grid .number .selflink,
  +
.grid .number a {
  +
color: #3F3F3F;
  +
text-decoration: none;
  +
font-weight: normal;
  +
}
  +
.grid .image a.new + .number {
  +
display: none;
  +
}
  +
.grid .number span {
  +
position: absolute;
  +
right: -2px;
  +
bottom: 2px;
  +
color: #FFFFFF;
  +
}
  +
  +
.grid-Crafting_Table,
  +
.grid-Furnace,
  +
.grid-Brewing_Stand table,
  +
.grid-generic {
  +
background: #C6C6C6;
  +
border: outset 2px #999;
  +
padding: 6px;
  +
text-align: left !important;
  +
}
  +
.grid-Crafting_Table td,
  +
.grid-Furnace td,
  +
.grid-Brewing_Stand td,
  +
.grid-generic td {
  +
border: none;
  +
padding: 0;
  +
}
  +
  +
/* [[Template:Grid/Crafting Table]] */
  +
.grid-Crafting_Table .arrow,
  +
.grid-Crafting_Table .shapeless {
  +
text-align: center;
  +
vertical-align: bottom;
  +
}
  +
  +
.grid-Crafting_Table .arrow {
  +
width: 40px;
  +
padding-bottom: 5px;
  +
}
  +
  +
.grid-Crafting_Table .shapeless span {
  +
cursor: help;
  +
}
  +
  +
/* [[Template:Grid/Furnace]] */
  +
.grid-Furnace {
  +
padding-left: 24px;
  +
padding-right: 24px;
  +
}
  +
  +
.grid-Furnace .arrow,
  +
.grid-Furnace .output {
  +
text-align: center;
  +
vertical-align: middle;
  +
}
  +
  +
.grid-Furnace .arrow {
  +
padding-right: 18px !important;
  +
padding-left: 14px !important;
  +
}
  +
  +
/* [[Template:Grid/Brewing Stand]] */
  +
.grid-Brewing_Stand {
  +
position: relative;
  +
width: 144px;
  +
}
  +
  +
.grid-Brewing_Stand .bubbles {
  +
text-align: right;
  +
}
  +
  +
.grid-Brewing_Stand .input {
  +
padding: 3px 0 !important;
  +
vertical-align: top;
  +
}
  +
.grid-Brewing_Stand .output1 {
  +
padding: 4px 10px 14px 0 !important;
  +
}
  +
.grid-Brewing_Stand .output2 {
  +
padding-top: 18px !important;
  +
}
  +
.grid-Brewing_Stand .output3 {
  +
padding: 4px 0 14px 10px !important;
  +
}
  +
  +
.grid-Brewing_Stand .paths {
  +
position: absolute;
  +
bottom: 42px;
  +
left: 42px;
  +
z-index: 5;
  +
}
  +
  +
/* [[Template:Infobox common]] */
  +
.infobox {
  +
clear: right;
  +
margin: 3px 0px 3px 3px;
  +
width: 300px;
  +
font-size: 90%;
  +
background: #FFFFFF;
  +
float: right;
  +
border: 1px solid #CCCCCC;
  +
padding: 2px
  +
}
  +
  +
.infobox-title {
  +
font-weight: bold;
  +
text-align: center;
  +
font-size: 120%
  +
}
  +
  +
.infobox-imagearea {
  +
text-align: center;
  +
padding: 4px
  +
}
  +
  +
.infobox table {
  +
width: 100%
  +
}
  +
  +
.infobox p {
  +
margin: 0
  +
}
  +
  +
.infobox audio {
  +
width: 184px
  +
}
  +
  +
.infobox dl:last-child {
  +
margin-bottom: 0.2em;
  +
}
  +
  +
.infobox-footer {
  +
text-align: center
  +
}
  +
  +
/* What is this? */
  +
.infobox.atfmrec {
  +
border: none !important
  +
}
  +
  +
/* [[Template:Infobox row]] */
  +
.infobox-row {
  +
white-space: nowrap;
  +
font-weight: bold
  +
}
  +
  +
/* [[Template:Navbox]] */
  +
.navbox {
  +
border: 1px solid #CCCCCC;
  +
margin: 1em auto 0;
  +
clear: both
  +
}
  +
  +
.navbox table {
  +
width: 100%;
  +
background: #FFFFFF
  +
}
  +
  +
.navbox table table {
  +
margin-left: -4px;
  +
}
  +
.navbox table table:first-child {
  +
margin-top: -2px;
  +
}
  +
.navbox table table:last-child {
  +
margin-bottom: -2px;
  +
}
  +
  +
.navbox-top {
  +
white-space: nowrap;
  +
background-color: #CCCCCC;
  +
padding: 0 3px
  +
}
  +
  +
.navbox-navbar,
  +
.navbox-navbar-mini {
  +
float: left;
  +
font-size: 80%
  +
}
  +
  +
.navbox-title {
  +
padding: 0 10px;
  +
font-size: 110%
  +
}
  +
  +
.navbox-group {
  +
background-color: #EEEEEE;
  +
padding: 0 10px;
  +
white-space: nowrap;
  +
text-align: right
  +
}
  +
  +
.navbox-list {
  +
width: 100%;
  +
padding: 0 0 0 2px
  +
}
  +
  +
/* [[Template:History]] */
  +
.history .toggleHistDetails {
  +
float: right;
  +
padding-left: 4px;
  +
}
  +
.history .details {
  +
display: none;
  +
}
  +
  +
/* [[Template:Sprite/Preview]] */
  +
.sprite-preview:hover div {
  +
opacity: 0.7 !important;
  +
}
  +
  +
/** Misc stuff **/
  +
/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
  +
#toolbar {
  +
height: 22px
  +
}
  +
  +
/* Remove the header from the main page */
  +
body.page-Minecraft_Wiki.action-view h1.firstHeading {
  +
display: none
  +
}
  +
  +
/* Change main logo to somewhere that can be uploaded to from the wiki */
  +
#p-logo a {
  +
background-image: url("http://media-mcw.cursecdn.com/b/bc/Wiki.png") !important
  +
}
  +
  +
/* Collapsible Tables ([[MediaWiki:Common.js]]) */
  +
table.collapsed tr.collapsible {
  +
display: none
  +
}
  +
  +
.collapsible-button {
  +
float: right;
  +
font-weight: normal;
  +
text-align: right;
  +
  +
/* Other languages: Change this to a bit wider (~4px) than your collapse/expand button text */
  +
width: 5em;
  +
}
  +
  +
.collapsible.collapse-button-left > tr > th .collapsible-button,
  +
.collapsible.collapse-button-left > * > tr > th .collapsible-button {
  +
float: left;
  +
text-align: left;
  +
}
  +
  +
.collapsible.collapse-button-none > tr > th .collapsible-button,
  +
.collapsible.collapse-button-none > * > tr > th .collapsible-button {
  +
float: none;
  +
}
  +
  +
/* Alternating cell background, primarily used with [[Template:Infobox row]] */
  +
.alternatecells:nth-child(odd) {
  +
background-color: #F9F9F9
  +
}
  +
/* Alternating table rows */
  +
.alternaterows tr:nth-child(even) {
  +
background-color: #F9F9F9
  +
}
  +
  +
/* The blue header used throughout the wiki */
  +
.mcwiki-header,
  +
#curse-panel .block_header {
  +
background: #729FCF;
  +
border: 1px solid #ccc;
  +
border-bottom: 4px groove #999999;
  +
border-right: 4px groove #999999;
  +
padding: 5px;
  +
}
  +
  +
/* Make transparency visible on image pages */
  +
.filehistory a img,
  +
#file img:hover {
  +
background: url("http://media-mcw.cursecdn.com/5/5d/Checker-16x16.png")
  +
}
  +
#file button img {
  +
background: none !important
  +
}
  +
  +
/* Highlight clicked reference in blue to help navigation */
  +
ol.references li:target,
  +
sup.reference:target,
  +
span.citation:target {
  +
background-color: #C1DAF2
  +
}
  +
  +
/* Style the sitenotice and fix up its awful spacing (why is it even a table!?) */
  +
#siteNotice #localNotice,
  +
.page-MediaWiki_Sitenotice .mw-content-ltr > div
  +
{
  +
background-color: #FFFFFF;
  +
border: 1px solid #D3D3D3;
  +
margin-bottom: 12px;
  +
text-align: center
  +
}
  +
#siteNotice #mw-dismissable-notice #localNotice {
  +
/* Note to other languages: Change this to the same width as the "dismiss" button in your language, this makes the sitenotice centred better */
  +
margin-left: 55px
  +
}
  +
  +
#siteNotice td:first-child {
  +
width: 100%
  +
}
  +
  +
#localNotice div p {
  +
padding: 0.4em 0 0.5em;
  +
margin: 0;
  +
}
  +
  +
/* Minecraft font */
  +
@font-face {
  +
font-family: Minecraft;
  +
src: url("http://www.minecraftwiki.net/fonts/minecraft.eot?#iefix"),
  +
url("http://www.minecraftwiki.net/fonts/minecraft.woff") format('woff'),
  +
url("http://www.minecraftwiki.net/fonts/minecraft.ttf") format('truetype')
  +
}
  +
  +
/* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off) */
  +
#mw-panel div.portal {
  +
margin: -11px 9px 10px 11px;
  +
padding: 0.25em 0 !important;
  +
background-image: url("http://media-mcw.cursecdn.com/b/bf/Panel-divider.png");
  +
background-position: left top;
  +
background-repeat: no-repeat
  +
}
  +
#mw-panel div.portal div.body {
  +
background-image: none !important;
  +
padding: 0 !important;
  +
margin: 0 0 0 1.25em;
  +
}
  +
#mw-panel div.portal h5 {
  +
padding: 4px 0 3px 1.5em !important;
  +
margin-bottom: 0 !important
  +
}
  +
#mw-panel div.portal ul li {
  +
padding: 0.25em 0 !important
  +
}
  +
  +
#p-Minecraft_Wiki {
  +
background-image: none !important;
  +
margin-top: 0 !important;
  +
}
  +
#p-Minecraft_Wiki h5 {
  +
display: none
  +
}
  +
#p-Minecraft_Wiki div.body {
  +
display: block !important;
  +
margin-left: 0.5em !important;
  +
background-image: none !important;
  +
padding-top: 0 !important
  +
}
  +
  +
#p-tb div.body {
  +
display: none
  +
}
  +
  +
/* Allow parts of toc to be hidden */
  +
/* Section levels */
  +
.hide-toc2 .toclevel-1 ul,
  +
.toc-hidelevel2 .toclevel-1 ul {
  +
display: none;
  +
}
  +
  +
/* Numbers */
  +
.toc-nonumbers .tocnumber {
  +
display: none;
  +
}
  +
  +
/* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */
  +
.collapsible.collapsed > tr,
  +
.collapsible.collapsed > tbody > tr {
  +
display: none;
  +
}
  +
.collapsible.collapsed > tr:first-child,
  +
.collapsible.collapsed > tbody > tr:first-child {
  +
display: table-row;
  +
}
  +
.collapsible.collapsed > thead + tbody > tr:first-child {
  +
display: none;
  +
}
  +
  +
/* Improve ASIRRA styling */
  +
#asirra_InstructionsTextId {
  +
display: none;
  +
}
  +
#AsirraDiv {
  +
margin-bottom: 10px;
  +
}
  +
  +
/**
  +
* Remove on upgrade to 1.19
  +
*
  +
* Reverts wikitable styling to default table, then re-applies it
  +
* correctly, so it does not affect child tables
  +
*/
  +
table.wikitable th,
  +
table.wikitable td {
  +
border: none;
  +
padding: 0;
  +
}
  +
table.wikitable th {
  +
background-color: transparent;
  +
}
  +
table.wikitable caption {
  +
font-weight: normal;
  +
}
  +
  +
table.wikitable > tr > th,
  +
table.wikitable > tr > td,
  +
table.wikitable > * > tr > th,
  +
table.wikitable > * > tr > td {
  +
border: 1px #AAA solid;
  +
padding: 0.2em;
  +
}
  +
table.wikitable > tr > th,
  +
table.wikitable > * > tr > th {
  +
background-color: #F2F2F2;
  +
text-align: center;
  +
}
  +
table.wikitable > caption {
  +
font-weight: bold;
  +
}
  +
  +
/* Turn a list into a tree view style (See [[.minecraft]]) */
  +
.treeview {
  +
margin-top: 0.3em;
  +
}
  +
  +
.treeview ul,
  +
.treeview li {
  +
margin: 0;
  +
padding: 0;
  +
list-style-type: none;
  +
list-style-image: none;
  +
}
  +
  +
.treeview li li {
  +
padding-left: 13px;
  +
margin-left: 10px;
  +
border-left: 1px solid #636363;
  +
background: url("http://media-mcw.cursecdn.com/5/51/Treeview-list.png") no-repeat 0 11px
  +
}
  +
  +
.treeview li li:last-child {
  +
border: 0;
  +
padding-left: 14px;
  +
background: url("http://media-mcw.cursecdn.com/d/d6/Treeview-end.png") no-repeat 0 -1px
  +
}
  +
  +
.treeview li li li {
  +
margin-left: 7px;
  +
}
  +
  +
/* Move suggestions back into place (netbar moved them) */
  +
.suggestions {
  +
margin-top: -29px !important;
  +
}
  +
  +
/* Simulate link styling for JS only links */
  +
.jslink {
  +
color: #0645AD;
  +
-webkit-user-select: none;
  +
-moz-user-select: none;
  +
-ms-user-select: none;
  +
}
  +
.jslink:hover {
  +
text-decoration: underline;
  +
cursor: pointer;
  +
}
  +
.jslink:active {
  +
color: #FAA700;
  +
}
  +
  +
/* Improve styling of sub-categories */
  +
#mw-subcategories ul {
  +
list-style-type: none;
  +
margin-left: 10px;
  +
}
  +
  +
/* Use text arrows for enhanced rc instead of outdated (and broken) images */
  +
td.mw-enhanced-rc {
  +
padding-left: 13px !important;
  +
}
  +
td + td.mw-enhanced-rc {
  +
padding-left: 0 !important;
  +
}
  +
  +
.mw-enhanced-rc img {
  +
display: none;
  +
}
  +
  +
.mw-rc-openarrow:after {
  +
content: "►";
  +
}
  +
.mw-rc-closearrow:after {
  +
content: "▼";
  +
}
  +
  +
table.mw-enhanced-rc .mw-collapsible-toggle {
  +
cursor: pointer;
  +
color: #0645AD;
  +
}
  +
  +
/* Horizontal list */
  +
.hlist ul,
  +
.hlist li {
  +
display: inline-block;
  +
margin: 0;
  +
}
  +
.hlist li {
  +
white-space: nowrap;
  +
}
  +
.hlist li:after {
  +
content: " •";
  +
}
  +
.hlist li:last-child:after,
  +
.hlist li.last-child:after {
  +
content: "";
  +
}
  +
  +
.hlist li > ul li:first-child:before {
  +
content: "(";
  +
}
  +
.hlist li > ul li:last-child:after,
  +
.hlist li > ul li.last-child:after {
  +
content: ")";
  +
}
  +
  +
.hlist li li li {
  +
font-size: x-small;
  +
}
  +
  +
/* Generic styling for animation class */
  +
.animated > span,
  +
.animated > div {
  +
display: none;
  +
}
  +
  +
.animated > span.active {
  +
display: inline;
  +
}
  +
  +
.animated > div.active {
  +
display: block;
  +
}
  +
  +
  +
.nowrap {
  +
white-space: nowrap;
  +
}
  +
  +
/* Merge adjacent dls (since they're usually supposed to be one, but the wiki screws up sometimes) */
  +
dl + dl {
  +
margin-top: -0.4em;
  +
}
  +
  +
/* Hide noscript only elements */
  +
.noscript {
  +
display: none;
 
}
 
}

Revisión del 17:05 19 dic 2012

/* CSS placed here will be applied to all skins */

#p-logo a { 
background-image:url(http://www.minecraftwiki.net/images/b/bc/Wiki.png) !important; }

#pt-userpage, #pt-anonuserpage, #pt-login {
background: url("/extensions/Curse/Icons/Flame.png") left top no-repeat;
padding-left: 10px !important;
}

/*  Footer */

#ft {
background: none;
}

#ft div {
width: 1100px;
}

#ft h1, #ft a, #ft {
color: #5F5F5F;
font-size: 10px;
}

#ft .site-navigation {
list-style: none;
margin-left: 160px;
padding-bottom: 5px;
font-size: 10px;
}

#ft .site-navigation ul {
list-style: none;
}

#ft .network-navigation {
margin-left: 160px;
margin-bottom: 140px !important;
}

#ft .network-navigation ul {
float: left;
width: 110px;
}

#ft .network-navigation ul.double {
width: 280px;
}

#ft .network-navigation ul.curse li.header a {
background: url("/extensions/Curse/Icons/Gray.png") repeat scroll 0 0 transparent;
display: block;
text-indent: -999em;
height: 18px;
width: 140px;
}

#ft .network-navigation ul li {
float: left;
list-style: none;
width: 140px;
margin-bottom: 2px;
}

#ft .network-navigation ul li.header {
font-size: 12px;
clear: both;
font-weight: bold;
color: #FF6015;
width: 100%;
}

/* The blue header used throughout the wiki */
.mcwiki-header {
    background: #729FCF;
    border: 1px solid #ccc;
    border-bottom: 4px groove #999999;
    border-right: 4px groove #999999;
    padding: 5px;
}

/* For [[Template:Grid/Crafting Table]] , [[Template:Grid/Furnace]] and [[Template:Grid/Slide]] */
.grid-input {
 top: 2px;
 left: 2px;
 position: absolute;
 z-index: 1
}

.grid-output {
 top: 10px;
 left: 10px;
 position: absolute;
 z-index: 1
}

.grid-input-number {
 top: 17px;
 left: 22px;
 position: absolute;
 z-index: 2
}

.grid-input-number2 {
 top: 17px;
 left: 10px;
 position: absolute;
 z-index: 2
}

.grid-output-number {
 top: 25px;
 left: 30px;
 position: absolute;
 z-index: 2
}

.grid-output-number2 {
 top: 25px;
 left: 18px;
 position: absolute;
 z-index: 2
}

div.grid-input-slide > span, div.grid-output-slide > span
{
 display:none
}

span.active {
 display:inline
}

/* [[Template:Grid/Cell]] */
.grid2 {
    display: inline-block;
    position: relative;
    text-align: left !important;
    background-color: #8B8B8B;
    height: 32px;
    width: 32px;
    padding: 2px;
    vertical-align: bottom;
}
.grid2.output {
    height: 48px;
    width: 48px;
}

.grid2 img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}
 
.grid2 .border {
    display: block;
    margin: -2px 0 0 -2px;
    border-style: solid none none solid;
    border-width: 2px;
    border-color: #373737;
    height: 100%;
}
.grid2 .border > span {
    display: block;
    margin-right: -2px;
    border-style: none solid solid none;
    border-width: 2px;
    border-color: #FFFFFF;
    height: 100%;
}
 
.grid2 .image,
.grid2 .default-image {
    position: absolute;
    line-height: 16px;
    top: 2px;
    width: 32px;
    height: 32px;
}
.grid2.output .image {
    top: 10px;
    left: 10px;
}
.grid2 .image > a.new {
    background-image: url("http://media-mcw.cursecdn.com/3/35/Grid_Unknown.png");
    display: block;
    width: 32px;
    height: 32px;
    outline: none;
    text-indent: -99999px;
}
 
.grid2 .number {
    position: absolute;
    right: -2px;
    bottom: -2px;
    text-align: right;
    font-family: Minecraft;
    font-size: 16px;
    color: #FFF;
    pointer-events: none;
    text-shadow: 2px 2px 0px #3F3F3F;
    filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
}
.grid2 .number a {
    color: #FFF;
    text-decoration: none;
}
.grid2 .number .selflink {
    font-weight: normal;
}
.grid2 .image a.new + .number {
    display: none;
}

/** Template stylings **/
/* [[Template:Grid]] */
.grid .animated .image,
.grid .paused .image {
    display: none;
}
.grid .animated .image.active,
.grid .paused .image.active {
    display: block;
}

/* [[Template:Grid/Cell]] */
.grid {
    display: inline-block;
    position: relative;
    text-align: left !important;
    background-color: #8B8B8B;
    height: 32px;
    width: 32px;
    padding: 2px;
    vertical-align: bottom;
}
.grid.output {
    height: 48px;
    width: 48px;
}

.grid .border {
    display: block;
    margin: -2px 0 0 -2px;
    border-style: solid none none solid;
    border-width: 2px;
    border-color: #373737;
    height: 100%;
}
.grid .border span {
    display: block;
    margin-right: -2px;
    border-style: none solid solid none;
    border-width: 2px;
    border-color: #FFFFFF;
    height: 100%;
}

.grid .image,
.grid .default-image {
    position: absolute;
    line-height: 16px;
    top: 2px;
    width: 32px;
}
.grid.output .image {
    top: 10px;
    left: 10px;
}
.grid .image > a.new {
    background-image: url("http://media-mcw.cursecdn.com/3/35/Grid_Unknown.png");
    display: block;
    width: 32px;
    height: 32px;
    outline: none;
    text-indent: -99999px;
}

.grid .number {
    display: block;
    margin: -12px -4px 0 0;
    text-align: right;
    font-family: Minecraft;
    font-size: 16px;
    pointer-events: none;
}
.grid .number .selflink,
.grid .number a {
    color: #3F3F3F;
    text-decoration: none;
    font-weight: normal;
}
.grid .image a.new + .number {
    display: none;
}
.grid .number span {
    position: absolute;
    right: -2px;
    bottom: 2px;
    color: #FFFFFF;
}

.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
    background: #C6C6C6;
    border: outset 2px #999;
    padding: 6px;
    text-align: left !important;
}
.grid-Crafting_Table td,
.grid-Furnace td,
.grid-Brewing_Stand td,
.grid-generic td {
    border: none;
    padding: 0;
}

/* [[Template:Grid/Crafting Table]] */
.grid-Crafting_Table .arrow,
.grid-Crafting_Table .shapeless {
    text-align: center;
    vertical-align: bottom;
}

.grid-Crafting_Table .arrow {
    width: 40px;
    padding-bottom: 5px;
}

.grid-Crafting_Table .shapeless span {
    cursor: help;
}

/* [[Template:Grid/Furnace]] */
.grid-Furnace {
    padding-left: 24px;
    padding-right: 24px;
}

.grid-Furnace .arrow,
.grid-Furnace .output {
    text-align: center;
    vertical-align: middle;
}

.grid-Furnace .arrow {
    padding-right: 18px !important;
    padding-left: 14px !important;
}

/* [[Template:Grid/Brewing Stand]] */
.grid-Brewing_Stand {
    position: relative;
    width: 144px;
}

.grid-Brewing_Stand .bubbles {
    text-align: right;
}

.grid-Brewing_Stand .input {
    padding: 3px 0 !important;
    vertical-align: top;
}
.grid-Brewing_Stand .output1 {
    padding: 4px 10px 14px 0 !important;
}
.grid-Brewing_Stand .output2 {
    padding-top: 18px !important;
}
.grid-Brewing_Stand .output3 {
    padding: 4px 0 14px 10px !important;
}

.grid-Brewing_Stand .paths {
    position: absolute;
    bottom: 42px;
    left: 42px;
    z-index: 5;
}

/* [[Template:Infobox common]] */
.infobox {
    clear: right;
    margin: 3px 0px 3px 3px;
    width: 300px;
    font-size: 90%;
    background: #FFFFFF;
    float: right;
    border: 1px solid #CCCCCC;
    padding: 2px
}

.infobox-title {
    font-weight: bold;
    text-align: center;
    font-size: 120%
}

.infobox-imagearea {
    text-align: center;
    padding: 4px
}

.infobox table {
    width: 100%
}

.infobox p {
    margin: 0
}

.infobox audio {
    width: 184px
}

.infobox dl:last-child {
    margin-bottom: 0.2em;
}

.infobox-footer {
    text-align: center
}

/* What is this? */
.infobox.atfmrec {
    border: none !important
}

/* [[Template:Infobox row]] */
.infobox-row {
    white-space: nowrap;
    font-weight: bold
}

/* [[Template:Navbox]] */
.navbox {
    border: 1px solid #CCCCCC;
    margin: 1em auto 0;
    clear: both
}

.navbox table {
    width: 100%;
    background: #FFFFFF
}

.navbox table table {
    margin-left: -4px;
}
.navbox table table:first-child {
    margin-top: -2px;
}
.navbox table table:last-child {
    margin-bottom: -2px;
}

.navbox-top {
    white-space: nowrap;
    background-color: #CCCCCC;
    padding: 0 3px
}

.navbox-navbar,
.navbox-navbar-mini {
    float: left;
    font-size: 80%
}

.navbox-title {
    padding: 0 10px;
    font-size: 110%
}

.navbox-group {
    background-color: #EEEEEE;
    padding: 0 10px;
    white-space: nowrap;
    text-align: right
}

.navbox-list {
    width: 100%;
    padding: 0 0 0 2px
}

/* [[Template:History]] */
.history .toggleHistDetails {
    float: right;
    padding-left: 4px;
}
.history .details {
    display: none;
}

/* [[Template:Sprite/Preview]] */
.sprite-preview:hover div {
    opacity: 0.7 !important;
}

/** Misc stuff **/
/* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */
#toolbar {
    height: 22px
}

/* Remove the header from the main page */
body.page-Minecraft_Wiki.action-view h1.firstHeading {
    display: none
}

/* Change main logo to somewhere that can be uploaded to from the wiki */
#p-logo a { 
    background-image: url("http://media-mcw.cursecdn.com/b/bc/Wiki.png") !important
}

/* Collapsible Tables ([[MediaWiki:Common.js]]) */
table.collapsed tr.collapsible {
    display: none
}
 
.collapsible-button {
    float: right;
    font-weight: normal;
    text-align: right;

    /* Other languages: Change this to a bit wider (~4px) than your collapse/expand button text */
    width: 5em;
}

.collapsible.collapse-button-left > tr > th .collapsible-button,
.collapsible.collapse-button-left > * > tr > th .collapsible-button {
    float: left;
    text-align: left;
}

.collapsible.collapse-button-none > tr > th .collapsible-button,
.collapsible.collapse-button-none > * > tr > th .collapsible-button {
    float: none;
}

/* Alternating cell background, primarily used with [[Template:Infobox row]] */
.alternatecells:nth-child(odd) {
    background-color: #F9F9F9
}
/* Alternating table rows */
.alternaterows tr:nth-child(even) {
    background-color: #F9F9F9
}

/* The blue header used throughout the wiki */
.mcwiki-header,
#curse-panel .block_header {
    background: #729FCF;
    border: 1px solid #ccc;
    border-bottom: 4px groove #999999;
    border-right: 4px groove #999999;
    padding: 5px;
}

/* Make transparency visible on image pages */
.filehistory a img,
#file img:hover {
    background: url("http://media-mcw.cursecdn.com/5/5d/Checker-16x16.png")
}
#file button img {
    background: none !important
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target { 
    background-color: #C1DAF2
}

/* Style the sitenotice and fix up its awful spacing (why is it even a table!?) */
#siteNotice #localNotice,
.page-MediaWiki_Sitenotice .mw-content-ltr > div
 {
    background-color: #FFFFFF;
    border: 1px solid #D3D3D3;
    margin-bottom: 12px;
    text-align: center
}
#siteNotice #mw-dismissable-notice #localNotice {
    /* Note to other languages: Change this to the same width as the "dismiss" button in your language, this makes the sitenotice centred better */
    margin-left: 55px
}

#siteNotice td:first-child {
    width: 100%
}

#localNotice div p {
    padding: 0.4em 0 0.5em;
    margin: 0;
}

/* Minecraft font */
@font-face {
    font-family: Minecraft;
    src: url("http://www.minecraftwiki.net/fonts/minecraft.eot?#iefix"),
         url("http://www.minecraftwiki.net/fonts/minecraft.woff") format('woff'),
         url("http://www.minecraftwiki.net/fonts/minecraft.ttf")  format('truetype')
}

/* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off) */
#mw-panel div.portal {
    margin: -11px 9px 10px 11px;
    padding: 0.25em 0 !important;
    background-image: url("http://media-mcw.cursecdn.com/b/bf/Panel-divider.png");
    background-position: left top;
    background-repeat: no-repeat
}
#mw-panel div.portal div.body {
    background-image: none !important;
    padding: 0 !important;
    margin: 0 0 0 1.25em;
}
#mw-panel div.portal h5 {
    padding: 4px 0 3px 1.5em !important;
    margin-bottom: 0 !important
}
#mw-panel div.portal ul li {
    padding: 0.25em 0 !important
}

#p-Minecraft_Wiki {
    background-image: none !important;
    margin-top: 0 !important;
}
#p-Minecraft_Wiki h5 {
    display: none
}
#p-Minecraft_Wiki div.body {
    display: block !important;
    margin-left: 0.5em !important;
    background-image: none !important;
    padding-top: 0 !important
}

#p-tb div.body {
    display: none
}

/* Allow parts of toc to be hidden */
/* Section levels */
.hide-toc2 .toclevel-1 ul,
.toc-hidelevel2 .toclevel-1 ul {
    display: none;
}

/* Numbers */
.toc-nonumbers .tocnumber {
    display: none;
}

/* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */
.collapsible.collapsed > tr,
.collapsible.collapsed > tbody > tr {
    display: none;
}
.collapsible.collapsed > tr:first-child,
.collapsible.collapsed > tbody > tr:first-child {
    display: table-row;
}
.collapsible.collapsed > thead + tbody > tr:first-child {
    display: none;
}

/* Improve ASIRRA styling */
#asirra_InstructionsTextId {
    display: none;
}
#AsirraDiv {
    margin-bottom: 10px;
}

/**
 * Remove on upgrade to 1.19
 * 
 * Reverts wikitable styling to default table, then re-applies it
 * correctly, so it does not affect child tables
 */
table.wikitable th,
table.wikitable td {
    border: none;
    padding: 0;
}
table.wikitable th {
    background-color: transparent;
}
table.wikitable caption {
    font-weight: normal;
}

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px #AAA solid;
    padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #F2F2F2;
    text-align: center;
}
table.wikitable > caption {
    font-weight: bold;
}

/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview {
    margin-top: 0.3em;
}

.treeview ul,
.treeview li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}

.treeview li li {
    padding-left: 13px;
    margin-left: 10px;
    border-left: 1px solid #636363;
    background: url("http://media-mcw.cursecdn.com/5/51/Treeview-list.png") no-repeat 0 11px
}

.treeview li li:last-child {
    border: 0;
    padding-left: 14px;
    background: url("http://media-mcw.cursecdn.com/d/d6/Treeview-end.png") no-repeat 0 -1px
}

.treeview li li li {
    margin-left: 7px;
}

/* Move suggestions back into place (netbar moved them) */
.suggestions {
    margin-top: -29px !important;
}

/* Simulate link styling for JS only links */
.jslink {
    color: #0645AD;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
}
.jslink:hover {
    text-decoration: underline;
    cursor: pointer;
}
.jslink:active {
    color: #FAA700;
}

/* Improve styling of sub-categories */
#mw-subcategories ul {
    list-style-type: none;
    margin-left: 10px;
}

/* Use text arrows for enhanced rc instead of outdated (and broken) images */
td.mw-enhanced-rc {
    padding-left: 13px !important;
}
td + td.mw-enhanced-rc {
    padding-left: 0 !important;
}

.mw-enhanced-rc img {
    display: none;
}

.mw-rc-openarrow:after {
    content: "►";
}
.mw-rc-closearrow:after {
    content: "▼";
}

table.mw-enhanced-rc .mw-collapsible-toggle {
    cursor: pointer;
    color: #0645AD;
}

/* Horizontal list */
.hlist ul,
.hlist li {
    display: inline-block;
    margin: 0;
}
.hlist li {
    white-space: nowrap;
}
.hlist li:after {
    content: " •";
}
.hlist li:last-child:after,
.hlist li.last-child:after {
    content: "";
}

.hlist li > ul li:first-child:before {
    content: "(";
}
.hlist li > ul li:last-child:after,
.hlist li > ul li.last-child:after {
    content: ")";
}

.hlist li li li {
    font-size: x-small;
}

/* Generic styling for animation class */
.animated > span,
.animated > div {
    display: none;
}

.animated > span.active {
    display: inline;
}

.animated > div.active {
    display: block;
}


.nowrap {
    white-space: nowrap;
}

/* Merge adjacent dls (since they're usually supposed to be one, but the wiki screws up sometimes) */
dl + dl {
    margin-top: -0.4em;
}

/* Hide noscript only elements */
.noscript {
    display: none;
}