Added responsive styles for small and medium nav.
authorLaury GvR <laury@gaslightmedia.com>
Thu, 9 Feb 2017 18:48:55 +0000 (13:48 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 9 Feb 2017 18:48:55 +0000 (13:48 -0500)
The navigation is now visible on medium view but we may not have
enough room on small-view.

style.css

index aea4f48..878f393 100755 (executable)
--- a/style.css
+++ b/style.css
@@ -1615,6 +1615,74 @@ a:hover .nav-title,
 .navigation-bottom .wrap {
     padding: 0;
 }
+@media screen and (max-width: 1024px) {
+    .has-header-image .custom-header-media img, 
+    .has-header-video .custom-header-media video, 
+    .has-header-video .custom-header-media iframe, 
+    .has-header-image:not(.twentyseventeen-front-page):not(.home) 
+    .custom-header-media img {
+        display: none;
+    }
+    .home .top-nav-left {
+        max-width: 100%;
+        padding: 0 10px;
+        float: left;
+    }
+    .home .top-nav-right {
+        float: none;
+        clear: both;
+        background: white;
+        border-bottom: 1px solid grey;
+    }
+    .home .top-nav-right li {
+        display: inline-block;
+        height: 30px;
+        list-style: outside none none;
+        margin: 10px 0;
+    }
+    .home .top-nav-right li::after {
+        padding: 15px;
+    }
+    .home .top-nav-right-list {
+        clear: both;
+        float: none;
+        height: 50px;
+        margin: 0 auto;
+        text-align: center;
+        width: 320px;
+    }
+    .home #top-nav {
+        background-color: white;
+        border-bottom: 2px solid black;
+        height: 90px;
+        padding-top: 7px;
+        padding-left: 0;
+        position: fixed;
+        width: 100%;
+        z-index: 9;
+    }
+    .home .site-navigation-fixed.navigation-top {
+        top: 138px;
+        padding: 6px;
+    }
+    .home .wrap .static-nav-parent {
+        left: 0;
+        position: relative;
+        font-size: 30px;
+        padding: 0 10px;
+    }
+    .home .static-nav-section > ul > li {
+        font-size: 16px;
+        padding: 0;
+    }
+    .home .navigation-top nav {
+        margin-left: 0;
+    }
+    .js .home #static-nav-top .static-nav-section > ul, 
+    .js .home #static-nav-bottom .static-nav-section > ul {
+        margin: 0;
+    }
+}
 /*--------------------------------------------------------------
 13.0 Layout
 --------------------------------------------------------------*/