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

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 1: Linha 1:
.conquista-box {
.conquista-box {
  display: flex;
    display: flex;
  background-color: #f0f4fa;
    background-color: #f0f4fa;
  border: 1px solid #a0b8d0;
    border: 1px solid #a0b8d0;
  border-radius: 6px;
    border-radius: 6px;
  padding: 8px;
    padding: 8px;
  font-family: sans-serif;
    font-family: sans-serif;
  color: #333;
    color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
    max-width: 600px;
}
}


.conquista-icon {
.conquista-icon {
  width: 82px;
    width: 82px;
  height: 82px;
    height: 82px;
  /* moldura via Common.css */
    background-color: transparent;
  background-color: #ffffff;
    border: none;
  border: 3px solid #4a90e2;
    box-shadow: none;
  border-radius: 10px;
     display: flex;
  box-shadow:
    align-items: center;
     0 0 0 2px #b0cce8 inset,
    justify-content: center;
    0 0 6px rgba(74,144,226,0.4);
    margin-right: 16px;
  display: flex;
    padding: 0;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  padding: 0;
}
}


.conquista-icon img {
.conquista-icon img {
  width: 100%;
    width: 100%;
  height: 100%;
    height: 100%;
  border-radius: 7px;
    border-radius: 7px;
}
}


.conquista-conteudo {
.conquista-conteudo {
  flex-grow: 1;
    flex-grow: 1;
}
}


.conquista-titulo {
.conquista-titulo {
  font-weight: bold;
    font-weight: bold;
  font-size: 1.3em;
    font-size: 1.3em;
  margin-bottom: 4px;
    margin-bottom: 4px;
}
}


.conquista-descricao {
.conquista-descricao {
  font-size: 1em;
    font-size: 1em;
  color: #555;
    color: #555;
}
}


.conquista-recompensas {
.conquista-recompensas {
  display: flex;
    display: flex;
  flex-wrap: wrap;
    flex-wrap: wrap;
  align-items: flex-end;
    align-items: flex-end;
  gap: 6px;
    gap: 6px;
  margin-top: 10px;
    margin-top: 10px;
}
}


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


.conquista-recompensas .item .item-img {
.conquista-recompensas .item .item-img {
  display: block;
    display: block;
  vertical-align: bottom;
    vertical-align: bottom;
  /* mantém tamanho original da imagem */
}
}


.conquista-recompensas .item .item-qtd {
.conquista-recompensas .item .item-qtd {
  position: absolute;
    position: absolute;
  bottom: -4px;
    bottom: -4px;
  right: -4px;
    right: -4px;
  font-size: 10px;
    font-size: 10px;
  font-weight: bold;
    font-weight: bold;
  background: rgba(0,0,0,0.75);
    background: rgba(0, 0, 0, 0.75);
  color: white;
    color: white;
  padding: 1px 4px;
    padding: 1px 4px;
  border-radius: 4px;
    border-radius: 4px;
  line-height: 1;
    line-height: 1;
  box-shadow: 0 0 2px #000;
    box-shadow: 0 0 2px #000;
  white-space: nowrap;
    white-space: nowrap;
  z-index: 2;
    z-index: 2;
}
}


.conquista-recompensas .item:hover .item-qtd {
.conquista-recompensas .item:hover .item-qtd {
  background: rgba(0,0,0,0.9);
    background: rgba(0, 0, 0, 0.9);
}
}

Edição das 13h47min de 7 de junho de 2025

.conquista-box {
    display: flex;
    background-color: #f0f4fa;
    border: 1px solid #a0b8d0;
    border-radius: 6px;
    padding: 8px;
    font-family: sans-serif;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.conquista-icon {
    width: 82px;
    height: 82px;
    background-color: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    padding: 0;
}

.conquista-icon img {
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

.conquista-conteudo {
    flex-grow: 1;
}

.conquista-titulo {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 4px;
}

.conquista-descricao {
    font-size: 1em;
    color: #555;
}

.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;
}

.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);
}