From a8fa3e7286b2c3199fe3b1df669617ec87c3e0b6 Mon Sep 17 00:00:00 2001 From: insects Date: Wed, 12 Mar 2025 15:06:07 +0100 Subject: [PATCH] fix: use a more easily visible character for fairy spots --- app/assets/stylesheets/application.css | 14 +++++++++++++- app/views/instance/_fairies.html.erb | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 695b7fd..48be836 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -242,9 +242,14 @@ span#password { margin-left: -3px; } +.fairies .fairy-dot:has(.fairy-marker) { + margin-top: -11px; +} + .fairy-marker { font-weight: bold; - font-size: 12px; + font-size: 13px; + display: inline-block; } .fairy-a { @@ -278,8 +283,15 @@ span#password { font-size: 14px; } +.fairy-dot.unclaimed { + transition: .05s transform linear, .05s color linear; + font-size: 12px; +} + .fairy-dot.unclaimed:hover { cursor: pointer; + transform: scale(130%); + color: blue; } .despawn-note { diff --git a/app/views/instance/_fairies.html.erb b/app/views/instance/_fairies.html.erb index e5df2a8..5f35167 100644 --- a/app/views/instance/_fairies.html.erb +++ b/app/views/instance/_fairies.html.erb @@ -24,7 +24,7 @@ hx-target="#fairies" hx-select="#fairies" > - • + ◆ <% end %>