MediaWiki:Vector-2022.css: Difference between revisions
m CSS fix |
CSS test |
||
(6 intermediate revisions by the same user not shown) | |||
Line 271: | Line 271: | ||
line-height: 1; | line-height: 1; | ||
text-align: left; | text-align: left; | ||
vertical-align: bottom | vertical-align: bottom; | ||
} | } | ||
Line 280: | Line 280: | ||
height: 2px; | height: 2px; | ||
width: 2px; | width: 2px; | ||
pointer-events: none | pointer-events: none; | ||
} | } | ||
.invslot::before { | .invslot::before { | ||
bottom: -2px; | bottom: -2px; | ||
left: -2px | left: -2px; | ||
} | } | ||
.invslot::after { | .invslot::after { | ||
top: -2px; | top: -2px; | ||
right: -2px | right: -2px; | ||
} | } | ||
.invslot-large { | .invslot-large { | ||
padding: 8px | padding: 8px; | ||
} | } | ||
Line 303: | Line 303: | ||
padding: 2px; | padding: 2px; | ||
width: 32px; | width: 32px; | ||
height: 32px | height: 32px; | ||
} | } | ||
Line 311: | Line 311: | ||
height: 32px; | height: 32px; | ||
text-indent: -9999px; | text-indent: -9999px; | ||
overflow: hidden | overflow: hidden; | ||
} | } | ||
Line 323: | Line 323: | ||
text-shadow: 2px 2px 0 #3F3F3F; | text-shadow: 2px 2px 0 #3F3F3F; | ||
filter: dropshadow(color=#3F3F3F,offx=2,offy=2); | filter: dropshadow(color=#3F3F3F,offx=2,offy=2); | ||
z-index: 2 | z-index: 2; | ||
} | } | ||
.invslot-plain { | .invslot-plain { | ||
background-color: transparent; | background-color: transparent; | ||
border: 0 | border: 0; | ||
} | } | ||
.invslot-plain::before,.invslot-plain::after { | .invslot-plain::before,.invslot-plain::after { | ||
content: none | content: none; | ||
} | } | ||
.invslot-plain > .invslot-item,.invslot-plain > .invslot-item a:first-child { | .invslot-plain > .invslot-item,.invslot-plain > .invslot-item a:first-child { | ||
margin: 0; | margin: 0; | ||
padding: 0 | padding: 0; | ||
} | } | ||
.invslot-default-head { | .invslot-default-head { | ||
background-image: url(/images/Grid_layout_Head_Empty.png?c6d2b) | background-image: url(/images/Grid_layout_Head_Empty.png?c6d2b); | ||
} | } | ||
.invslot-default-chest { | .invslot-default-chest { | ||
background-image: url(/images/Grid_layout_Chest_Empty.png?4c32c) | background-image: url(/images/Grid_layout_Chest_Empty.png?4c32c); | ||
} | } | ||
.invslot-default-legs { | .invslot-default-legs { | ||
background-image: url(/images/Grid_layout_Legs_Empty.png?f5d09) | background-image: url(/images/Grid_layout_Legs_Empty.png?f5d09); | ||
} | } | ||
.invslot-default-feet { | .invslot-default-feet { | ||
background-image: url(/images/Grid_layout_Feet_Empty.png?70c3c) | background-image: url(/images/Grid_layout_Feet_Empty.png?70c3c); | ||
} | } | ||
.invslot-default-offhand { | .invslot-default-offhand { | ||
background-image: url(/images/Grid_layout_Offhand_Empty.png?b6488) | background-image: url(/images/Grid_layout_Offhand_Empty.png?b6488); | ||
} | } | ||
.invslot-default-smithing { | .invslot-default-smithing { | ||
background-image: url(/images/Grid_layout_Smithing_Empty.png?e28f7) | background-image: url(/images/Grid_layout_Smithing_Empty.png?e28f7); | ||
} | } | ||
.invslot-default-brewing { | .invslot-default-brewing { | ||
background-image: url(/images/Grid_layout_Brewing_Empty.png?2bf2a) | background-image: url(/images/Grid_layout_Brewing_Empty.png?2bf2a); | ||
} | } | ||
.invslot-default-brewing-fuel { | .invslot-default-brewing-fuel { | ||
background-image: url(/images/Grid_layout_Brewing_Fuel_Empty.png?acb80) | background-image: url(/images/Grid_layout_Brewing_Fuel_Empty.png?acb80); | ||
} | } | ||
.mc-hearts::before { | .mc-hearts::before { | ||
content: ' (' | content: ' ('; | ||
} | } | ||
.mc-hearts::after { | .mc-hearts::after { | ||
content: ')' | content: ')'; | ||
} | } | ||
Line 394: | Line 394: | ||
.mcui-Crafting_Table > *,.mcui-Furnace > * { | .mcui-Crafting_Table > *,.mcui-Furnace > * { | ||
display: inline-block; | display: inline-block; | ||
vertical-align: top | vertical-align: top; | ||
} | } | ||
.mcui-Crafting_Table .mcui-row { | .mcui-Crafting_Table .mcui-row { | ||
display: block | display: block; | ||
} | } | ||
Line 405: | Line 405: | ||
width: 32px; | width: 32px; | ||
height: 26px; | height: 26px; | ||
margin: 40px 4px 0 | margin: 40px 4px 0; | ||
} | } | ||
.mcui-Crafting_Table > .mcui-output { | .mcui-Crafting_Table > .mcui-output { | ||
margin-top: 28px | margin-top: 28px; | ||
} | } | ||
Line 415: | Line 415: | ||
position: absolute; | position: absolute; | ||
top: 6px; | top: 6px; | ||
right: 6px | right: 6px; | ||
} | } | ||
Line 423: | Line 423: | ||
width: 19px; | width: 19px; | ||
height: 15px; | height: 15px; | ||
cursor: help | cursor: help; | ||
} | } | ||
.mcui-Crafting_Table .mcui-shapeless { | .mcui-Crafting_Table .mcui-shapeless { | ||
background-image: url(https://minecraft.wiki/images/Grid_layout_Shapeless.png?9dddf) | background-image: url(https://minecraft.wiki/images/Grid_layout_Shapeless.png?9dddf); | ||
} | } | ||
.mcui-Crafting_Table .mcui-fixed { | .mcui-Crafting_Table .mcui-fixed { | ||
background-image: url(https://minecraft.wiki/images/Grid_layout_Fixed.png?bb1da) | background-image: url(https://minecraft.wiki/images/Grid_layout_Fixed.png?bb1da); | ||
} | } | ||
Line 438: | Line 438: | ||
background: url(/images/Grid_layout_Fire.png?84fd9) no-repeat; | background: url(/images/Grid_layout_Fire.png?84fd9) no-repeat; | ||
width: 36px; | width: 36px; | ||
height: 36px | height: 36px; | ||
} | } | ||
.mcui-Furnace .mcui-fuel.mcui-inactive { | .mcui-Furnace .mcui-fuel.mcui-inactive { | ||
background-image: url(/images/Grid_layout_Fire_%28in-active%29.png?2e313) | background-image: url(/images/Grid_layout_Fire_%28in-active%29.png?2e313); | ||
} | } | ||
Line 449: | Line 449: | ||
width: 44px; | width: 44px; | ||
height: 32px; | height: 32px; | ||
margin: 36px 18px 0 14px | margin: 36px 18px 0 14px; | ||
} | } | ||
.mcui-Furnace > .mcui-arrow.mcui-inactive,.mcui-Inventory-Crafting_Table-arrow { | .mcui-Furnace > .mcui-arrow.mcui-inactive,.mcui-Inventory-Crafting_Table-arrow { | ||
background-image: url(/images/Grid_layout_Furnace_Progress_%28in-active%29.png?4f3f7) | background-image: url(/images/Grid_layout_Furnace_Progress_%28in-active%29.png?4f3f7); | ||
} | } | ||
.mcui-Furnace > .mcui-output { | .mcui-Furnace > .mcui-output { | ||
margin-top: 28px | margin-top: 28px; | ||
} | } | ||
Line 465: | Line 465: | ||
left: 108px; | left: 108px; | ||
text-align: center; | text-align: center; | ||
width: 70px | width: 70px; | ||
} | } | ||
Line 474: | Line 474: | ||
height: 16px; | height: 16px; | ||
vertical-align: top; | vertical-align: top; | ||
background-size: 16px 16px | background-size: 16px 16px; | ||
} | } | ||
Line 482: | Line 482: | ||
font-family: Minecraft,sans-serif; | font-family: Minecraft,sans-serif; | ||
font-size: 16px; | font-size: 16px; | ||
color: #404040 | color: #404040; | ||
} | } | ||
Line 489: | Line 489: | ||
.pixel-image, .invslot-item-image, .sprite { | .pixel-image, .invslot-item-image, .sprite { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
} | |||
.item-padding { | |||
padding: 16px; | |||
} | } |