Diferencia entre revisiones de «MediaWiki:Common.css»

Xstela (discusión | contribs.)
Sin resumen de edición
Xstela (discusión | contribs.)
Sin resumen de edición
Línea 5: Línea 5:


/** Template stylings **/
/** Template stylings **/
/* [[Template:Grid]]: [[File:Grid Unknown.png]] */
 
/** Template stylings **/
/* [[Template:Grid]] */
.grid {
.grid {
display: inline-block;
position: relative;
position: relative;
display: inline-block;
text-align: left !important;
font-size: 16px;
text-align: center !important;
background-color: #8B8B8B;
background-color: #8B8B8B;
border: 2px solid #373737;
height: 32px;
border-right-color: #FFF;
width: 32px;
border-bottom-color: #FFF;
padding: 2px;
width: 2em;
height: 2em;
vertical-align: bottom;
vertical-align: bottom;
}
}
.grid.output {
.grid.output {
font-size: 24px;
height: 48px;
width: 48px;
}
}


.grid:before,
.grid img,
.grid:after {
.pixel-image img {
content: "";
image-rendering: -moz-crisp-edges;
position: absolute;
image-rendering: -o-crisp-edges;
background-color: #8B8B8B;
image-rendering: -webkit-optimize-contrast;
height: 2px;
-ms-interpolation-mode: nearest-neighbor;
width: 2px;
pointer-events: none;
}
}
.grid:before {
bottom: -2px;
.grid .border {
left: -2px;
display: block;
margin: -2px 0 0 -2px;
border-style: solid none none solid;
border-width: 2px;
border-color: #373737;
height: 100%;
}
}
.grid:after {
.grid .border > span {
top: -2px;
display: block;
right: -2px;
margin-right: -2px;
}
border-style: none solid solid none;
 
border-width: 2px;
.grid img {
border-color: #FFFFFF;
padding: 2px;
height: 100%;
}
}
   
   
.grid > .item,
.grid .image,
.grid > .default-item {
.grid .default-image {
position: absolute;
position: absolute;
margin: -18px 0 0 -18px;
line-height: 16px;
top: 1em;
top: 2px;
left: 1em;
width: 32px;
height: 32px;
}
}
.grid > .item > a.new {
.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;
padding: 2px;
outline: none;
text-indent: -9999px;
text-indent: -99999px;
overflow: hidden;
}
}
   
   
.grid > .item > .number {
.grid .number {
position: absolute;
position: absolute;
right: 0;
right: -2px;
bottom: 0;
bottom: -2px;
text-align: right;
font-family: Minecraft;
font-family: Minecraft;
font-size: 16px;
font-size: 16px;
font-weight: normal;
line-height: 16px;
color: #FFF;
color: #FFF;
pointer-events: none;
pointer-events: none;
text-shadow: 2px 2px 0 #3F3F3F;
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);
z-index: 6;
}
}
.grid > .item > .number > a {
.grid .number a {
color: #FFF;
color: #FFF;
text-decoration: none;
text-decoration: none;
}
}
.grid > .item > .number > .selflink {
.grid .number .selflink {
font-weight: normal;
font-weight: normal;
}
}
.grid > .item > a.new + .number {
.grid .image a.new + .number {
display: none;
display: none;
}
}


/* Plain grid with no border or background */
.grid .animated .image,
.grid.plain {
.grid .paused .image {
background-color: transparent;
display: none;
border: 0;
}
}
.grid.plain:before,
.grid .animated .image.active,
.grid.plain:after {
.grid .paused .image.active {
content: none;
display: block;
}
}


/* Generic grid layout styling */
.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;
border: 0;
padding: 0;
background-color: transparent;
}
}
.grid-Hotbar > .selector {
.grid-Hotbar > .selector {
Línea 198: Línea 200:
}
}
.grid-Hotbar .grid {
.grid-Hotbar .grid {
margin: 4px;
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 {