Mudanças entre as edições de "Widget:Teste"
| Linha 1: | Linha 1: | ||
<div class="home-button-container"> | <div class="home-button-container"> | ||
<div class="home-button-item"> | <div class="home-button-item"> | ||
<a href="/index.php/Personagens" title="Personagens"> | <a href="/index.php/Personagens" title="Personagens"> | ||
| Linha 10: | Linha 9: | ||
</div> | </div> | ||
<div class="home-button-item"> | <div class="home-button-item"> | ||
<a href="/index.php/Itens" title="Itens"> | <a href="/index.php/Itens" title="Itens"> | ||
| Linha 20: | Linha 18: | ||
</div> | </div> | ||
<div class="home-button-item"> | <div class="home-button-item"> | ||
<a href="/index.php/Boss_Semanais" title="Semanais"> | <a href="/index.php/Boss_Semanais" title="Semanais"> | ||
| Linha 30: | Linha 27: | ||
</div> | </div> | ||
<div class="home-button-item"> | <div class="home-button-item"> | ||
<a href="/index.php/World_Boss" title="World Bosses"> | <a href="/index.php/World_Boss" title="World Bosses"> | ||
| Linha 57: | Linha 53: | ||
</a> | </a> | ||
</div> | </div> | ||
<div class="home-button-item"> | |||
<a href="/index.php/Benefícios_VIP" title="VIP"> | |||
<div class="home-button-image"> | |||
<img src="https://wiki.gla.com.br/images/0/08/Missoes_card.png" alt="Benefícios VIP"> | |||
</div> | |||
<div class="home-button-title">VIP</div> | |||
</a> | |||
</div> | |||
<div class="home-button-item"> | |||
<a href="/index.php/Conquistas" title="Conquistas"> | |||
<div class="home-button-image"> | |||
<img src="https://wiki.gla.com.br/images/0/08/Missoes_card.png" alt="Conquistas"> | |||
</div> | |||
<div class="home-button-title">Conquistas</div> | |||
</a> | |||
</div> | |||
</div> | </div> | ||
<style> | <style> | ||
Edição das 21h11min de 29 de março de 2025
<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: none; }
.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>