generated from nhcarrigan/template
feat: socials
This commit is contained in:
+182
@@ -447,6 +447,133 @@
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
SOCIAL LINKS
|
||||
============================================ */
|
||||
.social-links-section {
|
||||
margin: 3rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.social-links-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
padding: 2rem 1rem;
|
||||
background: linear-gradient(135deg, var(--witch-lavender) 0%, var(--witch-moon) 100%);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 4px 20px rgba(168, 87, 126, 0.1);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.social-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 1rem;
|
||||
text-decoration: none;
|
||||
color: var(--witch-purple);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.social-link i {
|
||||
font-size: 2.5rem;
|
||||
transition: transform 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
|
||||
.social-name {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
opacity: 0.8;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.social-link::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
background: radial-gradient(circle, var(--witch-mauve) 0%, transparent 70%);
|
||||
border-radius: 50%;
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.social-link:hover::before {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.social-link:hover i {
|
||||
transform: translateY(-5px) scale(1.1);
|
||||
color: var(--witch-rose);
|
||||
}
|
||||
|
||||
.social-link:hover .social-name {
|
||||
opacity: 1;
|
||||
color: var(--witch-rose);
|
||||
}
|
||||
|
||||
.social-link:focus {
|
||||
outline: 2px solid var(--witch-plum);
|
||||
outline-offset: 4px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Screen reader only text */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.social-links-container {
|
||||
gap: 1.5rem;
|
||||
padding: 1.5rem 1rem;
|
||||
}
|
||||
|
||||
.social-link {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.social-link i {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.social-name {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.social-links-container {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.social-link {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.social-link i {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
ANIMATIONS
|
||||
============================================ */
|
||||
@@ -461,10 +588,36 @@
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes socialBounce {
|
||||
0%, 100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
}
|
||||
|
||||
/* Stagger animation for social links */
|
||||
.social-link {
|
||||
opacity: 0;
|
||||
animation: fadeIn 0.6s ease-out forwards;
|
||||
}
|
||||
|
||||
.social-link:nth-child(1) { animation-delay: 0.1s; }
|
||||
.social-link:nth-child(2) { animation-delay: 0.2s; }
|
||||
.social-link:nth-child(3) { animation-delay: 0.3s; }
|
||||
.social-link:nth-child(4) { animation-delay: 0.4s; }
|
||||
.social-link:nth-child(5) { animation-delay: 0.5s; }
|
||||
|
||||
/* Fun bounce on hover */
|
||||
.social-link:hover i {
|
||||
animation: socialBounce 0.5s ease-out;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
DARK MODE
|
||||
============================================ */
|
||||
@@ -720,6 +873,35 @@
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<!--
|
||||
MARK: Social Links
|
||||
-->
|
||||
<section class="social-links-section fade-in" role="region" aria-labelledby="connect-socials">
|
||||
<h2 id="connect-socials" class="sr-only">Connect on Social Media</h2>
|
||||
<div class="social-links-container">
|
||||
<a href="https://git.nhcarrigan.com/naomi" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Gitea Profile">
|
||||
<i class="fab fa-git-alt"></i>
|
||||
<span class="social-name">Gitea</span>
|
||||
</a>
|
||||
<a href="https://bsky.app/profile/naomi.lgbt" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Bluesky Profile">
|
||||
<i class="fab fa-bluesky"></i>
|
||||
<span class="social-name">Bluesky</span>
|
||||
</a>
|
||||
<a href="https://linkedin.com/in/naomi-lgbt" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="LinkedIn Profile">
|
||||
<i class="fab fa-linkedin"></i>
|
||||
<span class="social-name">LinkedIn</span>
|
||||
</a>
|
||||
<a href="https://chat.nhcarrigan.com" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Discord Server">
|
||||
<i class="fab fa-discord"></i>
|
||||
<span class="social-name">Discord</span>
|
||||
</a>
|
||||
<a href="https://steamcommunity.com/id/naomi-lgbt" target="_blank" rel="noopener noreferrer" class="social-link" aria-label="Steam Profile">
|
||||
<i class="fab fa-steam"></i>
|
||||
<span class="social-name">Steam</span>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="fade-in" role="region" aria-labelledby="get-to-know">
|
||||
<h2 id="get-to-know">Get to Know Me</h2>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user