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 { body { margin: 0; }
margin: 0;
}
body > * { body > * {
box-sizing: border-box; box-sizing: border-box;
@ -17,6 +15,7 @@ body > * {
#nav { #nav {
width: 192px; width: 192px;
height: 100%;
background-color: #cccccc; background-color: #cccccc;
position: fixed; position: fixed;
top: 0; top: 0;
@ -36,28 +35,16 @@ body > * {
color: #800000; color: #800000;
} }
.nav { .nav-section-bottom {
width: 100%; 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) { @media only screen and (max-width: 576px) {
#main, #nav { #main, #nav {
position: initial; position: initial;
width: 100%; 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 id="nav">
<div class="nav-section"> <div class="nav-section">
<span>"Navigation"</span> <span>"Navigation"</span>
<a class="nav-item" href="/">"About"</a> <a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="services.html">"Services"</a> <a class="nav-item" href="/services.html">"Services"</a>
<a class="nav-item" href="servers.html">"Machines"</a> <a class="nav-item" href="/servers.html">"Machines"</a>
</div> </div>
<div class="nav-section"> <div class="nav-section nav-section-bottom">
<span>"another entry"</span> "Free now and forever."
<a class="nav-item" href="example">"example"</a>
</div> </div>
</div> </div>
<div id="main"> <div id="main">
@ -141,13 +140,12 @@ fn generate_serviceslist(config: &ListgenConfig) -> String {
<div id="nav"> <div id="nav">
<div class="nav-section"> <div class="nav-section">
<span>"Navigation"</span> <span>"Navigation"</span>
<a class="nav-item" href="/">"About"</a> <a class="nav-item" href="/">"About"</a>
<a class="nav-item" href="services.html">"Services"</a> <a class="nav-item" href="/services.html">"Services"</a>
<a class="nav-item" href="servers.html">"Machines"</a> <a class="nav-item" href="/servers.html">"Machines"</a>
</div> </div>
<div class="nav-section"> <div class="nav-section nav-section-bottom">
<span>"another entry"</span> "Free now and forever."
<a class="nav-item" href="example">"example"</a>
</div> </div>
</div> </div>
<div id="main"> <div id="main">