diff options
| author | Nayab W <42422512+nayabw@users.noreply.github.com> | 2018-11-03 16:00:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-03 16:00:17 -0500 |
| commit | fbb552335a7b039540700a935e23a66e9c28e657 (patch) | |
| tree | 11a1da51a29d09e72bb14863cd687b5a07b9c3d4 /style.css | |
| parent | 927cf8d07fcf28df4efa2448eac43a015cfb302b (diff) | |
| download | silicon-linux-fbb552335a7b039540700a935e23a66e9c28e657.tar.gz silicon-linux-fbb552335a7b039540700a935e23a66e9c28e657.tar.bz2 silicon-linux-fbb552335a7b039540700a935e23a66e9c28e657.zip | |
Responsive Design
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -92,3 +92,31 @@ li a:hover { padding: 0; } + +.navigation .icon { + display: none; +} + + + @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 |
