From c7460a04c4527c8014a60bd93e8c6348be05c668 Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Sat, 6 Aug 2022 04:56:55 +0200 Subject: [PATCH] fixed header text size and weight --- theme/static/css/main.css | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 3a375c9..b97fa7f 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -64,26 +64,27 @@ body > * > * { grid-column: content } -body > header h1 { - display: inline-block; +body > header a { min-height: calc( var(--site-header-height) - 1rem ); margin: 0.5rem; border-bottom: 0 solid transparent; margin-left: auto; margin-right: auto; padding: 0; -} -body > header h1 a { + display: flex; line-height: calc( var(--site-header-height) - 1rem ); text-align: center; + + font-size: 2rem; + font-weight: 600; } -body > header h1 a span { +body > header a span { display: inline-block; line-height: calc( var(--site-header-height) - 1rem ); text-align: center; } -body > header h1 img { +body > header img { display: inline-block; height: calc(var(--site-header-height) - 1rem); } @@ -170,10 +171,7 @@ body > header h1 img { } @media only screen and (max-width: 94ch) { - body > header h1{ - /*width: 100%;*/ - } - body > header h1 a { + body > header a { justify-content: center; flex-wrap: wrap; } -- GitLab