1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-06-24 19:37:00 -04:00

Add cursor hotspot coordinates to CSS files

This commit is contained in:
Emre Özcan 2024-03-28 19:11:18 +03:00
parent c15178a5c9
commit 5f88dbbb6b
22 changed files with 49 additions and 40 deletions

View file

@ -742,8 +742,12 @@ body {
background-color: #909098;
}
:root {
--default-cursor: url('/static/cursor.ico') 2 0, default;
--pointer-cursor: url('/static/cursor-pointer.ico') 14 0, pointer;
}
body {cursor: url('/static/cursor.ico'), default}
body {cursor: var(--default-cursor)}
a,
btn,
@ -753,7 +757,7 @@ select,
button,
summary,
span > a,
li > a {cursor: url('/static/cursor-pointer.ico'), pointer !important;}
li > a {cursor: var(--pointer-cursor) !important;}
p {
color: #fff;
@ -1285,5 +1289,5 @@ nav .middle .search-bar {
}
form > .btn.btn-success:hover {
cursor: pointer;
cursor: var(--pointer-cursor);
}