Add simple nav bar

This commit is contained in:
Yarmo Mackenbach 2020-06-25 20:24:04 +02:00
parent b77830c2ef
commit b39d6c953e
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,9 @@
<header> <header>
<div class="container"> <div class="container">
<a href="/">Keyoxide</a> <a href="/">Keyoxide</a>
<div class="spacer"></div>
<a href="/verify">verify</a>
<a href="/encrypt">encrypt</a>
</div> </div>
</header> </header>

View file

@ -11,6 +11,12 @@ header {
font-size: 1.1em; font-size: 1.1em;
background-color: #fff; background-color: #fff;
} }
header .container {
display: flex;
}
header a {
margin-left: 12px;
}
footer { footer {
color: #777; color: #777;
margin: 64px 0; margin: 64px 0;
@ -24,6 +30,9 @@ footer {
padding: 16px 32px 32px; padding: 16px 32px 32px;
background-color: #fff; background-color: #fff;
} }
.spacer {
flex: 1;
}
h1 { h1 {
margin: 0; margin: 0;