]> git.cworth.org Git - lmno.games/blobdiff - empathy/empathy.css
Add display of votes on top of each prompt's vote button
[lmno.games] / empathy / empathy.css
index e8a317ea5c3dc70e403f8490c1e86c622792152e..d553597c6a4b2ca2b3f20b03d140668e5dee1bf6 100644 (file)
@@ -1 +1,31 @@
-/* Nothing to see here yet. */
+.vote-button {
+    width: 100%;
+    background-color: var(--accent-color);
+    color: var(--text-fg-on-accent);
+    text-align: left;
+    border-radius: 25px;
+    font-size: 200%;
+    padding: 1em;
+    margin-top: 0.25em;
+}
+
+.vote-choices {
+    display: flex;
+}
+
+.vote-choice {
+    font-size: 40%;
+    background-color: var(--accent-color-bright);
+    color: var(--text-fg-on-accent-bright);
+    border-radius: 4px;
+    padding-left: 4px;
+    padding-right: 4px;
+    margin-right: 0.5em;
+}
+
+@media (hover:hover) {
+    button:hover .vote-choice {
+        background-color: var(--accent-color);
+        color: var(--text-fg-on-accent);
+    }
+}