]> git.cworth.org Git - lmno.games/blobdiff - empathy/empathy.css
Add some autofocus attributes
[lmno.games] / empathy / empathy.css
index 9692274e3a7edd7eaaa4e4976d966e0c91df4cae..a32f2de96fa2f2843eeb3b4e602d6c43bb03542a 100644 (file)
@@ -7,6 +7,7 @@
     font-size: 200%;
     padding: 1em;
     margin-bottom: 0.25em;
+    position: relative;
 }
 
 .vote-choices {
     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 {
 .typing.idle span {
     opacity: 0.0;
     transition-property: opacity;
-    transition-duration: 6s;
-    transition-delay: 3s;
+    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;
 }