diff --git a/public/css/building.css b/public/css/building.css index 42c4075..6d53768 100644 --- a/public/css/building.css +++ b/public/css/building.css @@ -256,12 +256,21 @@ body { } .slot-label { - font-size: 13px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + + color: #ffffff; + font-size: 12px; font-weight: bold; - color: #3a2413; + text-shadow: - 0 1px 2px white, - 0 0 3px rgba(0, 0, 0, 0.3); + 0 0 3px #000, + 0 0 6px #000, + 0 0 10px rgba(0, 0, 0, 0.8); + + pointer-events: none; } /* Slot Basis */ @@ -274,8 +283,8 @@ body { .slot { position: absolute; - width: 70px; - height: 70px; + width: 90px; + height: 90px; background-image: url("/images/items/slot_mittel.png"); background-size: cover; @@ -424,7 +433,7 @@ body { } .inventory-slot img, -.equip-slot img { +.slot img { width: 80%; height: 80%; object-fit: contain;