Fix nav menu

This commit is contained in:
fabrixxm 2017-07-24 08:37:19 +02:00
parent 948ae4cf2c
commit f68cafa552

View file

@ -2842,10 +2842,10 @@
}
/* Nav */
#nav > ul { display: inline-block; padding:0; margin: 0; }
#nav > ul > li { display: inline-block; }
#nav > ul > li .sub-menu { display: none; }
#nav > ul > li:hover .sub-menu {
#nav > .menu > ul { display: inline-block; padding:0; margin: 0; }
#nav > .menu > ul > li { display: inline-block; }
#nav > .menu > ul > li .children { display: none; }
#nav > .menu > ul > li:hover .children {
display: block;
margin: 0;
padding: 0;
@ -2857,9 +2857,9 @@
top: 2.5em;
min-width: 100px;
}
#nav .sub-menu li { padding: 0; line-height: 2em; }
#nav .sub-menu a { color: #333; padding: 0.4em; width: 100%; text-align: left; }
#nav .sub-menu a:hover { color: #fff; background-color: #5385c1; }
#nav .children li { padding: 0; line-height: 2em; }
#nav .children a { color: #333; padding: 0.4em; width: 100%; text-align: left; }
#nav .children a:hover { color: #fff; background-color: #5385c1; }
@media screen and (max-width: 980px) {
@ -2981,6 +2981,8 @@
padding: 0;
}
#banner h1 .fk-friendica-logo-char {
color: #FEBF19;
}
@ -3009,7 +3011,6 @@
}
#banner .ribbon:hover { transform: scale(1.3, 1.3); }
#banner p {
font-size: 1em;
color: rgba(255,255,255,0.8);