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

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 1: Linha 1:
.reward-wrapper {
.reward-wrapper {
     display: flex;
     display: inline-block;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
     margin: 8px 0;
     margin: 8px 0;
     gap: 6px;
     font-family: Arial, sans-serif;
}
}


.reward-title {
.reward-title {
     font-weight: bold;
     font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    color: #444;
     margin-bottom: 4px;
     margin-bottom: 4px;
    font-size: 14px;
}
}


Linha 19: Linha 14:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     align-items: flex-end;
}
}


.item-wrapper {
.item-wrapper {
    display: inline-block;
     position: relative;
     position: relative;
     display: inline-block;
     margin: 0 4px;
    overflow: visible;
}
}


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


.item-count {
.item-count {
     position: absolute;
     position: absolute;
     bottom: 2px;
     bottom: -4px;
     right: 2px;
     right: -4px;
     font-size: 10px;
     font-size: 10px;
     font-weight: bold;
     font-weight: bold;
Linha 46: Linha 41:
     box-shadow: 0 0 2px #000;
     box-shadow: 0 0 2px #000;
     white-space: nowrap;
     white-space: nowrap;
     z-index: 1;
     z-index: 2;
}
 
.item-wrapper:hover .item-count {
    background: rgba(0, 0, 0, 0.9);
}
}

Edição das 01h15min de 5 de junho de 2025

.reward-wrapper {
    display: inline-block;
    margin: 8px 0;
    font-family: Arial, sans-serif;
}

.reward-title {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 14px;
}

.reward-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.item-wrapper {
    display: inline-block;
    position: relative;
    margin: 0 4px;
    overflow: visible;
}

.item-wrapper img {
    vertical-align: bottom;
}

.item-count {
    position: absolute;
    bottom: -4px;
    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;
    white-space: nowrap;
    z-index: 2;
}

.item-wrapper:hover .item-count {
    background: rgba(0, 0, 0, 0.9);
}