terra update
This commit is contained in:
parent
4c81aff165
commit
0c0fb6d4fd
27
nav.css
27
nav.css
|
@ -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; }
|
||||
}
|
69
servers.html
69
servers.html
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
22
src/main.rs
22
src/main.rs
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue