terra update

This commit is contained in:
core 2023-06-13 20:26:49 -04:00
parent 4c81aff165
commit 0c0fb6d4fd
Signed by: core
GPG Key ID: FDBF740DADDCEECF
4 changed files with 19 additions and 168 deletions

27
nav.css
View File

@ -1,6 +1,4 @@
body {
margin: 0;
}
body { margin: 0; }
body > * {
box-sizing: border-box;
@ -17,6 +15,7 @@ body > * {
#nav {
width: 192px;
height: 100%;
background-color: #cccccc;
position: fixed;
top: 0;
@ -36,28 +35,16 @@ body > * {
color: #800000;
}
.nav {
width: 100%;
.nav-section-bottom {
position: absolute;
bottom: 0;
}
/*
@media only screen and (min-width: 576px) {
#nav {
position: fixed;
top: 0;
left: 0;
}
#main {
position: absolute;
top: 0;
left: 192px;
}
}
*/
@media only screen and (max-width: 576px) {
#main, #nav {
position: initial;
width: 100%;
}
#nav { height: initial; }
.nav-section-bottom{ display: hidden; }
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -79,13 +79,12 @@ fn generate_servershtml(config: &ListgenConfig) -> String {
<div id="nav">
<div class="nav-section">
<span>"Navigation"</span>
<a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="services.html">"Services"</a>
<a class="nav-item" href="servers.html">"Machines"</a>
<a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="/services.html">"Services"</a>
<a class="nav-item" href="/servers.html">"Machines"</a>
</div>
<div class="nav-section">
<span>"another entry"</span>
<a class="nav-item" href="example">"example"</a>
<div class="nav-section nav-section-bottom">
"Free now and forever."
</div>
</div>
<div id="main">
@ -141,13 +140,12 @@ fn generate_serviceslist(config: &ListgenConfig) -> String {
<div id="nav">
<div class="nav-section">
<span>"Navigation"</span>
<a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="services.html">"Services"</a>
<a class="nav-item" href="servers.html">"Machines"</a>
<a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="/services.html">"Services"</a>
<a class="nav-item" href="/servers.html">"Machines"</a>
</div>
<div class="nav-section">
<span>"another entry"</span>
<a class="nav-item" href="example">"example"</a>
<div class="nav-section nav-section-bottom">
"Free now and forever."
</div>
</div>
<div id="main">