From 9286d4342fc4213d2f760896f9395bdab57c4fdd Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Mon, 17 Feb 2025 03:19:41 +0100 Subject: [PATCH] custom cursors --- media/hand.png | 3 +++ media/tail.png | 3 +++ style/base.css | 7 ++++++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 media/hand.png create mode 100644 media/tail.png diff --git a/media/hand.png b/media/hand.png new file mode 100644 index 0000000..f943df0 --- /dev/null +++ b/media/hand.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:669a1ee8a1c0a3389a41e71fc847dd8351d8a3d483751d7fbdfbfb0b68675f26 +size 705 diff --git a/media/tail.png b/media/tail.png new file mode 100644 index 0000000..f883571 --- /dev/null +++ b/media/tail.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61a24968a025a4c723732c14957481405186fa74f17f5568435c423a7dfe876e +size 1017 diff --git a/style/base.css b/style/base.css index 02b4d41..e1d3ef2 100644 --- a/style/base.css +++ b/style/base.css @@ -21,8 +21,13 @@ actually exists min-height: 100lvh; margin: 0; scrollbar-gutter: stable; + + cursor: url("../media/tail.png") 34 1, auto; + --pointer: url("../media/hand.png") 31 1, auto; } + a { cursor: var(--pointer); } + :root { font-size: large; @@ -90,7 +95,7 @@ actually exists } } - input, label { cursor: pointer; } + input, label { cursor: var(--pointer); } input { appearance: none;