From 01b05a56d14f939aed56566385ae909a140a4352 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 May 2019 22:45:12 +0200 Subject: [PATCH] dirty workarounds --- style.css | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index a20f794..f21e7d3 100644 --- a/style.css +++ b/style.css @@ -148,7 +148,7 @@ footer li.current-menu-item { nav { padding-top: 20px; background-color: rgba(113,140,139,0.12); - flex: 0 32%; + flex: 0 33%; margin-right: 3px; } section{ @@ -171,15 +171,18 @@ nav ul{ padding-left: 1.9em; } nav li .logo { - display:inline-block; - background-image:url('img/logo-noactive.svg'); - background-size:contain; - background-repeat:no-repeat; + display: inline-block; + background-image: url('img/logo-noactive.svg'); + background-size: contain; + background-repeat: no-repeat; height: 35px; width: 57px; } nav li .logo+span { - font-size:0px; + display:none; + padding: 0; + margin: 0; + line-height: 23px; } nav li:hover .logo { background-image:url('img/logo-hover.svg'); @@ -209,8 +212,11 @@ nav li.current-menu-item a{ margin-left: -0.7em; color:#009999; } -nav li:hover a{ - font-weight:bold; +nav li:hover a, nav li:hover span { + font-weight: bold; +} +nav li:hover:first-child a{ + font-weight: normal; } nav li .logo-mobil { display: none; @@ -366,10 +372,10 @@ section img.alignleft { font-weight:bold; } nav li .logo{ - display:none; + display: none; } nav li .logo+span { - font-size: 22px; + display: inline; } nav li .logo-mobil{ display: block;