Line 138: | Line 138: | ||
@media screen and (max-width: 1000px) { | @media screen and (max-width: 1000px) { | ||
− | .menu{ | + | .menu:not(:first-child) { |
display: none; | display: none; | ||
} | } | ||
− | + | ||
− | + | .menu li a.icon { | |
− | + | float: right; | |
− | + | display: block; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | .menu a.icon { | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 176: | Line 169: | ||
if (x.className === "menu") { | if (x.className === "menu") { | ||
x.className += " responsive"; | x.className += " responsive"; | ||
− | } else { | + | } |
+ | else { | ||
x.className = "menu"; | x.className = "menu"; | ||
} | } |
Revision as of 23:30, 17 October 2018