summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/css/styles.css16
-rw-r--r--static/img/cursor-1.pngbin0 -> 570 bytes
-rw-r--r--static/img/cursor-2.pngbin0 -> 563 bytes
3 files changed, 16 insertions, 0 deletions
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
--- /dev/null
+++ b/static/img/cursor-1.png
Binary files differ
diff --git a/static/img/cursor-2.png b/static/img/cursor-2.png
new file mode 100644
index 0000000..9851648
--- /dev/null
+++ b/static/img/cursor-2.png
Binary files differ