diff --git a/static/css/styles.css b/static/css/styles.css index 7486016..ba58018 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -15,6 +15,22 @@ 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% {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;} +} + +@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;} } body { diff --git a/static/img/cursor-1.png b/static/img/cursor-1.png new file mode 100644 index 0000000..68fbe5c Binary files /dev/null and b/static/img/cursor-1.png differ diff --git a/static/img/cursor-2.png b/static/img/cursor-2.png new file mode 100644 index 0000000..9851648 Binary files /dev/null and b/static/img/cursor-2.png differ