diff --git a/css/style.css b/css/style.css index 1e950be..22887c5 100644 --- a/css/style.css +++ b/css/style.css @@ -1,5 +1,5 @@ -@import url('webfonts/OpenSans'); -@import url('webfonts/Montserrat'); +@import url('../webfonts/OpenSans-Regular.ttf'); +@import url('../webfonts/Montserrat-Regular.ttf'); body { font-family: 'Open Sans', sans-serif; diff --git a/index.html b/index.html index 788e9fe..5d8df02 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,6 @@ Anna & Dan - - diff --git a/js/scripts.js b/js/scripts.js index 5143f5a..eb34ebf 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -1,7 +1,7 @@ function scroll_to(clicked_link, nav_height) { var element_class = clicked_link.attr('href').replace('#', '.'); var scroll_to = 0; - if(element_class != '.top-content') { + if(element_class != '.home') { element_class += '-container'; scroll_to = $(element_class).offset().top - nav_height; } @@ -20,20 +20,20 @@ jQuery(document).ready(function() { scroll_to($(this), $('nav').outerHeight()); }); // toggle "navbar-no-bg" class - $('.top-content .text').waypoint(function() { + $('.home .text').waypoint(function() { $('nav').toggleClass('navbar-no-bg'); }); /* - Background slideshow + Background */ - $('.top-content').backstretch("../img/splash.jpg"); + $('.home').backstretch("../img/splash.jpg"); $('#top-navbar-1').on('shown.bs.collapse', function(){ - $('.top-content').backstretch("resize"); + $('.home').backstretch("resize"); }); $('#top-navbar-1').on('hidden.bs.collapse', function(){ - $('.top-content').backstretch("resize"); + $('.home').backstretch("resize"); }); $('a[data-toggle="tab"]').on('shown.bs.tab', function(){ diff --git a/thank-you.html b/thank-you.html index 83c6d6c..1580e7f 100644 --- a/thank-you.html +++ b/thank-you.html @@ -10,7 +10,7 @@ Anna & Dan - + @@ -50,8 +50,8 @@ - - + +