diff options
author | EuAndreh <eu@euandre.org> | 2018-07-31 15:24:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-07-31 15:24:44 -0300 |
commit | da4bd9d7bf7789f68b5673b37dc762f772785f07 (patch) | |
tree | c5bb0f626456f4b60858422ecd92989a5595ed29 /site | |
parent | Renamed npm ci file (diff) | |
download | euandre.org-da4bd9d7bf7789f68b5673b37dc762f772785f07.tar.gz euandre.org-da4bd9d7bf7789f68b5673b37dc762f772785f07.tar.xz |
Fix header links position
Diffstat (limited to 'site')
-rw-r--r-- | site/css/styles.css | 4 | ||||
-rw-r--r-- | site/templates/default.html | 16 |
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> |