mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 15:03:43 +00:00
Add cursor hotspot coordinates to CSS files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -103,8 +103,8 @@ h6 {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
body {cursor: url('/static/cursor.ico'), default}
|
||||
a {cursor: url('/static/cursor-pointer.ico'), pointer}
|
||||
body {cursor: url('/static/cursor.ico') 2 0, default}
|
||||
a {cursor: url('/static/cursor-pointer.ico') 14 0, pointer}
|
||||
|
||||
.divider {
|
||||
flex-grow: 1;
|
||||
|
||||
Reference in New Issue
Block a user