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

De Wiki Gla
Ir para navegação Ir para pesquisar
m
 
(32 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<div class="wiki-social-wrapper">
<div class="home-button-row">
  <!-- 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>
 
  <!-- 2. Missões -->
  <div class="home-button-item">
    <a href="/index.php/Missões">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/0/08/Missoes_card.png">
      </div>
      <div class="home-button-title">Missões</div>
    </a>
  </div>
 
  <!-- 3. Itens -->
  <div class="home-button-item">
    <a href="/index.php/Itens">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/3/39/Itens_card.png">
      </div>
      <div class="home-button-title">Itens</div>
    </a>
  </div>
 
  <!-- 4. Bosses -->
  <div class="home-button-item">
    <a href="/index.php/Bosses">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/8/87/Worldboss_card.png">
      </div>
      <div class="home-button-title">Bosses</div>
    </a>
  </div>
 
  <!-- 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>
  </div>
 
  <!-- 6. Baús -->
  <div class="home-button-item">
    <a href="/index.php/Baús">
      <div class="home-button-image">
        <img src="https://wiki.gla.com.br/images/a/a9/Conquistas_card.png">
      </div>
      <div class="home-button-title">Baús</div>
    </a>
  </div>
</div>
 
<style>
<style>
.wiki-social-wrapper .social-cards {
.home-button-row {
display: grid;
  display: grid;
grid-template-columns: 1fr;
  grid-template-columns: repeat(6, 1fr);
gap: 0.25em;
  gap: 16px;
  padding: 10px;
  box-sizing: border-box;
}
}


@media screen and (max-width: 1024px) {
@media (max-width: 1280px) {
.wiki-social-wrapper .social-cards {
  .home-button-row {
grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
gap: 0.5em;
  }
}
}
@media (max-width: 768px) {
  .home-button-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
}


.wiki-social-wrapper .social-card {
.home-button-item {
position: relative;
  width: 100%;               /* ocupa toda a célula do grid */
height: 4em;
  border: 1px solid #333;
border-radius: 0.75em;
  border-radius: 12px;
overflow: hidden;
  background-color: #1a1a1a;
cursor: pointer;
  overflow: hidden;
background-size: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
background-position: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
transition: filter 0.3s ease, box-shadow 0.3s ease;
  display: flex;
margin: 0;
  flex-direction: column;
}
}


.wiki-social-wrapper .social-card::before {
@media (prefers-color-scheme: light) {
content: "";
  .home-button-item {
position: absolute;
    border: 1px solid #ccc;
inset: 0;
    background-color: #fff;
background-color: var(--overlay-color);
  }
opacity: 0.3;
/* overlay suave */
pointer-events: none;
transition: opacity 0.3s ease;
}
}


.wiki-social-wrapper .social-card:hover {
.home-button-item:hover {
filter: brightness(1.05);
  transform: translateY(-3px);
/* leve brilho */
  border-color: #007bff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
}


.wiki-social-wrapper .social-card:hover::before {
.home-button-item a {
opacity: 0.5;
  display: block;
/* overlay um pouco mais forte */
  text-decoration: none;
  color: inherit;
  height: 100%;
}
}


.wiki-social-wrapper .social-card-content {
.home-button-image {
position: relative;
  width: 100%;
display: flex;
  aspect-ratio: 16/9;
align-items: center;
padding: 0 1em;
height: 100%;
color: #fff;
}
}


.wiki-social-wrapper .social-icon {
.home-button-image img {
width: 2em;
  width: 100%;
height: 2em;
  height: 100%;
margin-right: 0.75em;
  object-fit: cover;
flex-shrink: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: filter 0.3s ease;
}
}


.wiki-social-wrapper .social-name {
.home-button-item:hover .home-button-image img {
font-size: 1.25em;
  filter: brightness(1.1);
line-height: 1;
font-weight: bold;
}
}


/* cada rede define sua cor de overlay forte aqui */
.home-button-title {
.wiki-social-wrapper .social-card.discord {
  font-family: sans-serif;
background-image: url('https://i.imgur.com/3ON2kVj.gif');
  font-weight: bold;
--overlay-color: rgba(114, 137, 218, 1);
  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;
}
}


.wiki-social-wrapper .social-card.tiktok {
@media (prefers-color-scheme: light) {
background-image: url('https://i.imgur.com/oY0Z4PMC.jpg');
  .home-button-title {
--overlay-color: rgba(0, 0, 0, 1);
    background: #fff;
    color: #0645AD;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}
}


.wiki-social-wrapper .social-card.instagram {
.home-button-item:hover .home-button-title {
background-image: url('https://i.imgur.com/ZXQ7wq3.jpg');
  background-color: #181818;
--overlay-color: rgba(193, 53, 132, 1);
}
}


.wiki-social-wrapper .social-card.facebook {
@media (prefers-color-scheme: light) {
background-image: url('https://i.imgur.com/9bGkq7Y.jpg');
  .home-button-item:hover .home-button-title {
--overlay-color: rgba(24, 119, 242, 1);
    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>
</style>
<div class="social-cards">
<a href="https://discord.gg/SEULINK" class="social-card discord" target="_blank" rel="noopener">
<div class="social-card-content">
<img src="https://cdn.simpleicons.org/Discord/ffffff" alt="Discord" class="social-icon" />
<span class="social-name">Discord</span>
</div>
</a>
<a href="https://tiktok.com/@SEUTIKTOK" class="social-card tiktok" target="_blank" rel="noopener">
<div class="social-card-content">
<img src="https://cdn.simpleicons.org/TikTok/ffffff" alt="TikTok" class="social-icon" />
<span class="social-name">TikTok</span>
</div>
</a>
<a href="https://instagram.com/SEUINS" class="social-card instagram" target="_blank" rel="noopener">
<div class="social-card-content">
<img src="https://cdn.simpleicons.org/Instagram/ffffff" alt="Instagram" class="social-icon" />
<span class="social-name">Instagram</span>
</div>
</a>
<a href="https://facebook.com/SEUPAGE" class="social-card facebook" target="_blank" rel="noopener">
<div class="social-card-content">
<img src="https://cdn.simpleicons.org/Facebook/ffffff" alt="Facebook" class="social-icon" />
<span class="social-name">Facebook</span>
</div>
</a>
</div>
</div>

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>