From a7b926e48eb1a34a72c8123b44438b3d8afef224 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jun 2020 12:46:18 +0200 Subject: Add translation links in site header. Add translation links in the site header for sections and index. This also moved the header back into the base template, as it seems zola is not able to handle blocks defined in included templates. At least that's what it looked like. Didn't test much. --- sass/styles.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sass') diff --git a/sass/styles.scss b/sass/styles.scss index 0a696bf..76a75ab 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -27,16 +27,19 @@ pre { color: #ccc; font-size: 200%; } - .site-description { + .site-bar { + display: flex; + justify-content: space-between; background-color: #000; color: #ccc; font-size: x-small; } + } .page-content, .site-title, -.site-description { +.site-bar { @media(min-width: 960px) { padding-left: 5rem; padding-right: 5rem; -- cgit v1.2.3