User:Exe boss/styles/Module:Factory slot.css: Difference between revisions
Jump to navigation
Jump to search
m Remove `.mw‑parser‑output` |
Add support for locked and large Factory slots |
||
| Line 6: | Line 6: | ||
padding: 8px; | padding: 8px; | ||
line-height: 1; | line-height: 1; | ||
} | |||
.factoryslot.locked { | |||
background-color: #333; | |||
} | |||
.factoryslot.factoryslot-large { | |||
padding: 12px; | |||
} | } | ||
Revision as of 15:49, 20 April 2026
.factoryslot {
display: inline-block;
border: 1px solid black;
width: 32px;
height: 32px;
padding: 8px;
line-height: 1;
}
.factoryslot.locked {
background-color: #333;
}
.factoryslot.factoryslot-large {
padding: 12px;
}
.factoryslot-item {
display: block;
position: relative;
width: 32px;
height: 32px;
margin: -4px;
padding: 4px;
}
.factoryslot-item-image {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
.factoryslot-item .factoryslot-stacksize {
position: absolute;
bottom: 0;
right: 0;
text-align: right;
white-space: nowrap;
font-family: sans-serif !important;
font-style: normal !important;
}