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

De Wiki Gla
Ir para navegação Ir para pesquisar
m
m
Linha 1: Linha 1:
<style>
<style>
    /* Estilo inspirado no Menu Quest da Tibia Wiki - botões de redirecionamento */
     .weekly-bosses {
     .weekly-bosses {
         display: flex;
         display: flex;
Linha 9: Linha 10:


     .weekly-bosses__btn {
     .weekly-bosses__btn {
         display: flex;
         display: inline-block;
        flex-direction: column;
         border: 0.14em solid #F5A00F;
         align-items: center;
         padding: 5px 0;
        gap: 8px;
         text-align: center;
         padding: 16px 20px;
         color: #F5A00F;
         min-width: 120px;
         font-weight: bold;
        border: 1px solid #e67e22;
        border-radius: 12px;
         color: #e67e22;
         font-weight: 600;
         font-size: 14px;
         font-size: 14px;
        border-radius: 10px;
        background: linear-gradient(120deg, rgba(18, 34, 45, 1) 0%, rgba(22, 40, 55, 1) 25%, rgba(26, 46, 65, 1) 50%, rgba(30, 52, 74, 1) 75%, rgba(34, 58, 84, 1) 100%);
         cursor: pointer;
         cursor: pointer;
         transition: all 0.2s ease;
         transition: all 0.2s ease;
        min-width: 120px;
     }
     }


     .weekly-bosses__btn a {
     .weekly-bosses__btn a {
         display: flex;
         display: block;
        flex-direction: column;
        align-items: center;
        gap: 8px;
         color: inherit;
         color: inherit;
         text-decoration: none;
         text-decoration: none;
        padding: 8px 16px;
     }
     }


     .weekly-bosses__btn:hover {
     .weekly-bosses__btn:hover {
         border-color: #f39c12;
         box-shadow: 0 0 0.5em #3E3F40;
         color: #f39c12;
         color: #F5A00F;
         transform: translateY(-2px);
         transform: translateY(-2px);
     }
     }


     .weekly-bosses__btn:focus-within {
     .weekly-bosses__btn:focus-within {
         outline: 2px solid #e67e22;
         outline: 2px solid #F5A00F;
         outline-offset: 2px;
         outline-offset: 2px;
     }
     }
Linha 51: Linha 49:
         image-rendering: -moz-crisp-edges;
         image-rendering: -moz-crisp-edges;
         image-rendering: crisp-edges;
         image-rendering: crisp-edges;
        display: block;
        margin: 0 auto 4px;
    }
    .weekly-bosses__btn table {
        margin: 0 auto;
     }
     }



Edição das 03h36min de 22 de fevereiro de 2026

<style>

   /* Estilo inspirado no Menu Quest da Tibia Wiki - botões de redirecionamento */
   .weekly-bosses {
       display: flex;
       flex-wrap: wrap;
       gap: 12px;
       justify-content: center;
       padding: 16px 0;
   }
   .weekly-bosses__btn {
       display: inline-block;
       border: 0.14em solid #F5A00F;
       padding: 5px 0;
       text-align: center;
       color: #F5A00F;
       font-weight: bold;
       font-size: 14px;
       border-radius: 10px;
       background: linear-gradient(120deg, rgba(18, 34, 45, 1) 0%, rgba(22, 40, 55, 1) 25%, rgba(26, 46, 65, 1) 50%, rgba(30, 52, 74, 1) 75%, rgba(34, 58, 84, 1) 100%);
       cursor: pointer;
       transition: all 0.2s ease;
       min-width: 120px;
   }
   .weekly-bosses__btn a {
       display: block;
       color: inherit;
       text-decoration: none;
       padding: 8px 16px;
   }
   .weekly-bosses__btn:hover {
       box-shadow: 0 0 0.5em #3E3F40;
       color: #F5A00F;
       transform: translateY(-2px);
   }
   .weekly-bosses__btn:focus-within {
       outline: 2px solid #F5A00F;
       outline-offset: 2px;
   }
   .weekly-bosses__btn img {
       width: 48px;
       height: 48px;
       object-fit: contain;
       image-rendering: pixelated;
       image-rendering: -moz-crisp-edges;
       image-rendering: crisp-edges;
       display: block;
       margin: 0 auto 4px;
   }
   .weekly-bosses__btn table {
       margin: 0 auto;
   }
   @media (max-width: 600px) {
       .weekly-bosses {
           flex-direction: column;
       }
       .weekly-bosses__btn {
           width: 100%;
       }
   }

</style>

<script>

   (function () {
       document.querySelectorAll(".weekly-bosses__btn[data-background]").forEach(function (el) {
           el.style.background = el.getAttribute("data-background") || "#2a3544";
       });
   })();

</script>