X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.css;h=a32f2de96fa2f2843eeb3b4e602d6c43bb03542a;hp=9692274e3a7edd7eaaa4e4976d966e0c91df4cae;hb=HEAD;hpb=182083e7c5284b7e373a133dce71eac86cb365f7 diff --git a/empathy/empathy.css b/empathy/empathy.css index 9692274..a32f2de 100644 --- a/empathy/empathy.css +++ b/empathy/empathy.css @@ -7,6 +7,7 @@ font-size: 200%; padding: 1em; margin-bottom: 0.25em; + position: relative; } .vote-choices { @@ -41,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 { @@ -96,6 +100,43 @@ .typing.idle span { opacity: 0.0; transition-property: opacity; - transition-duration: 6s; - transition-delay: 3s; + transition-duration: 2s; + transition-delay: 1s; +} + +.achievement { + border-radius: 4px; + background-color: var(--accent-color-bright); + color: var(--text-fg-on-accent-bright); + font-size: 72%; + font-weight: bold; + 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; }