diff options
| -rw-r--r-- | style.css | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ @media screen and (max-width: 600px) { - .navigation a:not(:first-child) {display: none;} - .navigation a.icon { + .nav a:not(:first-child) {display: none;} + .nav a.icon { float: right; display: block; } @@ -8,13 +8,13 @@ @media screen and (max-width: 600px) { - .navigation.responsive {position: relative;} - .navigation.responsive a.icon { + .nav.responsive {position: relative;} + .nav.responsive a.icon { position: absolute; right: 0; top: 0; } - .navigation.responsive a { + .nav.responsive a { float: none; display: block; text-align: left; @@ -116,7 +116,7 @@ li a:hover { } -.navigation .icon { +.nav .icon { display: none; } |
