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

De Wiki Gla
Ir para navegação Ir para pesquisar
m
Linha 77: Linha 77:
</div>
</div>
<style>
<style>
.home-button-container {
  .home-button-container {
  display: grid;
    display: grid;
  grid-template-columns: repeat(4, 1fr);
    grid-template-columns: repeat(4, 1fr);
  gap: 10px;
    gap: 10px;
  padding: 10px;
    padding: 10px;
  box-sizing: border-box;
    box-sizing: border-box;
}
  }


.home-button-item {
  .home-button-item {
  position: relative;
    position: relative;
  overflow: hidden;
    overflow: hidden;
  border: 1px solid #ddd;
    border: 1px solid #ddd;
  border-radius: 8px;
    border-radius: 8px;
  background: #fff;
    background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
    box-sizing: border-box;
}
  }


.home-button-item:hover {
  .home-button-item:hover {
  transform: translateY(-2px) scale(1.01);
    border-color: #007bff;
  border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}


.home-button-item a {
  .home-button-item a {
  display: block;
    display: block;
  text-decoration: none;
    text-decoration: none;
  color: inherit;
    color: inherit;
}
  }


.home-button-image {
  .home-button-image {
  width: 100%;
    width: 100%;
  aspect-ratio: 16/9;
    aspect-ratio: 16/9;
  overflow: hidden;
    overflow: hidden;
}
  }


.home-button-image img {
  .home-button-image img {
  width: 100%;
    width: 100%;
  height: 100%;
    height: 100%;
  object-fit: cover;
    object-fit: cover;
  display: block;
    display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
    transition: transform 0.2s ease, filter 0.2s ease;
  backface-visibility: hidden;
    backface-visibility: hidden;
  transform: translateZ(0);
    transform: translateZ(0);
}
  }


.home-button-item:hover .home-button-image img {
  .home-button-item:hover .home-button-image img {
  transform: scale(1.01);
    transform: scale(1.01);
  filter: brightness(1.1);
    filter: brightness(1.1);
}
  }


.home-button-title {
  .home-button-title {
  font-weight: bold;
    font-weight: bold;
  font-size: 1.1em;
    font-size: 1.1em;
  background: #fff;
    background: #fff;
  color: #000;
    color: #000;
  margin: 0;
    margin: 0;
  padding: 10px 5px;
    padding: 10px 5px;
  position: relative;
    position: relative;
  text-transform: uppercase;
    text-transform: uppercase;
  border-top: 1px solid #ddd;
    border-top: 1px solid #ddd;
  text-align: center;
    text-align: center;
  transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}
  }


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


/* Responsividade: 2 colunas abaixo de 1280px */
  @media (max-width: 1280px) {
@media (max-width: 1280px) {
    .home-button-container {
  .home-button-container {
      grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    }
   }
   }
}
</style>
</style>

Edição das 21h24min de 28 de março de 2025

   <a href="/index.php/Personagens" title="Personagens">
PERSONAGENS
   </a>
   <a href="/index.php/Itens" title="Itens">
ITENS
   </a>
   <a href="/index.php/Boss_Semanais" title="Semanais">
SEMANAIS
   </a>
   <a href="/index.php/World_Boss" title="World Bosses">
WORLD BOSS
   </a>
   <a href="/index.php/Wanted_Pirates" title="Piratas Procurados">
WANTED PIRATES
   </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);
   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: box-shadow 0.2s ease, border-color 0.2s ease;
   box-sizing: border-box;
 }
 .home-button-item:hover {
   border-color: #007bff;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
 }
 .home-button-item a {
   display: block;
   text-decoration: none;
   color: inherit;
 }
 .home-button-image {
   width: 100%;
   aspect-ratio: 16/9;
   overflow: hidden;
 }
 .home-button-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: transform 0.2s ease, filter 0.2s ease;
   backface-visibility: hidden;
   transform: translateZ(0);
 }
 .home-button-item:hover .home-button-image img {
   transform: scale(1.01);
   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.2s ease;
 }
 .home-button-item:hover .home-button-title {
   background-color: #f9f9f9;
 }
 @media (max-width: 1280px) {
   .home-button-container {
     grid-template-columns: repeat(2, 1fr);
   }
 }

</style>