Desktop ui done
This commit is contained in:
2 files changed
+5
-5
No files matched your search
+4
-4
@@ -3,6 +3,7 @@ body {
|
|||||||
background-color: #242424;
|
background-color: #242424;
|
||||||
font-family: 'Lexend';
|
font-family: 'Lexend';
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@@ -32,7 +33,7 @@ button:active {
|
|||||||
.top span {
|
.top span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 0;
|
top: 20px;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -73,7 +74,6 @@ button:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.desktop .list {
|
.desktop .list {
|
||||||
font-size: 16px;
|
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
margin-top: 4rem;
|
margin-top: 4rem;
|
||||||
}
|
}
|
||||||
@@ -91,8 +91,8 @@ button:active {
|
|||||||
top: -8px;
|
top: -8px;
|
||||||
left: 8px;
|
left: 8px;
|
||||||
right: 8px;
|
right: 8px;
|
||||||
height: 1px;
|
height: 0.5px;
|
||||||
background-color: rgb(128, 128, 128);
|
background-color: rgb(100, 100, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop .list .item + .item {
|
.desktop .list .item + .item {
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ function App() {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const refresh = async () => {
|
const refresh = async () => {
|
||||||
setStatus("Loading")
|
setStatus("Loading...")
|
||||||
setPlayers([]);
|
setPlayers([]);
|
||||||
try {
|
try {
|
||||||
const res = await fetch("https://berrydash.lncvrt.xyz/database/getTopPlayersAPI.php")
|
const res = await fetch("https://berrydash.lncvrt.xyz/database/getTopPlayersAPI.php")
|
||||||
|
|||||||
Reference in new issue
Block a user