1
0
Fork 0

dirty workarounds

This commit is contained in:
root 2019-05-01 22:45:12 +02:00
parent fdf4280805
commit 01b05a56d1
1 changed files with 16 additions and 10 deletions

View File

@ -148,7 +148,7 @@ footer li.current-menu-item {
nav { nav {
padding-top: 20px; padding-top: 20px;
background-color: rgba(113,140,139,0.12); background-color: rgba(113,140,139,0.12);
flex: 0 32%; flex: 0 33%;
margin-right: 3px; margin-right: 3px;
} }
section{ section{
@ -171,15 +171,18 @@ nav ul{
padding-left: 1.9em; padding-left: 1.9em;
} }
nav li .logo { nav li .logo {
display:inline-block; display: inline-block;
background-image:url('img/logo-noactive.svg'); background-image: url('img/logo-noactive.svg');
background-size:contain; background-size: contain;
background-repeat:no-repeat; background-repeat: no-repeat;
height: 35px; height: 35px;
width: 57px; width: 57px;
} }
nav li .logo+span { nav li .logo+span {
font-size:0px; display:none;
padding: 0;
margin: 0;
line-height: 23px;
} }
nav li:hover .logo { nav li:hover .logo {
background-image:url('img/logo-hover.svg'); background-image:url('img/logo-hover.svg');
@ -209,8 +212,11 @@ nav li.current-menu-item a{
margin-left: -0.7em; margin-left: -0.7em;
color:#009999; color:#009999;
} }
nav li:hover a{ nav li:hover a, nav li:hover span {
font-weight:bold; font-weight: bold;
}
nav li:hover:first-child a{
font-weight: normal;
} }
nav li .logo-mobil { nav li .logo-mobil {
display: none; display: none;
@ -366,10 +372,10 @@ section img.alignleft {
font-weight:bold; font-weight:bold;
} }
nav li .logo{ nav li .logo{
display:none; display: none;
} }
nav li .logo+span { nav li .logo+span {
font-size: 22px; display: inline;
} }
nav li .logo-mobil{ nav li .logo-mobil{
display: block; display: block;