Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions corpus/templates/components/navbar_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@
Events
</summary>
<ul class='bg-primary'>
<li>
<a href="{% url 'newsletter_home' %}" class="events-dock-link">
<span class="wave-text">
<span style="--i:0">E</span><span style="--i:1">v</span><span style="--i:2">e</span><span style="--i:3">n</span><span style="--i:4">t</span><span style="--i:5">s</span>
<span style="--i:6">&nbsp;</span>
<span style="--i:7">S</span><span style="--i:8">t</span><span style="--i:9">a</span><span style="--i:10">c</span><span style="--i:11">k</span>
</span>
</a>
</li>
<li>
<a href="{% url 'entwine_home' %}">
Entwine
Expand Down Expand Up @@ -119,6 +128,7 @@
Code Red
</a>
</li>

</ul>
</details>
</li>
Expand Down Expand Up @@ -147,6 +157,19 @@
</a>
</li>

<style>
.wave-text { display: inline-flex; font-weight: bold; transition: all 0.3s ease; }
.wave-text span { display: inline-block; transition: color 0.5s ease; animation: colorShift 4s ease-in-out infinite; animation-delay: calc(.15s * var(--i)); }
.events-hub-link:hover .wave-text { transform: scale(1.08); }
.events-hub-link:hover .wave-text span { font-weight: 800; animation: none; }
@keyframes colorShift { 0%, 100% { color: inherit; } 50% { color: #60a5fa; } }
@keyframes colorShiftHover { 0%, 100% { color: #0ea5e9; } 50% { color: #ec4899; } }
@media (prefers-color-scheme: dark) {
@keyframes colorShift { 0%, 100% { color: inherit; } 50% { color: #3b82f6; } }
@keyframes colorShiftHover { 0%, 100% { color: #ffffff; } 50% { color: #c084fc; } }
}
</style>

<script>
document.querySelectorAll("details").forEach((targetDetail) => {
targetDetail.addEventListener("toggle", () => {
Expand Down