X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=empathy%2Fempathy.css;h=8a3f36c7384aeaf3596fedc35fecc40963de2097;hb=e4c308c3331de77071170b0711505a990eaba617;hp=a58e63306e1c22d42c534653f8a3507ec0da80d4;hpb=cc7dc914378987b03c4a0dd1b6ed350ac1c9a50f;p=lmno.games diff --git a/empathy/empathy.css b/empathy/empathy.css index a58e633..8a3f36c 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,6 +42,7 @@ margin-bottom: 0.25em; padding: 0; border-radius: 10px; + position: relative; } .ambiguity-button { @@ -99,3 +101,36 @@ 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; +}