From 42bb4ad698c414dc1a84184ca9b62bec40f5acfc Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 7 Oct 2021 23:21:32 +0200 Subject: Cleanup --- template/_includes.html | 2 +- template/_meta.html | 2 +- template/script.js | 4 ---- template/style.css | 15 ++------------- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/template/_includes.html b/template/_includes.html index c0b639d..1edbce7 100755 --- a/template/_includes.html +++ b/template/_includes.html @@ -1,3 +1,3 @@ - + diff --git a/template/_meta.html b/template/_meta.html index b617f0f..a85c913 100755 --- a/template/_meta.html +++ b/template/_meta.html @@ -3,7 +3,7 @@ - + diff --git a/template/script.js b/template/script.js index 207f287..0332221 100755 --- a/template/script.js +++ b/template/script.js @@ -1,19 +1,15 @@ window.addEventListener('load', () => { // dither image on mouse over replace document.querySelectorAll('article img').forEach(img => { - const ditheredImage = img.src; const originalImage = img.src.replace('.dith.gif', ''); img.addEventListener('mouseover', evt => { evt.target.src = originalImage; - console.log('mouseover') }); img.addEventListener('mouseout', evt => { evt.target.src = ditheredImage; - console.log('mouseout') }); - }); }); diff --git a/template/style.css b/template/style.css index 8da06fd..d4c77ad 100755 --- a/template/style.css +++ b/template/style.css @@ -38,12 +38,12 @@ hr { ::selection { - background: #ff0; + background: rgb(255, 241, 177); color: #000; } ::-moz-selection { - background: #ff0; + background: rgb(255, 241, 177); color: #000; } @@ -401,17 +401,6 @@ hr { border-top: 5px solid #f7f7f7; } - -::selection { - background: #ff0; - color: #000; -} - -::-moz-selection { - background: #ff0; - color: #000; -} - /* width of the page */ .wrapper { -- cgit v1.2.3