Mudanças entre as edições de "Predefinição:Reward/styles.css"

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 29: Linha 29:


.item-wrapper img {
.item-wrapper img {
     width: 48px;
     max-width: 100%;
     height: 48px;
     height: auto;
    object-fit: contain;
     border-radius: 6px;
     border-radius: 6px;
}
}

Edição das 23h03min de 22 de maio de 2025

.reward-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
    margin: 8px 0;
    gap: 6px;
}

.reward-title {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
}

.reward-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.item-wrapper {
    position: relative;
    display: inline-block;
}

.item-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.item-count {
    position: absolute;
    bottom: -4px; /* ajusta pra sair da imagem */
    right: -4px;
    font-size: 10px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 0 0 2px #000;
}