terra update
This commit is contained in:
parent
4c81aff165
commit
0c0fb6d4fd
25
nav.css
25
nav.css
|
@ -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%;
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
@media only screen and (min-width: 576px) {
|
|
||||||
#nav {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
#main {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
bottom: 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; }
|
||||||
}
|
}
|
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
18
src/main.rs
18
src/main.rs
|
@ -80,12 +80,11 @@ fn generate_servershtml(config: &ListgenConfig) -> String {
|
||||||
<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">
|
||||||
|
@ -142,12 +141,11 @@ fn generate_serviceslist(config: &ListgenConfig) -> String {
|
||||||
<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">
|
||||||
|
|
Loading…
Reference in New Issue