1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-06-25 06:27: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

@ -684,6 +684,11 @@
font-display: swap;
}
:root {
--default-cursor: url('/static/cursor.ico') 2 0, default;
--pointer-cursor: url('/static/cursor-pointer.ico') 14 0, pointer;
}
html {
min-height: 100%;
}
@ -700,7 +705,7 @@ body {
flex-direction: column;
justify-content: flex-start;
}
body {cursor: url('/static/cursor.ico'), default}
body {cursor: var(--default-cursor)}
a,
btn,
@ -710,8 +715,8 @@ select,
button,
summary,
span > a,
li > a {cursor: url('/static/cursor-pointer.ico'), pointer}
.btn {cursor: url('/static/cursor-pointer.ico'), pointer !important}
li > a {cursor: var(--pointer-cursor)}
.btn {cursor: var(--pointer-cursor) !important}
@font-face {
font-family: "PokeTube Flex";
@ -765,7 +770,7 @@ button[type="submit"] {
border: 2px #612153 solid;
border-radius: 24px;
padding: 8px 10px;
cursor: pointer;
cursor: var(--pointer-cursor);
}
button[type="submit"]:hover {
background: #ffffff2e;