From 0b8883c236a06a14e5e6958ed47f89729b0e41aa Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Thu, 15 Aug 2024 00:31:13 -0700 Subject: update about page and fix blinking cursor seizure --- static/css/styles.css | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'static/css') diff --git a/static/css/styles.css b/static/css/styles.css index 886052e..e7a0efc 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -16,33 +16,38 @@ padding: 0; color: var(--text-color); font-family: "ComicSans", sans-serif; - - cursor: url("/static/img/cursor-1.png"), auto; - -webkit-animation: cursor 400ms infinite; - animation: cursor 400ms infinite; } -@-webkit-keyframes cursor { - 0% { +/* i just cannot get this to look good on firefox... */ +@supports not (-moz-appearance: none) { + * { cursor: url("/static/img/cursor-2.png"), auto; + -webkit-animation: cursor 400ms infinite; + animation: cursor 400ms infinite; } - 50% { - cursor: url("/static/img/cursor-1.png"), auto; - } - 100% { - cursor: url("/static/img/cursor-2.png"), auto; - } -} -@keyframes cursor { - 0% { - cursor: url("/static/img/cursor-2.png"), auto; - } - 50% { - cursor: url("/static/img/cursor-1.png"), auto; + @-webkit-keyframes cursor { + 0% { + cursor: url("/static/img/cursor-2.png"), auto; + } + 50% { + cursor: url("/static/img/cursor-1.png"), auto; + } + 100% { + cursor: url("/static/img/cursor-2.png"), auto; + } } - 100% { - cursor: url("/static/img/cursor-2.png"), auto; + + @keyframes cursor { + 0% { + cursor: url("/static/img/cursor-2.png"), auto; + } + 50% { + cursor: url("/static/img/cursor-1.png"), auto; + } + 100% { + cursor: url("/static/img/cursor-2.png"), auto; + } } } -- cgit v1.2.3-70-g09d2