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

De Wiki Gla
Ir para navegação Ir para pesquisar
 
(34 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 1: Linha 1:
.questlog-container {
.questlog-wrapper {
  display: flex;
    display: flex;
  gap: 12px;
    align-items: center;
  background-color: #1d1d1d;
    gap: 10px;
  border-radius: 8px;
    max-width: 1000px;
  box-shadow: 0 0 6px #000;
    font-family: 'Inter', sans-serif !important;
  color: #f0f0f0;
  padding: 12px;
  position: relative;
  max-width: 100%;
  font-family: sans-serif;
}
}


.questlog-container::after {
.nomeNPC {
  content: "";
    display: block;
  position: absolute;
    font-size: 13px;
  left: 32px;
    font-weight: bold;
  bottom: -12px;
    color: #30e0e2;
  width: 0;
    margin-bottom: 0px;
  height: 0;
    letter-spacing: 0.5px;
  border: 12px solid transparent;
    background: #2e2b27;
  border-top-color: #1d1d1d;
    width: max-content;
    padding: 8px 16px;
    border-radius: 10px;
    border: 2px solid #554e44;
}
}


.questlog-img {
.questlog-img img {
  width: 64px;
    border-radius: 6px;
  height: 64px;
    object-fit: contain;
  object-fit: contain;
  flex-shrink: 0;
}
}


.questlog-dialog {
.questlog-bubble {
  flex: 1;
    position: relative;
  max-height: 220px;
    background-color: #f0f0f0;
  overflow-y: auto;
    border: 2px solid #ccc;
  line-height: 1.5;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    flex: 1;
}
 
/* Perninha (triângulo) */
.questlog-bubble::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f0f0f0;
}
 
.questlog-bubble::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 12px solid #ccc;
}
 
.questlog-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #222;
}
}


.questlog-resp {
.questlog-resp {
  margin-top: 8px;
    font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
    margin: 6px 0 8px 0;
  padding: 8px;
    color: #222;
  border-radius: 6px;
}
  font-weight: bold;
 
  color: #aef;
.questlog-text * {
    font-size: inherit !important;
}
 
.questlog-resp * {
    font-size: inherit !important;
}
 
.questlog-items img {
    margin-right: 4px;
    vertical-align: middle;
}
 
.questlog-items {
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
 
.label {
    font-size: 11px;
    color: #737272;
    margin-bottom: 4px;
    text-transform: uppercase;
}
}


.questlog-itens {
.item-wrapper {
  margin-top: 8px;
    position: relative;
  display: flex;
    display: inline-block;
  flex-wrap: wrap;
    margin: 0 4px;
  gap: 4px;
}
}
.questlog-itens img {
 
  width: 32px;
.item-count {
  height: 32px;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 10px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
}
 
/* RESPONSIVO */
@media screen and (max-width: 600px) {
    .questlog-wrapper {
        flex-direction: column;
        align-items: center;
    }
 
    .questlog-img img {
        max-width: 100%;
        height: auto;
    }
 
    .questlog-bubble {
        width: 100%;
        max-width: 100%;
    }
 
    .questlog-items {
        justify-content: center;
    }
}
}

Edição atual tal como às 22h04min de 22 de maio de 2025

.questlog-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1000px;
    font-family: 'Inter', sans-serif !important;
}

.nomeNPC {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #30e0e2;
    margin-bottom: 0px;
    letter-spacing: 0.5px;
    background: #2e2b27;
    width: max-content;
    padding: 8px 16px;
    border-radius: 10px;
    border: 2px solid #554e44;
}

.questlog-img img {
    border-radius: 6px;
    object-fit: contain;
}

.questlog-bubble {
    position: relative;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    flex: 1;
}

/* Perninha (triângulo) */
.questlog-bubble::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f0f0f0;
}

.questlog-bubble::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 12px solid #ccc;
}

.questlog-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #222;
}

.questlog-resp {
    font-size: 13px;
    margin: 6px 0 8px 0;
    color: #222;
}

.questlog-text * {
    font-size: inherit !important;
}

.questlog-resp * {
    font-size: inherit !important;
}

.questlog-items img {
    margin-right: 4px;
    vertical-align: middle;
}

.questlog-items {
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.label {
    font-size: 11px;
    color: #737272;
    margin-bottom: 4px;
    text-transform: uppercase;
}

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

.item-count {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 10px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
}

/* RESPONSIVO */
@media screen and (max-width: 600px) {
    .questlog-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .questlog-img img {
        max-width: 100%;
        height: auto;
    }

    .questlog-bubble {
        width: 100%;
        max-width: 100%;
    }

    .questlog-items {
        justify-content: center;
    }
}