Add photos!

This commit is contained in:
Rupus Reinefjord 2023-03-04 15:30:25 +01:00
parent c7711ee512
commit 1e009617dd
3 changed files with 85 additions and 1 deletions

View file

@ -31,7 +31,7 @@
}
.asterism, footer {
margin: 2rem 0;
margin: 25px 0;
text-align: center;
}
@ -76,6 +76,13 @@
<li><a href="/blog/2022-12-05_buggy-trackpoint.html"><small>2022-12-05: </small>Workaround for broken TrackPoint</a></li>
<li><a href="/blog/2022-05-09_this-website.html"><small>2022-05-09: </small>This website</a></li>
</ul>
<div class="asterism"></div>
<h2>Photography</h2>
<ul>
<li><a href="/photos/2023/index.html">2023</a></li>
</ul>
</main>
<footer>&#10086;</footer>

BIN
public/photos/2023/DSCF4917.JPG Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 MiB

View file

@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png" sizes="196x196">
<title>Photography</title>
<style>
* {
box-sizing: border-box;
overflow-wrap: break-word;
word-wrap: break-word; /* legacy */
word-break: break-word; /* for WebKit/Chrome */
}
main {
max-width: 40rem;
margin: 0 auto;
}
code, .email {
font-family: monospace, monospace;
}
#gpg-fingerprint {
font-size: small;
}
.asterism, footer {
margin: 2rem 0;
text-align: center;
}
li {
margin: 5px 0;
}
img {
max-width: 100%;
margin: 0 auto;
display: block;
}
</style>
</head>
<body>
<main>
<p><a href="/">Index</a></p>
<h1>Photos of 2023</h1>
<p>
<i>2023-03-03:</i> The light outside looked interesting and I felt like
taking some photos. It was a lot more cold and rainy than what I was
expecting, so I didn't stay outside for long.
</p>
<a href="DSCF4917.JPG@1000"><img src="DSCF4917.JPG@500" width=500 alt="Edsviken at dusk."></a>
</main>
<footer>&#10086;</footer>
<script>
function emaildecode() {
var emails = document.getElementsByClassName("encoded");
for (var i = 0; i < emails.length; i++) {
var b64 = emails[i].dataset.encoded;
var decoded = window.atob(b64);
emails[i].innerHTML = decoded;
emails[i].href = "mailto:" + decoded;
}
}
emaildecode();
</script>
</body>
</html>