From b0b8f7ffbf563f341745e86bfe85f080f6a8db27 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 8 Dec 2021 11:59:37 +0100 Subject: A bunch of changes --- template/_meta.html | 2 +- template/_navigation.html | 2 ++ template/openring-build.html | 0 template/script.js | 20 ++++++++++---------- template/style.css | 8 ++++---- 5 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 template/openring-build.html (limited to 'template') diff --git a/template/_meta.html b/template/_meta.html index a539a6d..93f168a 100755 --- a/template/_meta.html +++ b/template/_meta.html @@ -5,7 +5,7 @@ - + diff --git a/template/_navigation.html b/template/_navigation.html index a4c072d..d484fdd 100755 --- a/template/_navigation.html +++ b/template/_navigation.html @@ -10,6 +10,8 @@ CV + + diff --git a/template/openring-build.html b/template/openring-build.html new file mode 100644 index 0000000..e69de29 diff --git a/template/script.js b/template/script.js index ad98600..4c508ed 100755 --- a/template/script.js +++ b/template/script.js @@ -1,17 +1,17 @@ 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', ''); + // 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; - }); + // img.addEventListener('mouseover', evt => { + // evt.target.src = originalImage; + // }); - img.addEventListener('mouseout', evt => { - evt.target.src = ditheredImage; - }); - }); + // img.addEventListener('mouseout', evt => { + // evt.target.src = ditheredImage; + // }); + // }); // flip CV image on mouse over const cvImage = document.querySelector('.cv-picture img'); diff --git a/template/style.css b/template/style.css index 972c8f0..aa0be85 100755 --- a/template/style.css +++ b/template/style.css @@ -1,5 +1,5 @@ :root { - --base-document-width: 740px; + --base-document-width: 680px; --base-font-size: 18px; --base-color: #111111; @@ -176,7 +176,7 @@ blockquote p { .post-list li time { display: block; - font-size: 70%; + font-size: 80%; font-weight: 500; line-height: 1.2em; } @@ -300,7 +300,7 @@ article img { position: relative; left: -10%; margin: 40px auto; - border: 1px solid #eee; + /* border: 1px solid #eee; */ } article strong { @@ -349,7 +349,7 @@ audio { article img { max-width: 100%; position: initial; - margin: 50px auto; + margin: 20px auto; } } -- cgit v1.2.3