X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.css;h=a32f2de96fa2f2843eeb3b4e602d6c43bb03542a;hp=27d5a3d989d12cc58d95a155d169241ff549dee2;hb=ca50b4b8fd8fc7d5fe23b7bba2544d1eef8de33e;hpb=03ec08e67b15cfb053bb8e7d48aefc331fdbda33 diff --git a/empathy/empathy.css b/empathy/empathy.css index 27d5a3d..a32f2de 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,30 @@ 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; +} + +.player-idle { + opacity: 0.5; +}