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

De Wiki Gla
Ir para navegação Ir para pesquisar
(Criou página com '.questlog-wrapper { display: flex; align-items: flex-start; gap: 10px; max-width: 700px; margin: 20px 0; } .questlog-img img { width: 64px; height: 64px; bord...')
 
 
(39 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 1: Linha 1:
.questlog-wrapper {
.questlog-wrapper {
  display: flex;
    display: flex;
  align-items: flex-start;
    align-items: center;
  gap: 10px;
    gap: 10px;
  max-width: 700px;
    max-width: 1000px;
  margin: 20px 0;
    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 {
.questlog-img img {
  width: 64px;
    border-radius: 6px;
  height: 64px;
    object-fit: contain;
  border-radius: 6px;
  object-fit: contain;
}
}


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


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


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


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


.questlog-resp {
.questlog-resp {
  background-color: #3b362f;
    font-size: 13px;
  padding: 6px 10px;
    margin: 6px 0 8px 0;
  border-radius: 4px;
    color: #222;
  font-style: italic;
}
  font-size: 13px;
 
  margin-bottom: 8px;
.questlog-text * {
    font-size: inherit !important;
}
 
.questlog-resp * {
    font-size: inherit !important;
}
}


.questlog-items img {
.questlog-items img {
  width: 32px;
    margin-right: 4px;
  height: 32px;
    vertical-align: middle;
  margin-right: 4px;
}
  vertical-align: middle;
 
.questlog-items {
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
}


.label {
.label {
  font-size: 11px;
    font-size: 11px;
  color: #aaaaaa;
    color: #737272;
  margin-bottom: 4px;
    margin-bottom: 4px;
  text-transform: uppercase;
    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;
    }
}
}

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