fix: more elemental display adjustments

This commit is contained in:
insects 2025-03-31 23:50:26 +02:00
parent 7e4978a0a1
commit cc6ab285bd
2 changed files with 4 additions and 4 deletions

View file

@ -272,7 +272,7 @@ span#password {
}
.fairy-c {
color: aqua;
color: #00e1ff;
}
.fairy-list {

View file

@ -8,11 +8,11 @@
<% if has_fairy?(instance, fairy) %>
<% idx = instance.fairies.index { |f| f.location == "#{fairy[:x]},#{fairy[:y]}" } %>
<% if idx == 0 %>
<span class="fairy-a fairy-marker">A</span>
<span class="fairy-a fairy-marker">1</span>
<% elsif idx == 1 %>
<span class="fairy-b fairy-marker">B</span>
<span class="fairy-b fairy-marker">2</span>
<% elsif idx == 2 %>
<span class="fairy-c fairy-marker">C</span>
<span class="fairy-c fairy-marker">3</span>
<% else %>
<span class="other-fairy fairy-marker"><%= idx + 1 %></span>
<% end %>