]> git.cworth.org Git - lmno.games/blobdiff - empathy/empathy.css
Add a "PERFECT" label for a player with a perfect score
[lmno.games] / empathy / empathy.css
index 9692274e3a7edd7eaaa4e4976d966e0c91df4cae..27d5a3d989d12cc58d95a155d169241ff549dee2 100644 (file)
@@ -7,6 +7,7 @@
     font-size: 200%;
     padding: 1em;
     margin-bottom: 0.25em;
     font-size: 200%;
     padding: 1em;
     margin-bottom: 0.25em;
+    position: relative;
 }
 
 .vote-choices {
 }
 
 .vote-choices {
 .typing.idle span {
     opacity: 0.0;
     transition-property: opacity;
 .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;
 }
 }