diff --git a/css/style.css b/css/style.css index 5c3b121..d96d5d0 100644 --- a/css/style.css +++ b/css/style.css @@ -27,6 +27,13 @@ html { height: 100%; } +.preload * { + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + -o-transition: none !important; +} + body { cursor: default; overflow-x: hidden; @@ -548,11 +555,11 @@ footer { .toggle { display: block; } - + nav { padding-bottom: 20px; } - + ul { width: 100%; display: none; @@ -562,22 +569,22 @@ footer { display: block; text-align: center; } - + ul a - + .navbar-bot { margin-bottom: 0px; } - + ul .navbarLogo { display: none; } - + .active { display: block; } - + #photo-column { display: none; } -} \ No newline at end of file +} diff --git a/index.html b/index.html index eee038a..c4fff5c 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ -
+ diff --git a/js/main.js b/js/main.js index fc6ba38..da79fb3 100644 --- a/js/main.js +++ b/js/main.js @@ -3,13 +3,17 @@ $(document).ready(function(){ $('html, body').animate({ scrollTop: $("#quote-section").offset().top}, 1250); }); - + $('.quoteToAbout, #toAbout').click(function(){ $('html, body').animate({ scrollTop: $("#about-section").offset().top}, 1250); - }); - + }); + $('.menu').click(function() { $('ul').toggleClass('active'); }) -}); \ No newline at end of file +}); + +$(window).load(function() { + $("body").removeClass("preload"); +});