Fix navigation (#73)
* Fix hamburger menu for RTL
* Better css rules hierarchy for navigation
| | |
| | | font-size: 1.4rem; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .navigation-list { |
| | | float: right; |
| | |
| | | border-bottom: solid 2px $alt-bg-color; |
| | | transition: opacity 0.25s, max-height 0.15s linear; |
| | | } |
| | | } |
| | | |
| | | .navigation-item { |
| | | float: left; |
| | | margin: 0; |
| | |
| | | margin-right: 1.0rem; |
| | | } |
| | | } |
| | | |
| | | .menu-button { |
| | | display: none; |
| | | @media only screen and (max-device-width : 768px) { |
| | | display: block; |
| | | font-size: 2.4rem; |
| | | font-weight: 400; |
| | | line-height: 6.0rem; |
| | | color: $fg-color; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | |
| | | .menu-separator { |
| | | @media only screen and (max-device-width : 768px) { |
| | | border-top: 2px solid $fg-color; |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | #menu-toggle { |
| | | display: none; |
| | |
| | | } |
| | | } |
| | | } |
| | | .menu-button { |
| | | display: none; |
| | | @media only screen and (max-device-width : 768px) { |
| | | display: block; |
| | | font-size: 2.4rem; |
| | | font-weight: 400; |
| | | line-height: 6.0rem; |
| | | color: $fg-color; |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |
| | |
| | | left: 0; |
| | | right: auto; |
| | | } |
| | | } |
| | | |
| | | .navigation-item { |
| | | float: right; |
| | | } |
| | | } |
| | | |
| | | .menu-button { |
| | | @media only screen and (max-device-width : 768px) { |
| | | float: left; |
| | | } |
| | | } |
| | | } |