aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-31 15:24:44 -0300
committerEuAndreh <eu@euandre.org>2018-07-31 15:24:44 -0300
commitda4bd9d7bf7789f68b5673b37dc762f772785f07 (patch)
treec5bb0f626456f4b60858422ecd92989a5595ed29 /site
parentRenamed npm ci file (diff)
downloadeuandre.org-da4bd9d7bf7789f68b5673b37dc762f772785f07.tar.gz
euandre.org-da4bd9d7bf7789f68b5673b37dc762f772785f07.tar.xz
Fix header links position
Diffstat (limited to 'site')
-rw-r--r--site/css/styles.css4
-rw-r--r--site/templates/default.html16
2 files changed, 13 insertions, 7 deletions
diff --git a/site/css/styles.css b/site/css/styles.css
index 1d459f2..19feeaf 100644
--- a/site/css/styles.css
+++ b/site/css/styles.css
@@ -93,8 +93,10 @@ header {
}
nav {
- text-align: right;
font-family: 'Linux Biolinum',sans;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
}
nav a {
diff --git a/site/templates/default.html b/site/templates/default.html
index 0cf0130..f0e5598 100644
--- a/site/templates/default.html
+++ b/site/templates/default.html
@@ -11,12 +11,16 @@
<body>
<header>
<nav>
- <a id="home" href="/">EuAndreh's Blog</a>
- <a href="/about.html">About</a>
- <a href="/archive.html">Archive</a>
- <a href="/feed.xml">
- <img class="simple-icon" src="/images/atom.svg" alt="Blog feed" />
- </a>
+ <div id="nav-left">
+ <a href="/">EuAndreh's Blog</a>
+ </div>
+ <div id="nav-right">
+ <a href="/about.html">About</a>
+ <a href="/archive.html">Archive</a>
+ <a href="/feed.xml">
+ <img class="simple-icon" src="/images/atom.svg" alt="Blog feed" />
+ </a>
+ </div>
</nav>
</header>