Mudanças entre as edições de "Widget:MainPageSocial"
Ir para navegação
Ir para pesquisar
| Linha 36: | Linha 36: | ||
inset: 0; | inset: 0; | ||
background-image: linear-gradient(rgba(var(--bg-color-rgb), 0.5), | background-image: linear-gradient(rgba(var(--bg-color-rgb), 0.5), | ||
rgba(var(--bg-color-rgb), 0.5)), | rgba(var(--bg-color-rgb), 0.5)), var(--bg-image); | ||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
| Linha 46: | Linha 45: | ||
.wiki-social-wrapper .social-card:hover::before { | .wiki-social-wrapper .social-card:hover::before { | ||
opacity: | opacity: 0.9; | ||
} | } | ||
| Linha 66: | Linha 65: | ||
text-shadow: 0 1px 2px black; | text-shadow: 0 1px 2px black; | ||
-webkit-font-smoothing: antialiased; | -webkit-font-smoothing: antialiased; | ||
font-family: "Noto Sans", sans-serif; | |||
} | } | ||
| Linha 88: | Linha 86: | ||
font-weight: bold; | font-weight: bold; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.wiki-social-wrapper .sprite-hover { | .wiki-social-wrapper .sprite-hover { | ||
position: absolute; | position: absolute; | ||
bottom: | bottom: 0; | ||
right: - | right: 5px; | ||
width: | width: auto; | ||
height: 100%; | |||
max-height: 100%; | |||
max-width: 100%; | |||
object-fit: contain; | |||
opacity: 0; | opacity: 0; | ||
pointer-events: none; | pointer-events: none; | ||
transition: opacity 0.3s ease, transform 0.3s ease; | transition: opacity 0.3s ease, transform 0.3s ease; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
.wiki-social-wrapper .social-card:hover .sprite-hover { | .wiki-social-wrapper .social-card:hover .sprite-hover { | ||
opacity: 1; | opacity: 1; | ||
transform: translateY(- | transform: translateY(-10px); | ||
} | } | ||
| Linha 115: | Linha 112: | ||
--hover-color: #5b6eae; | --hover-color: #5b6eae; | ||
--bg-image: url("https://wiki.gla.com.br/images/3/35/Fundodawikiglatest.png"); | --bg-image: url("https://wiki.gla.com.br/images/3/35/Fundodawikiglatest.png"); | ||
--bg-color-rgb: 114, 137, 218; | |||
} | } | ||
| Linha 128: | Linha 126: | ||
--bg-color: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); | --bg-color: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); | ||
--bg-color-rgb: 254, 218, 117; | --bg-color-rgb: 254, 218, 117; | ||
--hover-color: # | --hover-color: #feda75; | ||
--hover-color-rgb: | --hover-color-rgb: 254, 218, 117; | ||
--bg-image: url("https://i.postimg.cc/ZYdXwn8t/Screenshot-138.png"); | --bg-image: url("https://i.postimg.cc/ZYdXwn8t/Screenshot-138.png"); | ||
background-size: 150% 150%; | background-size: 150% 150%; | ||
| Linha 141: | Linha 139: | ||
--hover-color-rgb: 45, 67, 115; | --hover-color-rgb: 45, 67, 115; | ||
--bg-image: url("https://i.postimg.cc/vTrqb1h4/Screenshot-140.png"); | --bg-image: url("https://i.postimg.cc/vTrqb1h4/Screenshot-140.png"); | ||
} | } | ||
.wiki-social-wrapper .social-card.instagram:hover::before { | .wiki-social-wrapper .social-card.instagram:hover::before { | ||
background-image: linear-gradient(rgba(254, 218, 117, 0. | background-image: linear-gradient(rgba(254, 218, 117, 0.3), | ||
rgba(254, 218, 117, 0. | rgba(254, 218, 117, 0.3)), var(--bg-image); | ||
background-blend-mode: lighten; | |||
background-blend-mode: | |||
background-size: cover; | background-size: cover; | ||
background-position: center; | background-position: center; | ||
} | } | ||
</style> | </style> | ||
<div class="social-cards"> | <div class="social-cards"> | ||
| Linha 181: | Linha 159: | ||
</a> | </a> | ||
<a href="https://instagram.com/grandlineadventures" class="social-card instagram" target="_blank" | <a href="https://instagram.com/grandlineadventures" class="social-card instagram" target="_blank" rel="noopener"> | ||
<div class="social-card-content"> | <div class="social-card-content"> | ||
<img src="https://cdn.simpleicons.org/Instagram/ffffff" alt="Instagram" class="social-icon" /> | <img src="https://cdn.simpleicons.org/Instagram/ffffff" alt="Instagram" class="social-icon" /> | ||