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

De Wiki Gla
Ir para navegação Ir para pesquisar
Etiqueta: Revertido
Etiqueta: Reversão manual
Linha 83: Linha 83:
<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: 20px;
gap: 20px;
  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: 3px solid;
border: 1px solid #ddd;
  border-image: linear-gradient(to bottom, #ccc, #0077ff) 1;
border-radius: 8px;
  border-radius: 8px;
background: #fff;
  background: #ffffff;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transition: filter 0.2s ease, transform 0.2s ease;
box-sizing: border-box;
  box-sizing: border-box;
}
}


.home-button-item:hover {
.home-button-item:hover {
  filter: brightness(1.03);
transform: translateY(-5px);
  transform: translateY(-2px);
border-color: #007bff;
}
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
 
.home-button-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(to bottom, #ccc, #0077ff);
  -webkit-mask:  
    linear-gradient(#fff 0 0) content-box,  
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
}


.home-button-item a {
.home-button-item a {
  display: block;
display: block;
  text-decoration: none;
text-decoration: none;
  color: inherit;
color: inherit;
  position: relative;
  z-index: 2;
}
}


.home-button-image {
.home-button-image {
  width: 100%;
width: 100%;
  aspect-ratio: 16/9;
aspect-ratio: 16/9;
  display: block;
display: block;
  margin: 0;
margin: 0;
  padding: 0;
padding: 0;
}
}


.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;
  border-top-left-radius: 8px;
transition: filter 0.3s ease;
  border-top-right-radius: 8px;
}
  transition: filter 0.2s ease;
 
.home-button-item:hover .home-button-image img {
filter: brightness(1.1);
}
}


.home-button-title {
.home-button-title {
   font-family: 'Inter', sans-serif;
   font-family: sans-serif;
   font-weight: 600;
   font-weight: bold;
   font-size: 1.05em;
   font-size: clamp(1.2em, 5vw, 1.3em);
   background: #f0f0f0;
   background: #fff;
   color: #111;
   color: #0645AD;
   margin: 0;
   margin: 0;
   padding: 8px 4px;
   padding: 10px 5px;
   text-align: center;
   position: relative;
   text-transform: uppercase;
   text-transform: uppercase;
   border-top: 1px solid #ddd;
   border-top: 1px solid #ddd;
   transition: background-color 0.2s ease;
  text-align: center;
  text-decoration: none;
   transition: background-color 0.3s ease;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
}
 
 
.home-button-item:hover .home-button-title {
background-color: #f9f9f9;
}
}


.home-button-item.disabled {
.home-button-item.disabled {
  opacity: 0.4;
opacity: 0.5;
  pointer-events: none;
pointer-events: none;
  filter: grayscale(100%);
transform: none;
box-shadow: none;
border-color: #ddd;
}
}


.home-button-item.disabled .home-button-title {
.home-button-item.disabled .home-button-title {
  color: #999;
color: #999;
}
}


@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 14h19min de 6 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/Conquistas">

Conquistas

</a>

<a href="/index.php/Passe de Batalha">

Passe de Batalha

</a>

<a href="/index.php/Boss_Semanais">

Guia para Iniciantes

</a>

<style> .home-button-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; 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%; aspect-ratio: 16/9; display: block; margin: 0; padding: 0; }

.home-button-image img { width: 100%; height: 100%; object-fit: cover; display: block; 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: clamp(1.2em, 5vw, 1.3em);
 background: #fff;
 color: #0645AD;
 margin: 0;
 padding: 10px 5px;
 position: relative;
 text-transform: uppercase;
 border-top: 1px solid #ddd;
 text-align: center;
 text-decoration: none;
 transition: background-color 0.3s ease;
 box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);

}


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

.home-button-item.disabled { opacity: 0.5; pointer-events: none; transform: none; box-shadow: none; border-color: #ddd; }

.home-button-item.disabled .home-button-title { color: #999; }

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