other polish

This commit is contained in:
Andrew Brown 2025-09-01 23:02:37 -07:00
parent 6a73a4ed8c
commit bfd7ded9c9
2 changed files with 18 additions and 3 deletions

View File

@ -66,7 +66,7 @@
<% @suggested_page_tags.each do |tag| %>
<a
@click="addTag('<%= tag %>')"
class="inline-block bg-white hover:<%= @content.class.color %> hover:text-white rounded-full px-3 py-1 text-sm text-gray-700 cursor-pointer"
class="inline-block text-gray-200 hover:<%= @content.class.color %> hover:text-white rounded-full px-3 py-1 text-sm cursor-pointer"
>
<%= tag %>
</a>

View File

@ -1,6 +1,21 @@
<style>
@keyframes breathing-zoom {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.03);
}
}
.breathing-header {
animation: breathing-zoom 8s ease-in-out infinite;
}
</style>
<div class="relative bg-purple-900">
<div class="h-56 bg-indigo-600 sm:h-72 md:absolute md:left-0 md:h-full md:w-1/2">
<%= image_tag asset_path("card-headers/universes.webp"), class: 'w-full h-full object-cover' %>
<div class="h-56 bg-indigo-600 sm:h-72 md:absolute md:left-0 md:h-full md:w-1/2 overflow-hidden">
<%= image_tag asset_path("card-headers/universes.webp"), class: 'w-full h-full object-cover breathing-header' %>
</div>
<div class="relative max-w-7xl mx-auto px-4 py-12 sm:px-6 lg:px-8 lg:py-16">
<div class="md:ml-auto md:w-1/2 md:pl-10">