2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +01:00

Merge pull request #121 from offen/icon-fix

fix icon and update index title
This commit is contained in:
Hendrik Niefeld 2019-09-22 20:00:19 +02:00 committed by GitHub
commit 5ced5dfc13
2 changed files with 2 additions and 2 deletions

View File

@ -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: /

View File

@ -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))
} }