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

De Wiki Gla
Ir para navegação Ir para pesquisar
 
(21 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<!-- Container geral -->
<div class="home-button-row">
<div style="display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px;">
  <!-- 1. Personagens -->
  <div class="home-button-item">
    <a href="/index.php/Personagens">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/a/a8/Personagens_card.png">
      </div>
      <div class="home-button-title">Personagens</div>
    </a>
  </div>


   <!-- Texto principal -->
   <!-- 2. Missões -->
   <div style="flex: 1 1 500px;">
   <div class="home-button-item">
     <div style="font-family: Inter, sans-serif; font-size: 1.5em; font-weight: 600; color: #ddd; margin-bottom: 0.5em;">
     <a href="/index.php/Missões">
       Bem-vindos à Wiki do GLA
      <div class="home-button-image">
    </div>
        <img src="https://wiki.gla.com.br/images/0/08/Missoes_card.png">
    <div style="color: #bbb; font-size: 1em; line-height: 1.6;">
       </div>
      Essa é uma wiki oficial do jogo <strong>Grand Line Adventures</strong>, um MMORPG gratuito criado por fãs ambientado no universo de One Piece, onde você pode jogar como vários personagens do anime.<br><br>
      <div class="home-button-title">Missões</div>
      O jogo está disponível para PC e Mobile. Você pode fazer o download clicando abaixo.
    </a>
    </div>
  </div>


    <!-- Botão de download -->
  <!-- 3. Itens -->
    <div style="margin-top: 1.2em;">
  <div class="home-button-item">
      <a href="/index.php/Download" style="display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-family: Inter, sans-serif; font-weight: 600; font-size: 1em; color: #fff; background: #2a2f38; border: none; border-radius: 4px; text-decoration: none; transition: background 0.3s ease;">
    <a href="/index.php/Itens">
         <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="#fff" viewBox="0 0 24 24"><path d="M12 16l4-5h-3V4h-2v7H8l4 5zm-9 2v2h18v-2H3z"/></svg>
      <div class="home-button-image">
        Download
         <img src="https://wiki.gla.com.br/images/3/39/Itens_card.png">
      </a>
      </div>
    </div>
      <div class="home-button-title">Itens</div>
    </a>
   </div>
   </div>


   <!-- Redes sociais -->
   <!-- 4. Bosses -->
   <div style="flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-end;">
   <div class="home-button-item">
     <a href="https://discord.gg/gla" target="_blank" style="color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 6px;">
     <a href="/index.php/Bosses">
      <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#bbb" viewBox="0 0 24 24"><path d="M20.317 4.369a19.791 19.791 0 00-4.885-1.515.07.07 0 00-.074.035c-.21.375-.444.864-.608 1.249a18.168 18.168 0 00-5.454 0 12.54 12.54 0 00-.617-1.249.07.07 0 00-.074-.035c-1.654.3-3.278.832-4.885 1.515a.062.062 0 00-.031.027C.533 9.043-.319 13.579.099 18.057a.082.082 0 00.031.055 19.9 19.9 0 006.066 3.088.073.073 0 00.079-.027c.468-.64.884-1.312 1.241-2.012a.07.07 0 00-.038-.098 13.208 13.208 0 01-1.888-.896.07.07 0 01-.007-.118c.126-.094.252-.188.371-.285a.07.07 0 01.071-.01c3.928 1.788 8.18 1.788 12.061 0a.07.07 0 01.073.009c.12.097.245.191.372.285a.07.07 0 01-.006.118 12.49 12.49 0 01-1.888.896.07.07 0 00-.038.099c.36.7.777 1.373 1.242 2.012a.073.073 0 00.079.027 19.903 19.903 0 006.065-3.088.082.082 0 00.032-.055c.5-5.177-.838-9.673-3.568-13.661a.06.06 0 00-.03-.028z"/></svg>
      <div class="home-button-image">
      Discord
        <img src="https://wiki.gla.com.br/images/8/87/Worldboss_card.png">
      </div>
      <div class="home-button-title">Bosses</div>
     </a>
     </a>
     <a href="https://tiktok.com/@gla" target="_blank" style="color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 6px;">
  </div>
      <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#bbb" viewBox="0 0 24 24"><path d="M12.003 2c2.061 0 3.725 1.664 3.725 3.725h-2.483a1.24 1.24 0 00-1.242-1.242 1.242 1.242 0 000 2.484h2.483a3.725 3.725 0 01-3.725 3.725 3.725 3.725 0 110-7.192 3.725 3.725 0 01.242.024v-1.523a5.248 5.248 0 00-.242-.007 5.248 5.248 0 100 10.496 5.248 5.248 0 005.248-5.248V2h-5.248z"/></svg>
 
      TikTok
  <!-- 5. Wanted Pirates -->
  <div class="home-button-item">
     <a href="/index.php/Wanted_Pirates">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/9/9d/Wantedpirates_card.png">
      </div>
      <div class="home-button-title">Wanted Pirates</div>
     </a>
     </a>
    <a href="https://instagram.com/gla" target="_blank" style="color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 6px;">
  </div>
      <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#bbb" viewBox="0 0 24 24"><path d="M7.75 2C4.574 2 2 4.574 2 7.75v8.5C2 19.426 4.574 22 7.75 22h8.5C19.426 22 22 19.426 22 16.25v-8.5C22 4.574 19.426 2 16.25 2h-8.5zM12 7.25A4.75 4.75 0 1112 16.75 4.75 4.75 0 0112 7.25zm6.25-.5a1 1 0 110 2 1 1 0 010-2zM12 9a3 3 0 100 6 3 3 0 000-6z"/></svg>
 
      Instagram
  <!-- 6. Baús -->
    </a>
  <div class="home-button-item">
     <a href="https://facebook.com/gla" target="_blank" style="color: #bbb; text-decoration: none; display: flex; align-items: center; gap: 6px;">
     <a href="/index.php/Baús">
      <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#bbb" viewBox="0 0 24 24"><path d="M13.5 2H10C5.584 2 2 5.584 2 10v4c0 4.416 3.584 8 8 8h3v-7h-2v-3h2v-2.084C13 8.263 14.263 7 15.916 7H17v3h-1c-.552 0-1 .448-1 1V12h2l-1 3h-1v7c4.416 0 8-3.584 8-8v-4c0-4.416-3.584-8-8-8z"/></svg>
      <div class="home-button-image">
      Facebook
        <img src="https://wiki.gla.com.br/images/a/a9/Conquistas_card.png">
      </div>
      <div class="home-button-title">Baús</div>
     </a>
     </a>
   </div>
   </div>
</div>
</div>
<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>

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>