Merge pull request #1 from nin0-dev/nin0-dev-w7

Update style.css
This commit is contained in:
nin0dev 2024-06-02 07:04:20 -04:00 committed by GitHub
commit db3c18cf32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 16 additions and 9 deletions

BIN
game.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
game.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

View file

@ -31,7 +31,7 @@
</div>
<br/>
<div id="presence" style="display: none; margin-bottom: 12px;">
<img src="game.png" id="presence-icon">
<img src="game.ico" id="presence-icon">
<p id="presence-content"></p>
</div>
<fieldset>
@ -59,10 +59,10 @@
</ul>
</li>
<li>
nin0-bot: A generic kitchen sink bot with basic moderation features
nin0-bot: An in-development kitchen-sink Discord Bot with moderation, fun and utility
<ul>
<li><a href="https://github.com/nin0-dev/nin0-bot">GitHub repo</a></li>
<li>In maintenance mode, plan to resume development soon</li>
<li><a href="https://github.com/nin0-dev/Sink">GitHub repo</a></li>
<li>In development</li>
</ul>
</li>
</ul>
@ -72,7 +72,12 @@
<legend>Reach out!</legend>
<ul style="margin-top: 5px; margin-bottom: 5px; padding-left: 20px;">
<li>Discord: @nin0.dev</li>
<li>Email: <a href="mailto:support@nin0.dev">support@nin0dev.com</a></li>
<li>
Email: <a href="mailto:support@nin0.dev">support@nin0.dev</a>
<ul>
<li style="font-weight:bold; color:red;">Do not email me about Rammerhead/proxy related issues. Use the <a href="https://discord.gg/VNT4E7gN5Y">support server</a>.</li>
</ul>
</li>
<li>Telegram: <a href="https://t.me/nin0dev">@nin0dev</a></li>
<li>GitHub: <a href="https://github.com/nin0-dev">nin0-dev</a></li>
</ul>

View file

@ -53,7 +53,7 @@ function onUpdate(data) {
});
document.getElementById("presence").style.display = content == "" ? "none": "flex"
document.getElementById("presence-content").innerText = content
document.getElementById("presence-icon").src = listening ? "music.png" : "game.png"
document.getElementById("presence-icon").src = listening ? "music.ico" : "game.ico"
}
LanyardWrapper.connectWebSocket("886685857560539176", onUpdate)
.catch(err => {

BIN
music.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
music.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 B

View file

@ -5,9 +5,10 @@
--offline-color: #80848e;
}
body {
background-color: #003D3D;
padding: 30px;
font-family: sans-serif !important;
font-family: "Segoe UI", "Roboto", sans-serif !important;
background-size: cover;
background-image: url(wallpaper.jpg);
}
#main-window {
max-width: 600px;
@ -28,7 +29,8 @@ body {
#pfp {
width: 90px;
height: 90px;
border-radius: 3px;
border-radius: 6px;
box-shadow: 10px black;
border-color: var(--offline-color);
border-style: solid;
border-width: 2px;

BIN
wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB