This commit is contained in:
karyamanswasta
2025-08-26 13:07:13 +07:00
parent 67cf759b31
commit b28c6ed0fe
14 changed files with 656 additions and 755 deletions

View File

@@ -1,7 +1,7 @@
.item-type {
width: calc(25vw - 20px);
height: calc(30vw - 20px);
margin: 1px 10px 0px;
width: auto;
height: auto;
margin: 0 4px; /* tighter spacing between tiles */
overflow: visible;
text-align: center;
align-items: center;
@@ -34,24 +34,33 @@
}
.item-type-rect {
position: relative;
height: 13vw;
width: 13vw;
height: clamp(48px, 9vw, 80px);
width: clamp(48px, 9vw, 80px);
object-fit: cover;
border-radius: 15px;
border-radius: 12px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
display: flex;
align-items: center;
justify-content: center;
}
.item-type-rect:hover {
background-color: var(--brand-sage-100, #E9F3ED);
border-color: var(--brand-sage, #6B8F71);
}
.item-type-name {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 500;
font-style: normal;
font-size: 14px;
font-size: 12px;
color: #333;
width: calc(25vw - 30px);
width: auto;
text-align: center;
background-color: transparent;
position: relative; /* Needed for positioning the button */
position: relative;
margin-top: 6px; /* keep label spacing constant; avoid jumping */
}
.item-type-image {