From 3b7bb630d0fc947433f1560ee17d802fb567b2d2 Mon Sep 17 00:00:00 2001 From: Dirk Sarpe <dsarpe@posteo.de> Date: Fri, 7 Jul 2017 13:00:45 +0200 Subject: [PATCH] reduce load no seconds no animated progress bar --- template.html | 3 +-- website/style.css | 12 ------------ 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/template.html b/template.html index c7ea0a4..48dc25d 100644 --- a/template.html +++ b/template.html @@ -142,10 +142,9 @@ function currentTime() { var day = d.getDate(); var h = d.getHours(); var m = d.getMinutes(); - var s = d.getSeconds(); var date = (day<10 ? '0' : '') + day + '.' + (month<10 ? '0' : '') + month + '.' + d.getFullYear(); - var time = (h<10 ? '0' : '') + h + ":" + (m<10 ? '0' : '') + m + ':' + (s<10 ? '0' : '') + s; + var time = (h<10 ? '0' : '') + h + ":" + (m<10 ? '0' : '') + m; $('#date').text(date); $('#time').text(time); diff --git a/website/style.css b/website/style.css index f769cf5..5b696c3 100644 --- a/website/style.css +++ b/website/style.css @@ -196,19 +196,7 @@ footer img { background: -moz-linear-gradient(left, #fed426 0%, #70b74f 50%, #558ec7 100%); background: -webkit-linear-gradient(left, #fed426 0%,#70b74f 50%,#558ec7 100%); background: linear-gradient(to right, #fed426 0%,#70b74f 50%,#558ec7 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fed426', endColorstr='#558ec7',GradientType=1 ); z-index: 999; - animation-name: gradient-counter; - animation-duration: 10s; - animation-timing-function: linear; - -webkit-animation-timing-function: linear; - animation-iteration-count: infinite; - transform: translateZ(0); -} - -@keyframes gradient-counter { - from { width: 0; } - to { width: 100%; } } .pagination-wrapper { -- GitLab