aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-25 19:18:04 +0100
committersD <stoned@derpymail.org>2019-12-25 19:18:04 +0100
commit9737b4274caca7c9b1c6b97e5cee5b63ca2199a1 (patch)
tree350d8d3206936fff1f96eb11b48fc057c05ccde1 /webAO
parent099ae02dd9ff85a0ff31a93042abd2ec3e3a96c6 (diff)
add flash and shake keyframes
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/webAO/client.css b/webAO/client.css
index d18d5f3..95b6cca 100644
--- a/webAO/client.css
+++ b/webAO/client.css
@@ -79,6 +79,19 @@ img {
width: 100%;
}
+@keyframes shake {
+ 0%,100% {left: 0; }
+ 20% {left: -10%; }
+ 40% {left: +10%; }
+ 60% {left: -10%; }
+ 80% {left: +10%; }
+}
+
+@keyframes flash {
+ 0%,100% {background-color: transparent; }
+ 50% {background-color: white; }
+}
+
#client_charselect {
position: fixed;
top: 0;