Mudanças entre as edições de "Widget:Gurren"

De Wiki Gla
Ir para navegação Ir para pesquisar
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 57: Linha 57:
       </div>
       </div>
       <div class="home-button-title">Baús</div>
       <div class="home-button-title">Baús</div>
    </a>
  </div>
  <!-- 7. Passe de Batalha -->
  <div class="home-button-item">
    <a href="/index.php/Passe_de_Batalha">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/7/7d/Passe_card.png">
      </div>
      <div class="home-button-title">Passe de Batalha</div>
    </a>
  </div>
  <!-- 8. Guia para Iniciantes -->
  <div class="home-button-item disabled">
    <a href="/index.php/Boss_Semanais">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/f/fb/Guiainiciante_card.png">
      </div>
      <div class="home-button-title">Guia para Iniciantes</div>
     </a>
     </a>
   </div>
   </div>
Linha 83: Linha 63:
<style>
<style>
.home-button-row {
.home-button-row {
   display: flex;
   display: grid;
   justify-content: center;
   grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
   gap: 16px;
   gap: 16px;
   padding: 10px;
   padding: 10px;
   flex-wrap: nowrap;
   box-sizing: border-box;
   overflow-x: auto;
}
 
@media (max-width: 1280px) {
  .home-button-row {
    grid-template-columns: repeat(3, 1fr);
   }
}
 
@media (max-width: 768px) {
  .home-button-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
}


.home-button-item {
.home-button-item {
  flex: 0 0 auto;
   width: 100%;               /* ocupa toda a célula do grid */
   width: 180px;
   border: 1px solid #333;
   border: 1px solid #333;
   border-radius: 12px;
   border-radius: 12px;
   background-color: #1a1a1a;
   background-color: #1a1a1a;
   overflow: hidden;
   overflow: hidden;
   transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
}


Linha 120: Linha 111:
   text-decoration: none;
   text-decoration: none;
   color: inherit;
   color: inherit;
  height: 100%;
}
}


Linha 145: Linha 137:
   font-size: 1em;
   font-size: 1em;
   line-height: 1.3em;
   line-height: 1.3em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 5px;
   background: #1a1a1a;
   background: #1a1a1a;
   color: #3392FF;
   color: #3392FF;
   padding: 10px 5px;
   flex-grow: 1;
  text-transform: uppercase;
  text-align: center;
  min-height: 2.8em;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;

Edição atual tal como às 23h05min de 29 de maio de 2025

   <a href="/index.php/Personagens">
Personagens
   </a>
   <a href="/index.php/Missões">
Missões
   </a>
   <a href="/index.php/Itens">
Itens
   </a>
   <a href="/index.php/Bosses">
Bosses
   </a>
   <a href="/index.php/Wanted_Pirates">
Wanted Pirates
   </a>
   <a href="/index.php/Baús">
Baús
   </a>

<style> .home-button-row {

 display: grid;
 grid-template-columns: repeat(6, 1fr);
 gap: 16px;
 padding: 10px;
 box-sizing: border-box;

}

@media (max-width: 1280px) {

 .home-button-row {
   grid-template-columns: repeat(3, 1fr);
 }

}

@media (max-width: 768px) {

 .home-button-row {
   grid-template-columns: repeat(2, 1fr);
 }

}

.home-button-item {

 width: 100%;               /* ocupa toda a célula do grid */
 border: 1px solid #333;
 border-radius: 12px;
 background-color: #1a1a1a;
 overflow: hidden;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
 display: flex;
 flex-direction: column;

}

@media (prefers-color-scheme: light) {

 .home-button-item {
   border: 1px solid #ccc;
   background-color: #fff;
 }

}

.home-button-item:hover {

 transform: translateY(-3px);
 border-color: #007bff;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);

}

.home-button-item a {

 display: block;
 text-decoration: none;
 color: inherit;
 height: 100%;

}

.home-button-image {

 width: 100%;
 aspect-ratio: 16/9;

}

.home-button-image img {

 width: 100%;
 height: 100%;
 object-fit: cover;
 border-top-left-radius: 12px;
 border-top-right-radius: 12px;
 transition: filter 0.3s ease;

}

.home-button-item:hover .home-button-image img {

 filter: brightness(1.1);

}

.home-button-title {

 font-family: sans-serif;
 font-weight: bold;
 font-size: 1em;
 line-height: 1.3em;
 text-transform: uppercase;
 text-align: center;
 padding: 12px 5px;
 background: #1a1a1a;
 color: #3392FF;
 flex-grow: 1;
 display: flex;
 align-items: center;
 justify-content: center;

}

@media (prefers-color-scheme: light) {

 .home-button-title {
   background: #fff;
   color: #0645AD;
   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
 }

}

.home-button-item:hover .home-button-title {

 background-color: #181818;

}

@media (prefers-color-scheme: light) {

 .home-button-item:hover .home-button-title {
   background-color: #f9f9f9;
 }

}

.home-button-item.disabled {

 opacity: 0.4;
 pointer-events: none;
 transform: none !important;
 box-shadow: none !important;
 border-color: rgba(0, 0, 0, 0.08) !important;

}

.home-button-item.disabled .home-button-title {

 color: #aaa;

} </style>