Diferencia entre revisiones de «MediaWiki:Common.css»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 5: | Línea 5: | ||
/** Template stylings **/ | /** Template stylings **/ | ||
/* [[Template:Grid | |||
/** Template stylings **/ | |||
/* [[Template:Grid]] */ | |||
.grid { | .grid { | ||
display: inline-block; | |||
position: relative; | position: relative; | ||
text-align: left !important; | |||
text-align: | |||
background-color: #8B8B8B; | background-color: #8B8B8B; | ||
height: 32px; | |||
width: 32px; | |||
padding: 2px; | |||
width: | |||
vertical-align: bottom; | vertical-align: bottom; | ||
} | } | ||
.grid.output { | .grid.output { | ||
height: 48px; | |||
width: 48px; | |||
} | } | ||
.grid | .grid img, | ||
. | .pixel-image img { | ||
image-rendering: -moz-crisp-edges; | |||
image-rendering: -o-crisp-edges; | |||
image-rendering: -webkit-optimize-contrast; | |||
-ms-interpolation-mode: nearest-neighbor; | |||
} | } | ||
.grid: | |||
.grid .border { | |||
display: block; | |||
margin: -2px 0 0 -2px; | |||
border-style: solid none none solid; | |||
border-width: 2px; | |||
border-color: #373737; | |||
height: 100%; | |||
} | } | ||
.grid | .grid .border > span { | ||
display: block; | |||
right: -2px; | margin-right: -2px; | ||
border-style: none solid solid none; | |||
border-width: 2px; | |||
border-color: #FFFFFF; | |||
height: 100%; | |||
} | } | ||
.grid | .grid .image, | ||
.grid | .grid .default-image { | ||
position: absolute; | position: absolute; | ||
line-height: 16px; | |||
top: | top: 2px; | ||
width: 32px; | |||
height: 32px; | |||
} | } | ||
.grid | .grid.output .image { | ||
top: 10px; | |||
left: 10px; | |||
} | |||
.grid .image > a.new { | |||
background-image: url("http://hydra-media.cursecdn.com/minecraft-es.gamepedia.com/3/35/Grid_Unknown.png"); | |||
display: block; | display: block; | ||
width: 32px; | width: 32px; | ||
height: 32px; | height: 32px; | ||
outline: none; | |||
text-indent: - | text-indent: -99999px; | ||
} | } | ||
.grid | .grid .number { | ||
position: absolute; | position: absolute; | ||
right: | right: -2px; | ||
bottom: | bottom: -2px; | ||
text-align: right; | |||
font-family: Minecraft; | font-family: Minecraft; | ||
font-size: 16px; | font-size: 16px; | ||
color: #FFF; | color: #FFF; | ||
pointer-events: none; | pointer-events: none; | ||
text-shadow: 2px 2px | z-index: 6; | ||
text-shadow: 2px 2px 0px #3F3F3F; | |||
filter: dropshadow(color=#3F3F3F, offx=2, offy=2); | filter: dropshadow(color=#3F3F3F, offx=2, offy=2); | ||
} | } | ||
.grid | .grid .number a { | ||
color: #FFF; | color: #FFF; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.grid | .grid .number .selflink { | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.grid | .grid .image a.new + .number { | ||
display: none; | display: none; | ||
} | } | ||
.grid .animated .image, | |||
.grid. | .grid .paused .image { | ||
display: none; | |||
} | } | ||
.grid. | .grid .animated .image.active, | ||
.grid. | .grid .paused .image.active { | ||
display: block; | |||
} | } | ||
.grid-Crafting_Table, | .grid-Crafting_Table, | ||
.grid-Furnace, | .grid-Furnace, | ||
| Línea 182: | Línea 187: | ||
display: inline-block; | display: inline-block; | ||
position: relative; | position: relative; | ||
} | } | ||
.grid-Hotbar > .selector { | .grid-Hotbar > .selector { | ||
| Línea 198: | Línea 200: | ||
} | } | ||
.grid-Hotbar .grid { | .grid-Hotbar .grid { | ||
margin: | margin: 2px; | ||
background-color: transparent; | |||
} | } | ||
.grid-Hotbar .grid > .border, | |||
.grid-Hotbar .grid > .border > span { | |||
border: 0; | |||
margin: 0; | |||
} | |||
/* [[Template:Infobox]], [[Template:Infobox row]] */ | /* [[Template:Infobox]], [[Template:Infobox row]] */ | ||
.notaninfobox { | .notaninfobox { | ||