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

View file

@ -33,7 +33,10 @@
"toobusy-js": "^0.5.1" "toobusy-js": "^0.5.1"
}, },
"engines": { "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": { "repository": {
"url": "https://github.com/ashpotter/poketube" "url": "https://github.com/ashpotter/poketube"