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

De Wiki Gla
Ir para navegação Ir para pesquisar
Etiqueta: Revertido
Etiqueta: Revertido
Linha 4: Linha 4:
   align-items: center;
   align-items: center;
   width: 100%;
   width: 100%;
  background: none;
  border-radius: 12px;
   font-family: sans-serif;
   font-family: sans-serif;
   color: #222;
   color: #222;
  border-radius: 12px;
   overflow: hidden;
   overflow: hidden;
}
}
Linha 24: Linha 23:
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
   margin-top: 24px;
   margin: 24px auto 0;
   margin-bottom: 16px;
   padding: 0 16px;
   gap: 12px;
   gap: 10px;
}
}


Linha 43: Linha 42:
   border: 2px solid #ffc107;
   border: 2px solid #ffc107;
   border-radius: 10px;
   border-radius: 10px;
   padding: 10px 18px;
   padding: 10px 20px;
   font-size: 1em;
   font-size: 1em;
   font-weight: bold;
   font-weight: bold;
   transition: 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
   opacity: 0.7;
   opacity: 0.75;
}
}


Linha 60: Linha 59:


.skill-desc {
.skill-desc {
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-left: 4px solid #ffc107;
  padding: 10px 14px;
   font-size: 1em;
   font-size: 1em;
  width: 100%;
  text-align: center;
   font-weight: 500;
   font-weight: 500;
   line-height: 1.5;
   line-height: 1.5;
   padding: 8px 12px;
   color: #222;
  min-height: 60px;
  max-width: 800px;
   box-sizing: border-box;
   box-sizing: border-box;
   transition: all 0.2s ease;
   overflow-y: auto;
  max-height: 100px;
  border-radius: 6px;
  margin-top: 6px;
}
}


Linha 78: Linha 81:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   padding: 8px 0 24px 0;
   padding: 16px 0 24px;
  margin: 0 auto;
}
}


Linha 85: Linha 87:
   width: 100%;
   width: 100%;
   max-width: 900px;
   max-width: 900px;
  min-height: 270px;
   display: flex;
   display: flex;
  justify-content: center;
   align-items: center;
   align-items: center;
   justify-content: center;
   position: absolute;
   padding: 16px 0;
   height: 0;
   opacity: 0;
   opacity: 0;
   visibility: hidden;
   visibility: hidden;
  position: absolute;
  height: 0;
   overflow: hidden;
   overflow: hidden;
}
}
Linha 99: Linha 99:
.skill-video.active {
.skill-video.active {
   position: static;
   position: static;
  height: auto;
   opacity: 1;
   opacity: 1;
   visibility: visible;
   visibility: visible;
  height: auto;
}
}


Linha 108: Linha 108:
   height: auto;
   height: auto;
   max-width: 700px;
   max-width: 700px;
   border-radius: 8px;
   border-radius: 10px;
   background: #000;
   background: #000;
   display: block;
   display: block;
Linha 114: Linha 114:
}
}


/* Responsivo */
/* Responsividade mobile */
@media (max-width: 900px) {
@media (max-width: 768px) {
   .infobox-skill-info-area,
   .infobox-skill-info-area,
   .infobox-skill-video-area {
   .infobox-skill-video-area {
     max-width: 100vw;
     padding: 0 6vw;
     padding: 0 4vw;
     max-width: 100%;
     margin: 12px 0;
     margin: 16px 0;
    gap: 8px;
   }
   }


   .infobox-skill-tab {
   .infobox-skill-tab {
    font-size: 0.9em;
     padding: 8px 14px;
     padding: 8px 14px;
    font-size: 0.95em;
   }
   }


   .skill-desc {
   .skill-desc {
     font-size: 0.95em;
     font-size: 0.95em;
     min-height: 50px;
     max-height: 90px;
   }
   }


   .skill-video video {
   .skill-video video {
     min-width: 100%;
     max-width: 100%;
     min-height: 240px;
     min-height: 220px;
   }
   }
}
}

Edição das 22h38min de 23 de maio de 2025

.infobox-boss-wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-family: sans-serif;
  color: #222;
  border-radius: 12px;
  overflow: hidden;
}

.infobox-boss-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infobox-skill-info-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px auto 0;
  padding: 0 16px;
  gap: 10px;
}

.infobox-skill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

.infobox-skill-tab {
  cursor: pointer;
  background: #fff;
  color: #222;
  border: 2px solid #ffc107;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  opacity: 0.75;
}

.infobox-skill-tab.active,
.infobox-skill-tab:hover {
  opacity: 1;
  background: #ffc107;
  color: #181f2a;
  border-color: #ffc107;
}

.skill-desc {
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-left: 4px solid #ffc107;
  padding: 10px 14px;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 100px;
  border-radius: 6px;
  margin-top: 6px;
}

.infobox-skill-video-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 24px;
}

.skill-video {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}

.skill-video.active {
  position: static;
  height: auto;
  opacity: 1;
  visibility: visible;
}

.skill-video video {
  width: 100%;
  height: auto;
  max-width: 700px;
  border-radius: 10px;
  background: #000;
  display: block;
  margin: 0 auto;
}

/* Responsividade mobile */
@media (max-width: 768px) {
  .infobox-skill-info-area,
  .infobox-skill-video-area {
    padding: 0 6vw;
    max-width: 100%;
    margin: 16px 0;
  }

  .infobox-skill-tab {
    font-size: 0.9em;
    padding: 8px 14px;
  }

  .skill-desc {
    font-size: 0.95em;
    max-height: 90px;
  }

  .skill-video video {
    max-width: 100%;
    min-height: 220px;
  }
}