diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2021-12-08 11:59:37 +0100 |
| commit | b0b8f7ffbf563f341745e86bfe85f080f6a8db27 (patch) | |
| tree | c56029d1d0939d899a622c60309dfccd0b84e7bb /template | |
| parent | 2a373fcbb6dc6eb864f1c9f3351efe4b5ed2abf0 (diff) | |
| download | mitjafelicijan.com-b0b8f7ffbf563f341745e86bfe85f080f6a8db27.tar.gz | |
A bunch of changes
Diffstat (limited to 'template')
| -rwxr-xr-x | template/_meta.html | 2 | ||||
| -rwxr-xr-x | template/_navigation.html | 2 | ||||
| -rw-r--r-- | template/openring-build.html | 0 | ||||
| -rwxr-xr-x | template/script.js | 20 | ||||
| -rwxr-xr-x | template/style.css | 8 |
5 files changed, 17 insertions, 15 deletions
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 @@ | |||
| 5 | 5 | ||
| 6 | <meta name="theme-color" content="#ffffff"> | 6 | <meta name="theme-color" content="#ffffff"> |
| 7 | 7 | ||
| 8 | <link rel="stylesheet" href="/style.css?v=2021-12-07-6"> | 8 | <link rel="stylesheet" href="/style.css?v=2021-12-07-10"> |
| 9 | 9 | ||
| 10 | <link rel="alternate" type="application/rss+xml" href="/feed.rss"> | 10 | <link rel="alternate" type="application/rss+xml" href="/feed.rss"> |
| 11 | <link rel="alternate" type="application/feed+json" href="/feed.json"> | 11 | <link rel="alternate" type="application/feed+json" href="/feed.json"> |
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 @@ | |||
| 10 | <!-- <a href="/yapyap.xml" itemprop="url">YapYap</a> --> | 10 | <!-- <a href="/yapyap.xml" itemprop="url">YapYap</a> --> |
| 11 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a> | 11 | <a href="https://github.com/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url">Github</a> |
| 12 | <a href="/curriculum-vitae.html">CV</a> | 12 | <a href="/curriculum-vitae.html">CV</a> |
| 13 | |||
| 14 | <a href="https://feedbin.com/starred/28977384dcc292a0a400e36cd9bcf64e.xml" itemprop="url">Starred</a> | ||
| 13 | <a href="/feed.rss" itemprop="url">RSS Feed</a> | 15 | <a href="/feed.rss" itemprop="url">RSS Feed</a> |
| 14 | </nav> | 16 | </nav> |
| 15 | </header> | 17 | </header> |
diff --git a/template/openring-build.html b/template/openring-build.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/template/openring-build.html | |||
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 @@ | |||
| 1 | window.addEventListener('load', () => { | 1 | window.addEventListener('load', () => { |
| 2 | // dither image on mouse over replace | 2 | // dither image on mouse over replace |
| 3 | document.querySelectorAll('article img').forEach(img => { | 3 | // document.querySelectorAll('article img').forEach(img => { |
| 4 | const ditheredImage = img.src; | 4 | // const ditheredImage = img.src; |
| 5 | const originalImage = img.src.replace('.dith.gif', ''); | 5 | // const originalImage = img.src.replace('.dith.gif', ''); |
| 6 | 6 | ||
| 7 | img.addEventListener('mouseover', evt => { | 7 | // img.addEventListener('mouseover', evt => { |
| 8 | evt.target.src = originalImage; | 8 | // evt.target.src = originalImage; |
| 9 | }); | 9 | // }); |
| 10 | 10 | ||
| 11 | img.addEventListener('mouseout', evt => { | 11 | // img.addEventListener('mouseout', evt => { |
| 12 | evt.target.src = ditheredImage; | 12 | // evt.target.src = ditheredImage; |
| 13 | }); | 13 | // }); |
| 14 | }); | 14 | // }); |
| 15 | 15 | ||
| 16 | // flip CV image on mouse over | 16 | // flip CV image on mouse over |
| 17 | const cvImage = document.querySelector('.cv-picture img'); | 17 | 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 @@ | |||
| 1 | :root { | 1 | :root { |
| 2 | --base-document-width: 740px; | 2 | --base-document-width: 680px; |
| 3 | --base-font-size: 18px; | 3 | --base-font-size: 18px; |
| 4 | --base-color: #111111; | 4 | --base-color: #111111; |
| 5 | 5 | ||
| @@ -176,7 +176,7 @@ blockquote p { | |||
| 176 | 176 | ||
| 177 | .post-list li time { | 177 | .post-list li time { |
| 178 | display: block; | 178 | display: block; |
| 179 | font-size: 70%; | 179 | font-size: 80%; |
| 180 | font-weight: 500; | 180 | font-weight: 500; |
| 181 | line-height: 1.2em; | 181 | line-height: 1.2em; |
| 182 | } | 182 | } |
| @@ -300,7 +300,7 @@ article img { | |||
| 300 | position: relative; | 300 | position: relative; |
| 301 | left: -10%; | 301 | left: -10%; |
| 302 | margin: 40px auto; | 302 | margin: 40px auto; |
| 303 | border: 1px solid #eee; | 303 | /* border: 1px solid #eee; */ |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | article strong { | 306 | article strong { |
| @@ -349,7 +349,7 @@ audio { | |||
| 349 | article img { | 349 | article img { |
| 350 | max-width: 100%; | 350 | max-width: 100%; |
| 351 | position: initial; | 351 | position: initial; |
| 352 | margin: 50px auto; | 352 | margin: 20px auto; |
| 353 | } | 353 | } |
| 354 | } | 354 | } |
| 355 | 355 | ||
