Left nav no longer uses tables

This commit is contained in:
Sky Johnson 2024-12-13 12:47:29 -06:00
parent 2b53868f52
commit 61ae46714d
2 changed files with 14 additions and 13 deletions

View File

@ -31,6 +31,14 @@ main {
margin-bottom: 0.5rem;
}
main > section {
padding: 4px;
}
main > section > section:not(:last-child) {
margin-bottom: 2rem;
}
main section#left {
width: 180px;
border-right: solid 2px black;
@ -107,7 +115,6 @@ a:hover {
background-color: #eeeeee;
font-weight: bold;
padding: 5px;
margin: 3px;
font-size: 1.2rem;
font-family: 'Times New Roman', Times, serif;
}

View File

@ -16,26 +16,20 @@ $template = <<<HTML
</form>
</section>
<table width="100%">
<tr><td class="title"><img src="/img/button_towns.gif" alt="Towns" title="Towns" /></td></tr>
<tr><td>
<section>
<div class="title"><img src="/img/button_towns.gif" alt="Towns" title="Towns"></div>
{{currenttown}}
Travel To:<br>
{{townslist}}
</td></tr>
</table>
</section>
<br>
<table width="100%">
<tr><td class="title"><img src="/img/button_functions.gif" alt="Functions" title="Functions" /></td></tr>
<tr><td>
<section>
<div class="title"><img src="/img/button_functions.gif" alt="Functions" title="Functions"></div>
<a href="/">Home</a><br>
{{forumslink}}
{{adminlink}}
<a href="users.php?do=changepassword">Change Password</a><br>
<a href="login.php?do=logout">Log Out</a><br>
<a href="help.php">Help</a>
</td></tr>
</table>
</section>
HTML;