Minor css updates

This commit is contained in:
Yann Hamon 2021-12-20 00:43:36 +01:00 committed by Yann
parent d10c9bde67
commit 607c90a0a9
22 changed files with 418 additions and 987 deletions

View file

@ -3,9 +3,13 @@
<div class="navig">
{{ with .NextInSection }} <!-- Prev & Next are switched in this version of Hugo -->
<a href="{{ .Permalink }}" id="prev">&lt; {{ .Title }}</a>
{{ else }}
<a href="#" id="prev"></a>
{{ end }}
{{ with .PrevInSection }}
<a href="{{ .Permalink }}" id="next">{{ .Title }} &gt;</a>
{{ else }}
<a href="#" id="prev"></a>
{{ end }}
</div>
@ -17,9 +21,13 @@
<div class="navig">
{{ with .NextInSection }} <!-- Prev & Next are switched in this version of Hugo -->
<a href="{{ .Permalink }}" id="prev">&lt; {{ .Title }}</a>
{{ else }}
<a href="#" id="prev"></a>
{{ end }}
{{ with .PrevInSection }}
<a href="{{ .Permalink }}" id="next">{{ .Title }} &gt;</a>
{{ else }}
<a href="#" id="prev"></a>
{{ end }}
</div>

View file

@ -1,6 +1,7 @@
<div id="header">
<ul id="navigation">
<li><a href="/about">About</a></li>
<li><a href="https://github.com/yannh/kubeconform/">Github</a></li>
<li><a href="/docs/installation/">Docs</a></li>
<li><a href="/">Home</a></li>
</ul>

View file

@ -63,11 +63,6 @@ hr {
padding: 0.5em 0 0.5em 0em;
}
#menu {
background-color: #ddd;
padding: 1em
}
#content {
display:flex;
}
@ -75,9 +70,25 @@ hr {
#menu {
flex: 15;
min-width: 15%;
padding: 2em
background-color: #ddd;
padding: 2em;
}
#menu li {
line-height: 1.9rem;
padding-bottom: 0.6rem;
}
#menu li::marker {
font-size: smaller;
}
#menu li a:hover {
text-decoration: underline;
}
#main {
flex: 85;
min-width: 0;