mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
css change and others
This commit is contained in:
parent
18f63aff63
commit
021a3789a5
3 changed files with 9 additions and 5 deletions
|
@ -118,7 +118,7 @@ footer {
|
|||
|
||||
.language-item {
|
||||
display: block;
|
||||
background-color: #3b3b3b;
|
||||
background-color: #2b2b2b;
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
transition: background-color 0.3s, transform 0.2s;
|
||||
|
@ -127,7 +127,7 @@ footer {
|
|||
}
|
||||
|
||||
.language-item:hover {
|
||||
background-color: #4d4d4d;
|
||||
background-color: #3b3b3b;
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,11 @@ function lan() {
|
|||
const borderColor = statusColors[data.discord_status] || statusColors.offline;
|
||||
pfpElem.style.borderColor = borderColor;
|
||||
|
||||
statusElem.innerHTML = `<strong class="quote">"${status ? status.state : "No Custom Status"}"</strong> - zyqunix`;
|
||||
if (status) {
|
||||
statusElem.innerHTML = `<strong class="quote">"${status.state}"</strong> - zyqunix`;
|
||||
} else {
|
||||
statusElem.innerHTML = `<strong class="quote">Empty void. Nothingness.</strong>`;
|
||||
}
|
||||
|
||||
if (gameActivity) {
|
||||
activityNameElem.innerHTML = `<strong>Playing</strong> ${gameActivity.name}: ${gameActivity.details}, ${gameActivity.state}`;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{
|
||||
"name": "JavaScript",
|
||||
"url": "https://www.javascript.com/",
|
||||
"tooltip": "Its syntax pisses me off sometimes",
|
||||
"tooltip": "Fun language the cleanest syntax after C",
|
||||
"img": "https://search.im-in.space/image_proxy?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6a%2FJavaScript-logo.png%2F640px-JavaScript-logo.png&h=bc8b69a465219df76ce937bf1c6e32deda0d982f1fa0bf41d13f51b58ccef960"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue