Refactor the navigation bar for desktop, tablet, and mobile.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 25 Apr 2018 21:01:04 +0000 (14:01 -0700)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 25 Apr 2018 21:01:04 +0000 (14:01 -0700)
commit1e84557d40896109d1537cb4dc95bf248158a548
tree8e87cd82d63b35a1b50c44b40586173f930e61fb
parentf007d006d075a7323f10b1a04daf84d97d8a9951
Refactor the navigation bar for desktop, tablet, and mobile.

Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.
media/css/main.css
media/js/main.js [new file with mode: 0644]
templates/base/base.html