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

De Wiki Gla
Ir para navegação Ir para pesquisar
 
(7 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
.infobox-boss-wide {
.skillbox-container {
  width: 100%;
  font-family: sans-serif;
  color: #222;
  margin: 0 auto;
  overflow-x: clip; /* <-- este é o isolamento */
  position: relative; /* necessário para o clip funcionar */
}
 
.skillbox-inner {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
  justify-content: center;
   width: 100%;
   width: 100%;
   background: none;
   padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  font-family: sans-serif;
  color: #222;
  overflow: hidden;
}
}


.infobox-boss-right {
.skillbox-info-area {
   width: 100%;
   width: 100%;
  max-width: 900px;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
   justify-content: center;
   margin: 24px 0 0;
  padding: 0;
}
}


.infobox-skill-info-area {
.skillbox-wrapper {
   width: 100%;
   width: 100%;
   max-width: 900px;
   max-width: 900px;
  box-sizing: border-box;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   margin-top: 16px;
}
   gap: 8px;
 
.skillbox-tabs-separator {
  width: 100vw;
   height: 2px;
  background: #ccc;
   margin: 0 calc(-50vw + 50%);
}
}


.infobox-skill-tabs {
.skillbox-tabs {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
  gap: 8px;
   justify-content: center;
   justify-content: center;
   width: 100%;
   width: 100%;
  gap: 6px;
  padding: 0;
  margin-bottom: -2px;
}
}


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


.infobox-skill-tab.active,
.skillbox-tab.active,
.infobox-skill-tab:hover {
.skillbox-tab:hover {
   opacity: 1;
   background: #337ab7;
   background: #ffc107;
   color: #fff;
   color: #181f2a;
   border-color: #337ab7;
   border-color: #ffc107;
   border-bottom: none;
}
}


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


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


.skill-video {
.skillbox-video video {
    width: 100%;
  width: 100%;
    max-width: 900px;
  max-width: 720px;
    min-height: 270px;
  min-height: 270px;
    display: flex;
  background: #000;
    align-items: center;
  border-radius: 6px;
    justify-content: center;
  display: block;
    background: transparent;
  margin: 0 auto;
    border-radius: 8px;
  padding: 0;
    margin-top: 0;
  vertical-align: middle;
    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) {
@media (max-width: 768px) {
   .infobox-skill-info-area,
   .skillbox-tab {
  .infobox-skill-video-area {
     padding: 8px 14px;
    max-width: 100vw;
     font-size: 1.05em;
    width: 100%;
     padding: 0 4vw;
     margin: 12px 0;
    gap: 6px;
   }
   }


   .skill-video video {
   .skillbox-desc {
     min-width: 100%;
     font-size: 0.95em;
     min-height: 240px;
     padding: 10px 0 6px;
   }
   }


   .infobox-skill-tab {
   .skillbox-video video {
     padding: 6px 12px;
     max-width: 100%;
    font-size: 0.9em;
     min-height: 220px;
  }
 
  .skill-desc {
     font-size: 0.95em;
    padding: 2px 0;
   }
   }
}
}

Edição atual tal como às 11h50min de 9 de junho de 2025

.skillbox-container {
  width: 100%;
  font-family: sans-serif;
  color: #222;
  margin: 0 auto;
  overflow-x: clip; /* <-- este é o isolamento */
  position: relative; /* necessário para o clip funcionar */
}

.skillbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
}

.skillbox-info-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 0;
  padding: 0;
}

.skillbox-wrapper {
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.skillbox-tabs-separator {
  width: 100vw;
  height: 2px;
  background: #ccc;
  margin: 0 calc(-50vw + 50%);
}

.skillbox-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 6px;
  padding: 0;
  margin-bottom: -2px;
}

.skillbox-tab {
  cursor: pointer;
  background: #eaf1fb;
  color: #1d3f63;
  border: 2px solid #337ab7;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 8px 16px;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.2s ease;
}

.skillbox-tab.active,
.skillbox-tab:hover {
  background: #337ab7;
  color: #fff;
  border-color: #337ab7;
  border-bottom: none;
}

.skillbox-desc {
  font-size: 1em;
  width: 100%;
  max-width: 840px;
  text-align: center;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 auto;
  color: #222;
  padding: 12px 0 8px;
}

.skillbox-video-area {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  margin: 0 auto !important;
}

.skillbox-video video {
  width: 100%;
  max-width: 720px;
  min-height: 270px;
  background: #000;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  padding: 0;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .skillbox-tab {
    padding: 8px 14px;
    font-size: 1.05em;
  }

  .skillbox-desc {
    font-size: 0.95em;
    padding: 10px 0 6px;
  }

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