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: Reversão manual
Linha 1: Linha 1:
.infobox-boss-wide {
.infobox-boss-wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
   width: 100%;
   width: 100%;
   max-width: 900px;
   background: none;
   margin: 32px auto;
  border: none;
  border-radius: 12px;
   box-shadow: none;
   font-family: sans-serif;
   font-family: sans-serif;
   color: #222;
   color: #222;
   background: #fff;
   overflow: hidden;
   border-radius: 8px;
}
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 
   padding: 24px;
.infobox-boss-right {
   box-sizing: border-box;
  width: 100%;
   display: flex;
  flex-direction: column;
  align-items: center;
   justify-content: center;
}
 
.infobox-skill-info-area {
  width: 100%;
  max-width: 900px;
   display: flex;
   flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
}
}


.infobox-skill-tabs {
.infobox-skill-tabs {
   display: flex;
   display: flex;
  flex-wrap: wrap;
  gap: 8px;
   justify-content: center;
   justify-content: center;
   gap: 12px;
   width: 100%;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
}


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


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


.skill-desc {
.skill-desc {
   font-size: 1em;
   font-size: 1em;
  width: 100%;
   text-align: center;
   text-align: center;
   max-width: 720px;
   font-weight: 500;
  margin: 0 auto 24px auto;
   line-height: 1.5;
   line-height: 1.6;
   margin: 0;
   padding: 12px 16px;
   color: #222;
   background: #f9f9f9;
   background: none;
   border-radius: 6px;
   padding: 4px 0;
   box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
}
}


.infobox-skill-video-area {
.infobox-skill-video-area {
   width: 100%;
   width: 100%;
  max-width: 900px;
   display: flex;
   display: flex;
  align-items: center;
   justify-content: center;
   justify-content: center;
   align-items: center;
   background: transparent;
  border-radius: 8px;
  padding: 16px 0;
  margin: 0 auto;
}
}


.skill-video {
.skill-video {
  display: none;
    width: 100%;
  width: 100%;
    max-width: 900px;
  max-width: 720px;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    padding: 16px 0;
    margin-left: auto;
    margin-right: auto;
}
}


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


.skill-video video {
@media (max-width: 900px) {
  width: 100%;
  .infobox-skill-info-area,
  height: auto;
  .infobox-skill-video-area {
  border-radius: 6px;
    max-width: 100vw;
  background: #000;
    width: 100%;
  border: 1px solid #ccc;
    padding: 0 4vw;
   box-shadow: 0 0 4px rgba(0,0,0,0.1);
    margin: 12px 0;
}
    gap: 6px;
   }


/* Mobile first */
  .skill-video video {
@media (max-width: 768px) {
    min-width: 100%;
  .infobox-boss-wide {
    min-height: 240px;
    padding: 16px;
   }
   }


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


   .skill-desc {
   .skill-desc {
     font-size: 0.95em;
     font-size: 0.95em;
     padding: 10px 12px;
     padding: 2px 0;
   }
   }
}
}

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

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

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

.infobox-skill-info-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  gap: 8px;
}

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

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

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

.skill-desc {
  font-size: 1em;
  width: 100%;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  color: #222;
  background: none;
  padding: 4px 0;
}

.infobox-skill-video-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  padding: 16px 0;
  margin: 0 auto;
}

.skill-video {
    width: 100%;
    max-width: 900px;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    padding: 16px 0;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 900px) {
  .infobox-skill-info-area,
  .infobox-skill-video-area {
    max-width: 100vw;
    width: 100%;
    padding: 0 4vw;
    margin: 12px 0;
    gap: 6px;
  }

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

  .infobox-skill-tab {
    padding: 6px 12px;
    font-size: 0.9em;
  }

  .skill-desc {
    font-size: 0.95em;
    padding: 2px 0;
  }
}