add custom cursor
All checks were successful
publish.yml / publish (push) Successful in 2m51s

This commit is contained in:
2026-04-09 22:13:26 +02:00
parent 19551194c3
commit 4514bc1d8b
2 changed files with 115 additions and 0 deletions

View File

@@ -19,3 +19,33 @@ body {
a {
color: inherit;
}
@media (hover: hover) and (pointer: fine) {
html,
body,
button,
[role='button'],
input[type='submit'],
input[type='button'] {
cursor: url('/web/cursor.svg') 0 0, auto;
}
a,
button,
[role='button'],
label,
summary,
select,
input[type='checkbox'],
input[type='radio'],
input[type='submit'],
input[type='button'] {
cursor: url('/web/cursor.svg') 0 0, pointer;
}
input,
textarea,
[contenteditable='true'] {
cursor: text;
}
}