custom cursors

This commit is contained in:
Rhiannon Morris 2025-02-17 03:19:41 +01:00
parent 25f0398664
commit 786909dac2
5 changed files with 22 additions and 1 deletions

BIN
media/hand.2x.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/hand.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/tail.2x.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
media/tail.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -21,8 +21,17 @@ actually exists
min-height: 100lvh; min-height: 100lvh;
margin: 0; margin: 0;
scrollbar-gutter: stable; scrollbar-gutter: stable;
cursor:
image-set("../media/tail.png" 1x, "../media/tail.2x.png" 2x) 34 1,
auto;
--pointer:
image-set("../media/hand.png" 1x, "../media/hand.2x.png" 2x) 31 1,
auto;
} }
a { cursor: var(--pointer); }
:root { :root {
font-size: large; font-size: large;
@ -90,7 +99,7 @@ actually exists
} }
} }
input, label { cursor: pointer; } input, label { cursor: var(--pointer); }
input { input {
appearance: none; appearance: none;