X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.css;h=a32f2de96fa2f2843eeb3b4e602d6c43bb03542a;hp=a58e63306e1c22d42c534653f8a3507ec0da80d4;hb=6e3daa0768dafe57ad8f045b8314502316dc7c66;hpb=cc7dc914378987b03c4a0dd1b6ed350ac1c9a50f diff --git a/empathy/empathy.css b/empathy/empathy.css index a58e633..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 { @@ -99,3 +103,40 @@ 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; +}