diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/styles.css | 47 |
1 files changed, 26 insertions, 21 deletions
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; + } } } |
