From bf316bb0c9b3096bb5617155e8fc007a0f541f98 Mon Sep 17 00:00:00 2001 From: Onni Hakala Date: Thu, 26 Oct 2023 11:49:58 +0200 Subject: [PATCH] Add support for both small and big logos on the frontpage --- assets/scss/custom/structure/_topbar.scss | 19 +++++++++++++++++++ layouts/partials/header.html | 13 ++++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/assets/scss/custom/structure/_topbar.scss b/assets/scss/custom/structure/_topbar.scss index 1f58e0bf..969f92c3 100644 --- a/assets/scss/custom/structure/_topbar.scss +++ b/assets/scss/custom/structure/_topbar.scss @@ -27,6 +27,25 @@ &:focus { outline: none; } + + .small { + height: 31px; + display: none; + @media (max-width: 460px) { + display: inline-block; + } + } + .big { + height: 31px; + display: none; + + @media (min-width: 461px) { + display: inline-block; + } + } + + + } #navigation { &.toggle-menu { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 14f0b99f..1f549092 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,9 +3,16 @@