diff options
| author | Nayab W <42422512+nayabw@users.noreply.github.com> | 2018-11-03 16:24:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-03 16:24:32 -0500 |
| commit | 3fd6e576b0c5a61e9041e047758ae4368caad14a (patch) | |
| tree | c9ef02dd5f8cf74978496b23e134067027e358c4 | |
| parent | 601520e353fbedf9242a7608fc849e9b74457363 (diff) | |
| download | silicon-linux-3fd6e576b0c5a61e9041e047758ae4368caad14a.tar.gz silicon-linux-3fd6e576b0c5a61e9041e047758ae4368caad14a.tar.bz2 silicon-linux-3fd6e576b0c5a61e9041e047758ae4368caad14a.zip | |
Will this fix it?
| -rw-r--r-- | style.css | 46 |
1 files changed, 24 insertions, 22 deletions
@@ -1,3 +1,26 @@ +@media screen and (max-width: 600px) { + .navigation a:not(:first-child) {display: none;} + .navigation a.icon { + float: right; + display: block; + } + } + + + @media screen and (max-width: 600px) { + .navigation.responsive {position: relative;} + .navigation.responsive a.icon { + position: absolute; + right: 0; + top: 0; + } + .navigation.responsive a { + float: none; + display: block; + text-align: left; + } + } + body{ font-family: 'Roboto', sans-serif; background: #333; @@ -98,25 +121,4 @@ li a:hover { } - @media screen and (max-width: 600px) { - .navigation a:not(:first-child) {display: none;} - .navigation a.icon { - float: right; - display: block; - } - } - - - @media screen and (max-width: 600px) { - .navigation.responsive {position: relative;} - .navigation.responsive a.icon { - position: absolute; - right: 0; - top: 0; - } - .navigation.responsive a { - float: none; - display: block; - text-align: left; - } - }
\ No newline at end of file +
\ No newline at end of file |
