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

De Wiki Gla
Ir para navegação Ir para pesquisar
(Criou página com '.infobox-boss-wide { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: unset; background: none; bor...')
 
Linha 5: Linha 5:
   justify-content: center;
   justify-content: center;
   width: 100%;
   width: 100%;
  min-height: unset;
   background: none;
   background: none;
   border: none;
   border: none;
Linha 14: Linha 13:
   overflow: hidden;
   overflow: hidden;
}
}
.infobox-boss-right {
.infobox-boss-right {
   width: 100%;
   width: 100%;
Linha 21: Linha 21:
   justify-content: center;
   justify-content: center;
}
}
.infobox-skill-info-area {
.infobox-skill-info-area {
   width: 100%;
   width: 100%;
Linha 28: Linha 29:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   margin-bottom: 16px;
   margin: 16px 0;
  margin-top: 24px;
   gap: 8px;
   gap: 12px;
}
}
.infobox-skill-tabs {
.infobox-skill-tabs {
   display: flex;
   display: flex;
   gap: 12px;
  flex-wrap: wrap;
   gap: 8px;
   justify-content: center;
   justify-content: center;
  margin-bottom: 0;
   width: 100%;
   width: 100%;
}
}
.infobox-skill-tab {
.infobox-skill-tab {
   cursor: pointer;
   cursor: pointer;
Linha 45: Linha 47:
   border: 2px solid #ffc107;
   border: 2px solid #ffc107;
   border-radius: 8px;
   border-radius: 8px;
   padding: 10px 24px;
   padding: 8px 16px;
   font-size: 1em;
   font-size: 1em;
   font-weight: bold;
   font-weight: bold;
   transition: 0.2s;
   transition: 0.2s;
   box-shadow: 0 2px 8px rgba(0,0,0,0.08);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
   opacity: 0.7;
   opacity: 0.7;
  margin-bottom: 0;
}
}
.infobox-skill-tab.active,
.infobox-skill-tab.active,
.infobox-skill-tab:hover {
.infobox-skill-tab:hover {
Linha 60: Linha 62:
   border-color: #ffc107;
   border-color: #ffc107;
}
}
.skill-desc {
.skill-desc {
   font-size: 1.08em;
   font-size: 1em;
   width: 100%;
   width: 100%;
   text-align: center;
   text-align: center;
   font-weight: 500;
   font-weight: 500;
   line-height: 1.5;
   line-height: 1.5;
   margin-top: 0;
   margin: 0;
   margin-bottom: 0;
   color: #222;
   background: none;
   background: none;
  color: #222;
   padding: 4px 0;
  box-shadow: none;
  border-radius: 0;
   padding: 0;
}
}
.infobox-skill-video-area {
.infobox-skill-video-area {
   width: 100%;
   width: 100%;
   max-width: 900px;
   max-width: 900px;
  min-height: 270px;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
Linha 83: Linha 83:
   background: transparent;
   background: transparent;
   border-radius: 8px;
   border-radius: 8px;
   margin-top: 0;
   padding: 12px 0;
   margin-bottom: 0;
   margin: 0 auto;
  box-shadow: none;
  padding: 16px 0;
  margin-left: auto;
  margin-right: auto;
}
}
.skill-video {
.skill-video {
   width: unset;
   width: 100%;
   height: auto;
   height: auto;
  max-width: unset;
   border-radius: 8px;
   border-radius: 8px;
   background: #000;
   background: #000 center;
   display: block;
   display: block;
   margin: 0 auto;
   margin: 0 auto;
  background: center;
}
}
.skill-video video{
 
.skill-video video {
   border-radius: 8px;
   border-radius: 8px;
   width: 100%;
   width: 100%;
   min-width: 800px;
   min-width: 100%;
   min-height: 550px;
   min-height: 300px;
  max-height: 100%;
}
}
@media (max-width: 900px) {
@media (max-width: 900px) {
  .infobox-boss-wide {
    min-height: unset;
  }
   .infobox-skill-info-area,
   .infobox-skill-info-area,
   .infobox-skill-video-area {
   .infobox-skill-video-area {
     max-width: 100vw;
     max-width: 100vw;
     width: 100%;
     width: 100%;
     padding: 0 2vw;
     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-video,
 
   .skill-box {
   .skill-desc {
     max-width: 100vw;
     font-size: 0.95em;
     width: 100%;
     padding: 2px 0;
   }
   }
}
}

Edição das 01h36min 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: 16px 0;
  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: 12px 0;
  margin: 0 auto;
}

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

.skill-video video {
  border-radius: 8px;
  width: 100%;
  min-width: 100%;
  min-height: 300px;
  max-height: 100%;
}

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