figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

commit c2a07cfd327f5937ca8a020cd5a732dd0b44b340
parent d81ddbed6c00b8c802d305daf8c4c4a335476f8d
Author: FIGBERT <figbert@figbert.com>
Date:   Sat, 23 Jan 2021 21:41:08 -0800

Simplify structure of <header>

Diffstat:
Msass/nav.sass | 21+++++++++++----------
Mtemplates/base.html | 10++++------
2 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/sass/nav.sass b/sass/nav.sass @@ -1,14 +1,15 @@ nav width: 100% + display: flex + justify-content: space-around + a + font-weight: 800 + color: inherit + &::before + content: "" + &::after + content: "" + +header padding-bottom: 1rem - div - display: flex - justify-content: space-around - a - font-weight: 800 - color: inherit - &::before - content: "" - &::after - content: "" diff --git a/templates/base.html b/templates/base.html @@ -54,13 +54,11 @@ {% block header %} <header> <nav> - <div> - {% for link in config.extra.nav %} - <a href="{{ link.path }}">{{ link.name }}</a> - {% endfor %} - </div> - <hr/> + {% for link in config.extra.nav %} + <a href="{{ link.path }}">{{ link.name }}</a> + {% endfor %} </nav> + <hr/> </header> {% endblock header %} <main>