Skip to content

Commit

Permalink
Fix society marquee
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-nayak committed Sep 16, 2023
1 parent 219ca6a commit 5fd7b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions corpus/templates/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1 class="text-4xl lg:text-5xl text-center">Societies</h1>
<div class="flex whitespace-nowrap overflow-x-hidden">
<div class="relative">
<div
class="space-x-2 animate-[smallmarquee_10s_linear_infinite] lg:flex lg:space-x-6 lg:animate-[marquee_25s_linear_infinite]">
class="w-max space-x-5 animate-[marquee_10s_linear_infinite] lg:animate-[marquee_25s_linear_infinite]">
{% for society in societies %}
{% if society.dark_image %}
<a href="{{ society.url }}"><img src="{% static society.dark_image %}" style="display: none;"
Expand All @@ -119,7 +119,7 @@ <h1 class="text-4xl lg:text-5xl text-center">Societies</h1>
{% endfor %}
</div>
<div
class="absolute top-0 space-x-2 animate-[smallmarquee2_10s_linear_infinite] lg:flex lg:space-x-6 lg:animate-[marquee2_25s_linear_infinite]">
class="absolute top-0 w-max space-x-5 animate-[marquee2_10s_linear_infinite] lg:animate-[marquee2_25s_linear_infinite]">
{% for society in societies %}
{% if society.dark_image %}
<a href="{{ society.url }}"><img src="{% static society.dark_image %}" style="display: none;"
Expand Down
10 changes: 0 additions & 10 deletions corpus/templates/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,3 @@
0% { transform: translateX(100%); }
100% { transform: translateX(0%); }
}

@keyframes smallmarquee {
0% { transform: translateX(0%); }
100% { transform: translateX(-300%); }
}

@keyframes smallmarquee2 {
0% { transform: translateX(300%); }
100% { transform: translateX(0%); }
}

0 comments on commit 5fd7b0c

Please sign in to comment.