fix up UI

This commit is contained in:
biglyderv 2025-02-10 20:25:30 -05:00
parent 155fc68dfe
commit 272cb06f28
Signed by: biglyderv
GPG key ID: 1398543B9746192C
3 changed files with 11 additions and 9 deletions

View file

@ -18,7 +18,7 @@ foreach ($msgs as $msg) {
<div><b> <div><b>
<?php echo htmlspecialchars($sys ? 'System User' : $msg['username']); ?> <?php echo htmlspecialchars($sys ? 'System User' : $msg['username']); ?>
</b></div> </b></div>
<div><b> <div><b class='date'>
<?php echo date(DATE_RFC2822, $msg['date'] * 0.001); ?> <?php echo date(DATE_RFC2822, $msg['date'] * 0.001); ?>
</b></div> </b></div>
</div> </div>

View file

@ -6,7 +6,7 @@
--primary-light: rgb(255, 230, 200); --primary-light: rgb(255, 230, 200);
--elem-width: min(800px, 90vw); --elem-width: min(800px, 90vw);
--elem-height: 300px; --elem-height: 300px;
--border-radius: 15px; --border-radius: 8px;
--font: system-ui, sans-serif; --font: system-ui, sans-serif;
color: var(--white); color: var(--white);
background: var(--black); background: var(--black);
@ -113,8 +113,8 @@ pre {
border-radius: var(--border-radius); border-radius: var(--border-radius);
color: var(--white); color: var(--white);
padding: .5rem; padding: .5rem;
margin-bottom: .5rem; margin-bottom: .1rem;
margin-top: .5rem; margin-top: .1rem;
text-decoration: none text-decoration: none
} }
@ -238,3 +238,7 @@ iframe {
margin-bottom: -50px; margin-bottom: -50px;
} }
.date {
font-size: 0.8em;
}

View file

@ -13,13 +13,11 @@ page_header();
Everything is crafted by the players and their interactions, under the <a class='link' href='#rules'>rules</a>. Everything is crafted by the players and their interactions, under the <a class='link' href='#rules'>rules</a>.
</p> </p>
<p> <p>
International affairs are handled via the BiglyChat community website or Discord. International affairs are handled via the BiglyChat community website.
</p> </p>
<a class="form-button" href="https://nbg.dervland.net/">BiglyChat</a> <a class="form-button" href="https://nbg.dervland.net/">BiglyChat</a>
<a class="form-button" href="/chat.php">Minecraft Feed</a> <a class="form-button" href="/chat.php">Minecraft Feed</a>
<a class="form-button" onclick="copy()" href="#">Server Address</a> <a class="form-button" onclick="copy()" href="#">Server Address</a>
<a class="form-button" href="https://dervland.net/">More Projects</a>
<a class="form-button" href="https://discord.gg/yeyJfgAYGp">Discord</a>
</div> </div>
</div> </div>
<h1>Nations</h1> <h1>Nations</h1>
@ -35,8 +33,8 @@ page_header();
<li>Land that belongs to someone else can't be looted, griefed, or built on, unless the land is vastly empty <li>Land that belongs to someone else can't be looted, griefed, or built on, unless the land is vastly empty
or inactive for 5+ days (squatting).</li> or inactive for 5+ days (squatting).</li>
<li>Claims of excessive size will not be mapped.</li> <li>Claims of excessive size will not be mapped.</li>
<li>The first nation to claim a land in a message on BiglyChat or Discord, and anyone squatting there, owns it.</li> <li>The first nation to claim a land in a message on BiglyChat, and anyone squatting there, owns it.</li>
<li>Wars must be declared on BiglyChat or Discord to be valid.</li> <li>Wars must be declared on BiglyChat to be valid.</li>
<li>In a war, each nation starts with 3 points per citizen, 3 points per settlement. These are deducted by <li>In a war, each nation starts with 3 points per citizen, 3 points per settlement. These are deducted by
player death.</li> player death.</li>
<li>To end a war, a nation must have 0 points, have surrendered, or have withdrawn.</li> <li>To end a war, a nation must have 0 points, have surrendered, or have withdrawn.</li>