mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:48:05 +01:00
Add custom cursor with ICO files
This commit is contained in:
parent
51cbaed208
commit
4e9c7e0ade
5 changed files with 11 additions and 1 deletions
|
@ -742,6 +742,10 @@ body {
|
|||
background-color: #909098;
|
||||
}
|
||||
|
||||
|
||||
body {cursor: url('/static/cursor.ico'), default}
|
||||
a {cursor: url('/static/cursor-pointer.ico'), pointer}
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
|
|
BIN
css/cursor-pointer.ico
Normal file
BIN
css/cursor-pointer.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
css/cursor.ico
Normal file
BIN
css/cursor.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -695,7 +695,7 @@ body {
|
|||
font-family: ubuntu, sans-serif;
|
||||
margin: auto;
|
||||
max-width: 1920px;
|
||||
font-size: 16px;
|
||||
font-size: 16px;
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
|
@ -704,6 +704,8 @@ body {
|
|||
animation: gradient 64s ease infinite;
|
||||
background-size: 400% 400%;
|
||||
}
|
||||
body {cursor: url('/static/cursor.ico'), default}
|
||||
a {cursor: url('/static/cursor-pointer.ico'), pointer}
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0 50%;
|
||||
|
|
|
@ -102,6 +102,10 @@ h5,
|
|||
h6 {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
body {cursor: url('/static/cursor.ico'), default}
|
||||
a {cursor: url('/static/cursor-pointer.ico'), pointer}
|
||||
|
||||
.divider {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue