Merge pull request 'Add Custom Cursors' (#38) from Korbs/poketube:main into main

Reviewed-on: https://codeberg.org/Ashley/poketube/pulls/38
This commit is contained in:
Ashley 2023-10-02 16:03:30 +00:00
commit cf1879d63e
6 changed files with 15 additions and 2 deletions

View file

@ -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

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;
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%;

View file

@ -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;
}

View file

@ -33,7 +33,10 @@
"toobusy-js": "^0.5.1"
},
"engines": {
"node": "16.x"
"node": ">=18.0.0",
"yarn": ">=1.22.0",
"pnpm": "Please use NPM or Yarn instead",
"bun": "Please use NPM or Yarn instead"
},
"repository": {
"url": "https://github.com/ashpotter/poketube"