Clicking on section titles on mobile now scrolls you far down enough to see the whole...
authorLaury GvR <laury@gaslightmedia.com>
Fri, 28 Jul 2017 19:25:35 +0000 (15:25 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 28 Jul 2017 19:25:35 +0000 (15:25 -0400)
assets/js/navigation.js
style.css

index a8c2d03..101cefa 100755 (executable)
 //            console.log(scrollTarget);
             if (scrollTarget) {
                 $('body, html').animate({
-                    scrollTop: scrollTarget.offset().top-90
+                    scrollTop: scrollTarget.offset().top-120
                 }, 300);
             }
-
         });
 
         $(".static-home-link").click(function(e) {
 //            console.log(scrollTarget);
             if (scrollTarget) {
                 $('body, html').animate({
-                    scrollTop: scrollTarget.offset().top-90
+                    scrollTop: scrollTarget.offset().top-120
                 }, 300);
             }
 
index c6d58fc..a96b220 100755 (executable)
--- a/style.css
+++ b/style.css
@@ -1556,22 +1556,27 @@ a:hover .nav-title,
 .static-nav-section .active {
 
 }
+.static-home-link:hover,
 .static-nav-link:hover {
     text-decoration: underline;
     font-weight: normal;
 }
+.static-home-link.active,
 .static-nav-link.active {
     color: black;
     font-weight: bold;
 }
+.static-home-link.active:hover,
 .static-nav-link.active:hover {
     text-decoration: underline;
     font-weight: bold;
 }
+.static-home-link:after,
 .static-nav-link.active::after {
     text-decoration: none;
     display: inline-block;
 }
+.static-home-link,
 .static-nav-link {
     color: #666666;
 }