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...')
 
 
(12 revisões intermediárias por 3 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%;
   min-height: unset;
   padding: 0;
  background: none;
  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-bottom: 16px;
}
   margin-top: 24px;
 
   gap: 12px;
.skillbox-tabs-separator {
  width: 100vw;
   height: 2px;
   background: #ccc;
   margin: 0 calc(-50vw + 50%);
}
}
.infobox-skill-tabs {
 
.skillbox-tabs {
   display: flex;
   display: flex;
   gap: 12px;
   flex-wrap: wrap;
   justify-content: center;
   justify-content: center;
  margin-bottom: 0;
   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;
   padding: 10px 24px;
   border-radius: 6px 6px 0 0;
   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 8px rgba(0,0,0,0.08);
  opacity: 0.7;
  margin-bottom: 0;
}
}
.infobox-skill-tab.active,
 
.infobox-skill-tab:hover {
.skillbox-tab.active,
   opacity: 1;
.skillbox-tab:hover {
   background: #ffc107;
   background: #337ab7;
   color: #181f2a;
   color: #fff;
   border-color: #ffc107;
   border-color: #337ab7;
   border-bottom: none;
}
}
.skill-desc {
 
   font-size: 1.08em;
.skillbox-desc {
   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-top: 0;
   margin: 0 auto;
  margin-bottom: 0;
  background: none;
   color: #222;
   color: #222;
  box-shadow: none;
   padding: 12px 0 8px;
  border-radius: 0;
   padding: 0;
}
}
.infobox-skill-video-area {
 
.skillbox-video-area {
   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;
   padding: 0 !important;
  background: transparent;
   margin: 0 auto !important;
  border-radius: 8px;
  margin-top: 0;
   margin-bottom: 0;
  box-shadow: none;
  padding: 16px 0;
  margin-left: auto;
  margin-right: auto;
}
}
.skill-video {
 
   width: unset;
.skillbox-video video {
  height: auto;
   width: 100%;
   max-width: unset;
   max-width: 720px;
   border-radius: 8px;
   min-height: 270px;
   background: #000;
   background: #000;
  border-radius: 6px;
   display: block;
   display: block;
   margin: 0 auto;
   margin: 0 auto;
   background: center;
   padding: 0;
}
   vertical-align: middle;
.skill-video video{
  border-radius: 8px;
  width: 100%;
  min-width: 800px;
   min-height: 550px;
}
}
@media (max-width: 900px) {
 
   .infobox-boss-wide {
@media (max-width: 768px) {
     min-height: unset;
   .skillbox-tab {
     padding: 8px 14px;
    font-size: 1.05em;
   }
   }
  .infobox-skill-info-area,
 
   .infobox-skill-video-area {
   .skillbox-desc {
     max-width: 100vw;
     font-size: 0.95em;
    width: 100%;
     padding: 10px 0 6px;
     padding: 0 2vw;
   }
   }
   .skill-video,
 
  .skill-box {
   .skillbox-video video {
     max-width: 100vw;
     max-width: 100%;
     width: 100%;
     min-height: 220px;
   }
   }
}
}

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