Mudanças entre as edições de "Predefinição:Achiev/styles.css"
Ir para navegação
Ir para pesquisar
(Criou página com '.conquista-box { display: flex; background-color: rgba(100, 100, 100, 0.8); →Gris medio opaco: border: 1px solid #333; border-radius: 4px; padding: 6px; width:...') |
|||
| Linha 1: | Linha 1: | ||
.conquista- | .conquista-recompensas { | ||
display: flex; | |||
flex-wrap: wrap; | |||
align-items: flex-end; | |||
gap: 6px; | |||
margin-top: 10px; | |||
} | } | ||
.conquista-recompensas { | .conquista-recompensas .item { | ||
display: inline-block; | |||
position: relative; | |||
margin: 0 4px; | |||
overflow: visible; | |||
} | } | ||
.item { | .conquista-recompensas .item .item-img { | ||
display: block; | |||
vertical-align: bottom; | |||
width: 32px; | |||
height: 32px; | |||
} | } | ||
.item- | /* Badge de quantidade */ | ||
.conquista-recompensas .item .item-qtd { | |||
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-qtd { | .conquista-recompensas .item:hover .item-qtd { | ||
background: rgba(0, 0, 0, 0.9); | |||
} | } | ||
Edição das 13h20min de 7 de junho de 2025
.conquista-recompensas {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 6px;
margin-top: 10px;
}
.conquista-recompensas .item {
display: inline-block;
position: relative;
margin: 0 4px;
overflow: visible;
}
.conquista-recompensas .item .item-img {
display: block;
vertical-align: bottom;
width: 32px;
height: 32px;
}
/* Badge de quantidade */
.conquista-recompensas .item .item-qtd {
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;
}
.conquista-recompensas .item:hover .item-qtd {
background: rgba(0, 0, 0, 0.9);
}