X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empathy%2Fempathy.css;h=adc8f6aa7f213616f91afcee984d7288e8bcfe5f;hb=da31560cbb4678376e32af417a1c9ee47f031330;hp=27d5a3d989d12cc58d95a155d169241ff549dee2;hpb=03ec08e67b15cfb053bb8e7d48aefc331fdbda33;p=lmno.games diff --git a/empathy/empathy.css b/empathy/empathy.css index 27d5a3d..adc8f6a 100644 --- a/empathy/empathy.css +++ b/empathy/empathy.css @@ -42,11 +42,14 @@ margin-bottom: 0.25em; padding: 0; border-radius: 10px; + position: relative; } .ambiguity-button { border-radius: 10px; margin: 0; + overflow-wrap: break-word; + overflow-y: hidden; } .ambiguity-button.selected { @@ -101,7 +104,7 @@ transition-delay: 1s; } -.label { +.achievement { border-radius: 4px; background-color: var(--accent-color-bright); color: var(--text-fg-on-accent-bright); @@ -110,3 +113,26 @@ padding: 0.25em; text-transform: uppercase; } + +.star-button { + color: white; + opacity: 0.5; + font-size: 125%; + font-weight: bold; + cursor: pointer; + position: absolute; + right: 0.5em; + top: 0; +} + +@media (hover:hover) { + .star-button:hover { + color: var(--accent-color-bright); + opacity: 1.0; + } +} + +.star-button.selected { + color: var(--accent-color-bright); + opacity: 1.0; +}