mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
Merge pull request #121 from offen/icon-fix
fix icon and update index title
This commit is contained in:
commit
5ced5dfc13
@ -1,4 +1,4 @@
|
|||||||
Title: Transparent web analytics | offen
|
Title: Transparent web analytics for everyone | offen
|
||||||
description: offen is a free and open source analytics software for websites and web applications that allows respectful handling of data.
|
description: offen is a free and open source analytics software for websites and web applications that allows respectful handling of data.
|
||||||
save_as: index.html
|
save_as: index.html
|
||||||
href: /
|
href: /
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;(function ($) {
|
;(function ($) {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$(window).scroll(function () {
|
$(window).scroll(function () {
|
||||||
if ($(window).width() > 960) {
|
if ($(window).width() > 480) {
|
||||||
var scrollProgress = parseInt($(window).scrollTop(), 10)
|
var scrollProgress = parseInt($(window).scrollTop(), 10)
|
||||||
$('body.index .icon').css('opacity', Math.min(scrollProgress / 100, 1))
|
$('body.index .icon').css('opacity', Math.min(scrollProgress / 100, 1))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user