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