Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 861: | Línea 861: | ||
.infobox-footer { | .infobox-footer { | ||
text-align: center; | text-align: center; | ||
} | |||
/* [[Template:Grid]]: [[File:Grid Unknown.png]] */ | |||
.grid { | |||
position: relative; | |||
display: inline-block; | |||
font-size: 16px; | |||
text-align: center !important; | |||
background-color: #8B8B8B; | |||
border: 2px solid #373737; | |||
border-right-color: #FFF; | |||
border-bottom-color: #FFF; | |||
width: 2em; | |||
height: 2em; | |||
vertical-align: bottom; | |||
} | |||
.grid.output { | |||
font-size: 24px; | |||
} | |||
.grid:before, | |||
.grid:after { | |||
content: ""; | |||
position: absolute; | |||
background-color: #8B8B8B; | |||
height: 2px; | |||
width: 2px; | |||
pointer-events: none; | |||
} | |||
.grid:before { | |||
bottom: -2px; | |||
left: -2px; | |||
} | |||
.grid:after { | |||
top: -2px; | |||
right: -2px; | |||
} | |||
.grid img { | |||
padding: 2px; | |||
} | |||
.grid > .item, | |||
.grid > .default-item { | |||
position: absolute; | |||
margin: -18px 0 0 -18px; | |||
top: 1em; | |||
left: 1em; | |||
} | |||
.grid > .item > a.new { | |||
background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/3/35/Grid_Unknown.png) no-repeat 2px; | |||
display: block; | |||
width: 32px; | |||
height: 32px; | |||
padding: 2px; | |||
text-indent: -9999px; | |||
overflow: hidden; | |||
} | |||
.grid > .item > .number { | |||
position: absolute; | |||
right: 0; | |||
bottom: 0; | |||
font-family: Minecraft; | |||
font-size: 16px; | |||
font-weight: normal; | |||
line-height: 16px; | |||
color: #FFF; | |||
pointer-events: none; | |||
text-shadow: 2px 2px 0 #3F3F3F; | |||
filter: dropshadow(color=#3F3F3F, offx=2, offy=2); | |||
z-index: 6; | |||
} | |||
.grid > .item > .number > a { | |||
color: #FFF; | |||
text-decoration: none; | |||
} | |||
.grid > .item > .number > .selflink { | |||
font-weight: normal; | |||
} | |||
.grid > .item > a.new + .number { | |||
display: none; | |||
} | |||
/* Plain grid with no border or background */ | |||
.grid.plain { | |||
background-color: transparent; | |||
border: 0; | |||
} | |||
.grid.plain:before, | |||
.grid.plain:after { | |||
content: none; | |||
} | |||
/* Generic grid layout styling */ | |||
.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:Grid/Hotbar]] */ | |||
.grid-Hotbar { | |||
display: inline-block; | |||
position: relative; | |||
border: 0; | |||
padding: 0; | |||
background-color: transparent; | |||
} | |||
.grid-Hotbar > .selector { | |||
position: absolute; | |||
top: -2px; | |||
margin-left: -2px; | |||
} | |||
.grid-Hotbar > .slots { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
margin: 2px; | |||
} | |||
.grid-Hotbar .grid { | |||
margin: 4px; | |||
} | } | ||