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

De Wiki Gla
Ir para navegação Ir para pesquisar
(Criou página com '→‎=== Character Widget Styles ===: .character-container { max-width: 900px; margin: 1em auto; font-family: 'Noto Sans', sans-serif; color: #fff; } .character-header...')
 
m (Limpou toda a página)
Etiqueta: anulando
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
/* === Character Widget Styles === */
.character-container {
  max-width: 900px;
  margin: 1em auto;
  font-family: 'Noto Sans', sans-serif;
  color: #fff;
}
.character-header {
  text-align: center;
  position: relative;
  padding-bottom: 1em;
}
.character-name {
  font-size: 2.5em;
  font-weight: 900;
  margin: 0.2em 0;
}
.character-tier,
.character-classes {
  font-size: 1.1em;
  color: #bbb;
  margin: 0.3em 0;
}
.character-image {
  display: block;
  margin: 0.5em auto;
  max-width: 100%;
  height: auto;
}


.character-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 1em 0;
}
.tab-btn {
  padding: 6px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background 0.2s;
}
.tab-btn.active {
  background: #156bc7;
  font-weight: bold;
}
/* —— Aqui trocamos o hex RGBA “#26211cd6” por rgba() puro —— */
.tab-content {
  display: none;
  background: rgba(38,33,28,0.84);
  padding: 1em;
  border-radius: 8px;
}
.tab-content.active {
  display: block;
}
/* Scrollbars avançadas NÃO suportadas em styles.css — vamos mover isso para o widget */
.skills-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 1em;
  /* scrollbar-width, scrollbar-color e ::-webkit-scrollbar removidos */
}
.skill-item {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.skill-item.active {
  transform: scale(1.1);
  border-color: #44f;
  box-shadow: 0 0 8px rgba(68,143,255,0.7);
}
.skill-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1em;
}
.skill-details .desc-box,
.skill-details .video-box {
  flex: 1;
  min-width: 200px;
  background: #1f1f1f;
  padding: 0.8em;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.skill-details .desc-box h3 {
  margin-top: 0;
  font-size: 1.5em;
}
.skill-details .attrs {
  margin: 0.5em 0;
}
.skill-details .attrs span {
  display: inline-block;
  margin-right: 1em;
  font-weight: bold;
}
.skill-details .video-box video {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .character-name { font-size: 2em; }
  .tab-btn { font-size: 1em; padding: 4px 12px; }
  .skill-details { flex-direction: column; }
}

Edição atual tal como às 19h52min de 8 de agosto de 2025