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

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 1: Linha 1:
<style>
.home-button-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas - ajuste se necessário */
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
}
.home-button-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}
.home-button-item:hover {
  transform: translateY(-5px);
  border-color: #007bff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.home-button-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.home-button-image {
  width: 100%;
  /* Para botões quadrados, use aspect-ratio: 1;
    se preferir retângulo, altere para 16/9 ou outro valor */
  aspect-ratio: 1;
  overflow: hidden;
}
.home-button-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}
.home-button-item:hover img {
  filter: brightness(1.1);
}
.home-button-title {
  font-weight: bold;
  font-size: 1.1em;
  background: #fff;
  color: #000;
  margin: 0;
  padding: 10px 5px;
  position: relative;
  text-transform: uppercase;
  border-top: 1px solid #ddd;
  text-align: center;
  transition: background-color 0.3s ease;
}
.home-button-item:hover .home-button-title {
  background-color: #f9f9f9;
}
</style>
<div class="home-button-container">
<div class="home-button-container">
   <!-- Card 1 -->
   <!-- Card 1 -->
Linha 101: Linha 31:


   <!-- Card 4 -->
   <!-- Card 4 -->
  <div class="home-button-item">
    <a href="/wiki/NolandTales" title="Noland Tales">
      <div class="home-button-image">
        <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
      </div>
      <div class="home-button-title">NOLAND TALES</div>
    </a>
  </div>
  <div class="home-button-item">
    <a href="/wiki/NolandTales" title="Noland Tales">
      <div class="home-button-image">
        <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
      </div>
      <div class="home-button-title">NOLAND TALES</div>
    </a>
  </div>
  <div class="home-button-item">
    <a href="/wiki/NolandTales" title="Noland Tales">
      <div class="home-button-image">
        <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
      </div>
      <div class="home-button-title">NOLAND TALES</div>
    </a>
  </div>
  <div class="home-button-item">
    <a href="/wiki/NolandTales" title="Noland Tales">
      <div class="home-button-image">
        <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
      </div>
      <div class="home-button-title">NOLAND TALES</div>
    </a>
  </div>
   <div class="home-button-item">
   <div class="home-button-item">
     <a href="/wiki/NolandTales" title="Noland Tales">
     <a href="/wiki/NolandTales" title="Noland Tales">
Linha 110: Linha 76:
   </div>
   </div>
</div>
</div>
<style>
  .home-button-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 colunas - ajuste se necessário */
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
  }
  .home-button-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
  }
  .home-button-item:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  .home-button-item a {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .home-button-image {
    width: 100%;
    /* Para botões quadrados, use aspect-ratio: 1;
    se preferir retângulo, altere para 16/9 ou outro valor */
    aspect-ratio: 1;
    overflow: hidden;
  }
  .home-button-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
  }
  .home-button-item:hover img {
    filter: brightness(1.1);
  }
  .home-button-title {
    font-weight: bold;
    font-size: 1.1em;
    background: #fff;
    color: #000;
    margin: 0;
    padding: 10px 5px;
    position: relative;
    text-transform: uppercase;
    border-top: 1px solid #ddd;
    text-align: center;
    transition: background-color 0.3s ease;
  }
  .home-button-item:hover .home-button-title {
    background-color: #f9f9f9;
  }
</style>

Edição das 15h28min de 28 de março de 2025

   <a href="/wiki/Personagens" title="Personagens">
       <img src="URL_DA_IMAGEM_PERSONAGENS" alt="Personagens">
PERSONAGENS
   </a>
   <a href="/wiki/Items" title="Items">
       <img src="URL_DA_IMAGEM_ITEMS" alt="Items">
ITEMS
   </a>
   <a href="/wiki/BoostSystem" title="Boost System">
       <img src="URL_DA_IMAGEM_BOOST" alt="Boost System">
BOOST SYSTEM
   </a>
   <a href="/wiki/NolandTales" title="Noland Tales">
       <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
NOLAND TALES
   </a>
   <a href="/wiki/NolandTales" title="Noland Tales">
       <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
NOLAND TALES
   </a>
   <a href="/wiki/NolandTales" title="Noland Tales">
       <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
NOLAND TALES
   </a>
   <a href="/wiki/NolandTales" title="Noland Tales">
       <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
NOLAND TALES
   </a>
   <a href="/wiki/NolandTales" title="Noland Tales">
       <img src="URL_DA_IMAGEM_NOLAND" alt="Noland Tales">
NOLAND TALES
   </a>

<style>

 .home-button-container {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   /* 4 colunas - ajuste se necessário */
   gap: 10px;
   padding: 10px;
   box-sizing: border-box;
 }
 .home-button-item {
   position: relative;
   overflow: hidden;
   border: 1px solid #ddd;
   border-radius: 8px;
   background: #fff;
   transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
   box-sizing: border-box;
 }
 .home-button-item:hover {
   transform: translateY(-5px);
   border-color: #007bff;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
 }
 .home-button-item a {
   display: block;
   text-decoration: none;
   color: inherit;
 }
 .home-button-image {
   width: 100%;
   /* Para botões quadrados, use aspect-ratio: 1; 
    se preferir retângulo, altere para 16/9 ou outro valor */
   aspect-ratio: 1;
   overflow: hidden;
 }
 .home-button-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: filter 0.3s ease;
 }
 .home-button-item:hover img {
   filter: brightness(1.1);
 }
 .home-button-title {
   font-weight: bold;
   font-size: 1.1em;
   background: #fff;
   color: #000;
   margin: 0;
   padding: 10px 5px;
   position: relative;
   text-transform: uppercase;
   border-top: 1px solid #ddd;
   text-align: center;
   transition: background-color 0.3s ease;
 }
 .home-button-item:hover .home-button-title {
   background-color: #f9f9f9;
 }

</style>