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