fixes and changes.

This commit is contained in:
Rupus Reinefjord 2019-01-03 18:27:53 +01:00
parent a1388e6e82
commit f2f24c1d8f
25 changed files with 13 additions and 87 deletions

View file

@ -21,23 +21,6 @@
My name is Rupus Reinefjord and this is my own little space on the My name is Rupus Reinefjord and this is my own little space on the
World Wide Web. World Wide Web.
</p> </p>
<p>
I am a programmer and computer enthusiast. I love technology,
especially <a href="https://en.wikipedia.org/wiki/Free_and_open-source_software">
free and open source</a> software.
I am currently studying computer science at
KTH Royal Institute of Technology, and I work for a small company as an
IT administrator.
</p>
<h2>Photography</h2>
<p>
My photography is available at <a href="https://www.flickr.com/photos/koltrast_">Flickr</a>
primarily. You can also follow me on <a href="https://www.instagram.com/rupusreinefjord/">Instagram</a>.
I mostly take photos of nature, but mix it up with whatever I happen to
see while carrying my camera. I use a Nikon D7100 with a Nikkor 18-140mm
kit lens. It works for most purposes.
</p>
<h2>My online presence</h2> <h2>My online presence</h2>
<dl> <dl>
@ -53,22 +36,23 @@
<h2>How to contact me</h2> <h2>How to contact me</h2>
<p> <p>
I prefer you contact me via email. Use PGP encryption if you feel like I prefer that you contact me via email. Use PGP encryption if you like!
doing so!
</p> </p>
<dl> <dl>
<dt>Email:</dt> <dt>Email:</dt>
<dd> <dd>
<a href="mailto:firstname(at)lastname(dot)net" class="email encoded">cnVwdXNAcmVpbmVmam9yZC5uZXQK</a> <a href="mailto:firstname(at)lastname(dot)net" class="email encoded" data-encoded="cnVwdXNAcmVpbmVmam9yZC5uZXQK">
firstname(at)lastname(dot)net
</a>
<p class="nojs"> <p class="nojs">
Please activate javascript (or wait for it to load) to see the address. Please activate javascript (or wait for it to load if it hasn't) to
Hint: the address is <span class="email">firstname(at)lastname(dot)net</span> see the address, or use the hint above to figure it out.
</p> </p>
</dd> </dd>
<dt>PGP key:</dt> <dt>PGP key:</dt>
<dd> <dd>
<a href="/static/rupusreinefjord_pubkey.asc"> <a href="/static/rupusreinefjord_pubkey.asc">
<code>E275 C3F0 8765 EBC3 C906 66F4 E918 999B E668 8BD2</code> <code>E275 C3F0 8765 EBC3 C906 65F4 E918 999B E668 8BD2</code>
</a> </a>
</dd> </dd>
</dl> </dl>

View file

@ -1,55 +0,0 @@
@font-face {
font-family: "Fira Sans";
src: url('/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff2') format('woff2'),
url('/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "Fira Sans";
src: url('/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff2') format('woff2'),
url('/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Fira Sans";
src: url('/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff2') format('woff2'),
url('/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 600;
font-display: swap;
}
@font-face {
font-family: "Fira Sans";
src: url('/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff2') format('woff2'),
url('/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Fira Mono";
src: url('/static/fonts/firamono/FiraMono-Regular.woff2') format('woff2'),
url('/static/fonts/firamono/FiraMono-Regular.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 400;
font-display: swap;
}
@font-face {
font-family: "Fira Mono";
src: url('/static/fonts/firamono/FiraMono-Bold.woff2') format('woff2'),
url('/static/fonts/firamono/FiraMono-Bold.woff') format('woff');
unicode-range: U+0-FF,U+131,U+152,U+153,U+2BB,U+2BC,U+2C6,U+2DA,U+2DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
font-weight: 600;
font-display: swap;
}

View file

@ -10,15 +10,12 @@ html {
} }
body { body {
font-family: serif; background-color: #fff;
font-family: sans-serif;
text-decoration-skip: ink; text-decoration-skip: ink;
padding: 1rem 1rem 2rem 1rem; padding: 1rem 1rem 2rem 1rem;
} }
h1, h2, h3 {
font-family: sans-serif;
}
main { main {
max-width: 36rem; max-width: 36rem;
margin: 0 auto; margin: 0 auto;
@ -34,8 +31,8 @@ dd {
} }
code, .email { code, .email {
font-family: monospace, sans-serif; /* http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/ */
font-size: 0.9em; font-family: monospace, monospace;
} }
footer { footer {

View file

@ -2,7 +2,7 @@ function emaildecode() {
var emails = document.getElementsByClassName("encoded"); var emails = document.getElementsByClassName("encoded");
for (var i = 0; i < emails.length; i++) { for (var i = 0; i < emails.length; i++) {
var b64 = emails[i].innerHTML; var b64 = emails[i].dataset.encoded;
var decoded = window.atob(b64); var decoded = window.atob(b64);
emails[i].innerHTML = decoded; emails[i].innerHTML = decoded;
emails[i].href = "mailto:" + decoded; emails[i].href = "mailto:" + decoded;

2
utils
View file

@ -44,7 +44,7 @@ function build {
function serve { function serve {
cd build cd build
python -m http.server $1 python3 -m http.server $1
} }
"$@" "$@"