X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=empathy%2Fempathy.css;h=9d458a3cbb7ea71360dfacfbd282135ce3d22463;hb=e757a3901a286c6770adcfbc38ed31eec422a828;hp=9692274e3a7edd7eaaa4e4976d966e0c91df4cae;hpb=182083e7c5284b7e373a133dce71eac86cb365f7;p=lmno.games diff --git a/empathy/empathy.css b/empathy/empathy.css index 9692274..9d458a3 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,13 @@ margin-bottom: 0.25em; padding: 0; border-radius: 10px; + position: relative; } .ambiguity-button { border-radius: 10px; margin: 0; + overflow-wrap: break-word; } .ambiguity-button.selected { @@ -96,6 +99,39 @@ .typing.idle span { opacity: 0.0; transition-property: opacity; - transition-duration: 6s; - transition-delay: 3s; + transition-duration: 2s; + transition-delay: 1s; +} + +.label { + 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; }