Move links to topnav
Anirudh Oppiliappan x@icyphox.sh
Sun, 24 Jan 2021 09:16:19 +0530
3 files changed,
18 insertions(+),
35 deletions(-)
M
config.yaml
→
config.yaml
@@ -1,10 +1,18 @@
title: icyphox's blog header: | - <section class="hero"> + <div class="topnav"> <a href=/> <img class="logo" src="/static/white.svg" alt="icyphox's avatar"/> </a> - </section> + <nav> + <a href="/about">about</a> + · + <a href="/uses">uses</a> + · + <a href="/friends">friends</a> + </nav> + </div> + siteurl: "https://icyphox.sh" rssprefixurl: "https://icyphox.sh/blog/" description: "Computers, security and computer security."@@ -13,16 +21,6 @@ author:
name: "Anirudh Oppiliappan" email: "x@icyphox.sh" footer: | - <hr> - <section> - <p> - <a href="/about">about</a> - · - <a href="/uses">uses</a> - · - <a href="/friends">friends</a> - </p> - </section> <section class="icons"> <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"> <img class="footimgs" alt="cc nc-by-sa" src="/static/cc.svg">
M
static/style.css
→
static/style.css
@@ -44,7 +44,7 @@ background: #eee;
color: var(--dark); } -article a, a:hover, footer a { +article a, a:hover, footer a, header a { color: inherit; background: 0; text-decoration: underline;@@ -235,21 +235,9 @@ letter-spacing: 0.3em;
padding-left: 0.3em; } -.hero { - float: left; -} - -header { - width: 100%; - text-align: left; -} - -header a { - margin-right: 20px; -} - -header a:last-child { - margin-right: 0 +nav { + padding-top: 14px; + float: right; } .muted {@@ -351,7 +339,6 @@ cursor: pointer;
} .post-date { - float: left; color: var(--gray); }
M
templates/text.html
→
templates/text.html
@@ -32,13 +32,11 @@ <div class="content">
<header> {{ .Cfg.Header }} </header> - <!--<section style="float: right"> - view in <a href="/txt/{{ .Fm.URL }}.txt">plain-text</a> - </section>--> - <section class="post-date"> - {{ .Fm.Date }} - </section> <article style="clear: both" align="left"> + <section class="post-date"> + {{ .Fm.Date }} + </section> + <h1>{{ .Fm.Title }}</h1> <h2 class="subtitle">{{ .Fm.Subtitle }}</h2> {{ .Fm.Body }}