From af681798f5090b6f0a3ed6f7ffd138ad0fdcd086 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 24 Nov 2020 11:36:59 +0100 Subject: [PATCH 1/5] Add a small amount of padding to navbar --- assets/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/style.scss b/assets/style.scss index 9247549..2408de0 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -59,7 +59,7 @@ figure { .nav { max-width: 1200px; margin: 0 auto; - padding: 0.25em 0; + padding: 0.5em; display: flex; flex-direction: column; @@ -78,6 +78,7 @@ figure { img { width: 48px; + display: block; } } From b3d3a80c01b1a33dae705247ed48689138a46130 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 24 Nov 2020 13:09:45 +0100 Subject: [PATCH 2/5] Add translation links to navigation --- assets/style.scss | 9 +++++++++ config.toml | 2 ++ layouts/_default/baseof.html | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/assets/style.scss b/assets/style.scss index 2408de0..36ac275 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -67,6 +67,15 @@ figure { @media screen and (min-width: 800px) { flex-direction: row; + + hr { + margin: 0 0.5em !important; + align-self: center; + } + } + + hr { + margin: 0.5em 40%; } .nav-logo { diff --git a/config.toml b/config.toml index 876f13d..2ecf144 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,8 @@ title = "franconian" [languages] [languages.en] + languageName = "English" [languages.de] + languageName = "Deutsch" [taxonomies] diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c64887b..ae7ba4e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -14,6 +14,12 @@