From d3da428f18cd62e420bc31fbbd10ac9b972fa4e7 Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 7 Apr 2024 08:17:02 +0300 Subject: [PATCH] Adjust masthead size --- client/src/components/Masthead/Masthead.vue | 15 ++++++++------- client/src/style/scss/theme/blue.scss | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/client/src/components/Masthead/Masthead.vue b/client/src/components/Masthead/Masthead.vue index 3b4ff0f44269..cc6680c58158 100644 --- a/client/src/components/Masthead/Masthead.vue +++ b/client/src/components/Masthead/Masthead.vue @@ -103,7 +103,7 @@ onMounted(() => { @@ -177,12 +177,12 @@ onMounted(() => { color: var(--masthead-text-hover); } &.nav-icon { - font-size: 1.3em; + font-size: 1em; .nav-note { position: absolute; - left: 1.9rem; - top: 1.9rem; - font-size: 0.6rem; + left: 1.4rem; + top: 1.4rem; + font-size: 0.4rem; font-weight: bold; } } @@ -194,11 +194,12 @@ onMounted(() => { } .navbar-brand { cursor: pointer; + line-height: $masthead-height; img { filter: $text-shadow; display: inline; border: none; - height: 2.3rem; + height: 2rem; } } .navbar-text { @@ -206,7 +207,7 @@ onMounted(() => { font-weight: bold; font-family: Verdana, sans-serif; font-size: 1rem; - line-height: 2rem; + line-height: $masthead-height; color: var(--masthead-text-color); } } diff --git a/client/src/style/scss/theme/blue.scss b/client/src/style/scss/theme/blue.scss index 724e5695192f..c9865aeb0891 100644 --- a/client/src/style/scss/theme/blue.scss +++ b/client/src/style/scss/theme/blue.scss @@ -110,7 +110,7 @@ $input-color-placeholder: $text-muted; $body-bg: $white; // Masthead -$masthead-height: 3rem; +$masthead-height: 2.5rem; // Side panels $panel-bg-color: $brand-light;