Widget:Teste

De Wiki Gla
Revisão de 02h03min de 8 de maio de 2025 por Gurren1 (discussão | contribs)
Ir para navegação Ir para pesquisar
 <style>
   .wiki-social-wrapper .social-cards {
     display: grid;
     grid-template-columns: 1fr;
     gap: 0.25em;
   }
   @media screen and (max-width: 1024px) {
     .wiki-social-wrapper .social-cards {
       grid-template-columns: repeat(2, 1fr);
       gap: 0.5em;
     }
   }
   .wiki-social-wrapper .social-card {
     position: relative;
     height: 4em;
     border-radius: 0.75em;
     overflow: hidden;
     cursor: pointer;
     margin: 0;
     text-decoration: none;
     --overlay-color: rgba(30,144,255,0.6);
   }
   .wiki-social-wrapper .social-card::before {
     content: "";
     position: absolute;
     inset: 0;
     background-image: var(--bg-url);
     background-size: cover;
     background-position: center;
     filter: blur(1px) brightness(0.8);
     transform: scale(1.05);
     z-index: 0;
   }
   .wiki-social-wrapper .social-card::after {
     content: "";
     position: absolute;
     inset: 0;
     background-color: var(--overlay-color);
     z-index: 1;
     transition: background-color 0.3s ease;
   }
   .wiki-social-wrapper .social-card:hover::after {
     background-color: var(--hover-color);
   }
   .wiki-social-wrapper .social-card-content {
     position: relative;
     z-index: 2;
     display: flex;
     align-items: center;
     padding: 0 1em;
     height: 100%;
     color: #fff;
     transition: filter 0.3s ease;
   }
   .wiki-social-wrapper .social-card:hover .social-card-content {
     filter: brightness(1.1);
   }
   .wiki-social-wrapper .social-icon {
     width: 2em;
     height: 2em;
     margin-right: 0.75em;
     flex-shrink: 0;
   }
   .wiki-social-wrapper .social-name {
     font-size: 1.25em;
     line-height: 1;
     font-weight: bold;
     text-decoration: none;
   }
   /* Sprite que aparece ao passar o mouse */
   .wiki-social-wrapper .sprite-hover {
     position: absolute;
     bottom: -20px;
     right: -10px;
     width: 64px;
     height: auto;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.3s ease, transform 0.3s ease;
     z-index: 2;
   }
   .wiki-social-wrapper .social-card:hover .sprite-hover {
     opacity: 1;
     transform: translateY(-20px);
   }
   /* URLs e cores por rede */
   .wiki-social-wrapper .social-card.discord {
     --bg-url: url('https://i.imgur.com/cbUqsXp.png');
     --hover-color: rgba(114,137,218,0.85);
   }
   .wiki-social-wrapper .social-card.tiktok {
     --bg-url: url('https://i.imgur.com/cbUqsXp.png');
     --hover-color: rgba(0,0,0,0.85);
   }
   .wiki-social-wrapper .social-card.instagram {
     --bg-url: url('https://i.imgur.com/cbUqsXp.png');
     --hover-color: rgba(193,53,132,0.85);
   }
   .wiki-social-wrapper .social-card.facebook {
     --bg-url: url('https://i.imgur.com/cbUqsXp.png');
     --hover-color: rgba(24,119,242,0.85);
   }
 </style>