Add custom cursor with ICO files

This commit is contained in:
Korbs 2023-10-02 11:43:48 -04:00
parent 51cbaed208
commit 4e9c7e0ade
5 changed files with 11 additions and 1 deletions

View file

@ -742,6 +742,10 @@ body {
background-color: #909098; background-color: #909098;
} }
body {cursor: url('/static/cursor.ico'), default}
a {cursor: url('/static/cursor-pointer.ico'), pointer}
p { p {
color: #fff; color: #fff;
} }

BIN
css/cursor-pointer.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
css/cursor.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -695,7 +695,7 @@ body {
font-family: ubuntu, sans-serif; font-family: ubuntu, sans-serif;
margin: auto; margin: auto;
max-width: 1920px; max-width: 1920px;
font-size: 16px; font-size: 16px;
display: flex; display: flex;
min-height: 100vh; min-height: 100vh;
flex-direction: column; flex-direction: column;
@ -704,6 +704,8 @@ body {
animation: gradient 64s ease infinite; animation: gradient 64s ease infinite;
background-size: 400% 400%; background-size: 400% 400%;
} }
body {cursor: url('/static/cursor.ico'), default}
a {cursor: url('/static/cursor-pointer.ico'), pointer}
@keyframes gradient { @keyframes gradient {
0% { 0% {
background-position: 0 50%; background-position: 0 50%;

View file

@ -102,6 +102,10 @@ h5,
h6 { h6 {
color: var(--text-primary); color: var(--text-primary);
} }
body {cursor: url('/static/cursor.ico'), default}
a {cursor: url('/static/cursor-pointer.ico'), pointer}
.divider { .divider {
flex-grow: 1; flex-grow: 1;
} }