From: Sven Date: Wed, 3 May 2017 12:05:22 +0000 (+0200) Subject: Bug 11327: fixed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d40f9b8d63f882d6273bc43f813f22c3fcff3857;p=ipfire.org.git Bug 11327: fixed --- diff --git a/static/css/style.css b/static/css/style.css index d2de598c..9e256be2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4,7 +4,7 @@ * Copyright 2011-2017 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,700"); +@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500"); /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; diff --git a/static/js/site-min.js b/static/js/site-min.js index 1b912a8f..408634ae 100644 --- a/static/js/site-min.js +++ b/static/js/site-min.js @@ -1 +1 @@ -function getCookie(o){var e=document.cookie.match("\\b"+o+"=([^;]*)\\b");return e?e[1]:void 0}$("#scrollto").click(function(){$("html, body").animate({scrollTop:$("#features").offset().top-72},1500,"easeInOutExpo")}),$(document).ready(function(){$(window).scroll(function(){$(document).scrollTop()>100?($(".fixed-top").addClass("scrolled"),$(".menu-text").addClass("hidden")):($(".fixed-top").removeClass("scrolled"),$(".menu-text").removeClass("hidden"))})}),$.query=function(o){return new RegExp("[\\?&]"+o+"=([^&#]*)").exec(window.location.href)[1]||0},$("a.download-splash").click(function(o){o.preventDefault(),linkLocation=this.href,window.location="http://downloads.ipfire.org/download-splash?file="+linkLocation}),/.*download-splash.*/i.test(window.location.href)&&$("p.download-path").ready(function(){var o=!1,e=["http://downloads.ipfire.org/"],n=$.query("file");for(i in e)prefix=e[i],n.substring(0,prefix.length)==prefix&&(o=!0);o&&($("p.download-path").prepend($("",{href:encodeURI(n),text:n})),setTimeout(function(){window.location=n},"2000"))}),jQuery.postJSON=function(url,args,callback){args._xsrf=getCookie("_xsrf"),$.ajax({url:url,data:$.param(args),dataType:"text",type:"POST",success:function(response){callback(eval("("+response+")"))}})}; \ No newline at end of file +function getCookie(o){var e=document.cookie.match("\\b"+o+"=([^;]*)\\b");return e?e[1]:void 0}$(document).ready(function(){$(window).scroll(function(){$(document).scrollTop()>100?($(".fixed-top").addClass("scrolled"),$(".menu-text").addClass("hidden")):($(".fixed-top").removeClass("scrolled"),$(".menu-text").removeClass("hidden"))}),$("#scrollto").click(function(){$("html, body").animate({scrollTop:$("#features").offset().top-72},1500,"easeInOutExpo")})}),$.query=function(o){return new RegExp("[\\?&]"+o+"=([^&#]*)").exec(window.location.href)[1]||0},$("a.download-splash").click(function(o){o.preventDefault(),linkLocation=this.href,window.location="http://downloads.ipfire.org/download-splash?file="+linkLocation}),/.*download-splash.*/i.test(window.location.href)&&$("p.download-path").ready(function(){var o=!1,e=["http://downloads.ipfire.org/"],n=$.query("file");for(i in e)prefix=e[i],n.substring(0,prefix.length)==prefix&&(o=!0);o&&($("p.download-path").prepend($("",{href:encodeURI(n),text:n})),setTimeout(function(){window.location=n},"2000"))}),jQuery.postJSON=function(url,args,callback){args._xsrf=getCookie("_xsrf"),$.ajax({url:url,data:$.param(args),dataType:"text",type:"POST",success:function(response){callback(eval("("+response+")"))}})}; \ No newline at end of file diff --git a/static/js/site.js b/static/js/site.js index 1b9b8f78..6c27e83b 100644 --- a/static/js/site.js +++ b/static/js/site.js @@ -1,9 +1,3 @@ -$("#scrollto").click(function() { - $('html, body').animate({ - scrollTop: $("#features").offset().top -72 - }, 1500, 'easeInOutExpo'); -}); - $(document).ready(function () { $(window).scroll(function () { if ($(document).scrollTop() > 100) { @@ -14,6 +8,12 @@ $(document).ready(function () { $(".menu-text").removeClass("hidden"); } }); + + $("#scrollto").click(function() { + $('html, body').animate({ + scrollTop: $("#features").offset().top -72 + }, 1500, 'easeInOutExpo'); + }); }); $.query = function(name){ diff --git a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-grid.css b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-grid.css index b493d452..911e92fb 100644 --- a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-grid.css +++ b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-grid.css @@ -1,4 +1,4 @@ -@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,700"); +@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500"); @-ms-viewport { width: device-width; } diff --git a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-reboot.css b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-reboot.css index 62b41222..e0a9747f 100644 --- a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-reboot.css +++ b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap-reboot.css @@ -1,4 +1,4 @@ -@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,700"); +@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500"); /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; diff --git a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap.css b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap.css index 91079d5c..e7175654 100644 --- a/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap.css +++ b/static/scss/bootstrap-4.0.0-alpha.6/css/bootstrap.css @@ -4,7 +4,7 @@ * Copyright 2011-2017 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,700"); +@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,400,500"); /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; diff --git a/static/scss/bootstrap-4.0.0-alpha.6/scss/_custom.scss b/static/scss/bootstrap-4.0.0-alpha.6/scss/_custom.scss index 7584fe4d..aaf29a9d 100755 --- a/static/scss/bootstrap-4.0.0-alpha.6/scss/_custom.scss +++ b/static/scss/bootstrap-4.0.0-alpha.6/scss/_custom.scss @@ -96,7 +96,7 @@ $grid-gutter-widths: ( // Fonts -@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,700'); +@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,500'); $font-family-sans-serif: 'Ubuntu', sans-serif; $font-family-base: $font-family-sans-serif;