diff --git a/src/index.html b/src/index.html index 2b4b4ed..2e50e6e 100644 --- a/src/index.html +++ b/src/index.html @@ -21,23 +21,6 @@ My name is Rupus Reinefjord and this is my own little space on the World Wide Web.

-

- I am a programmer and computer enthusiast. I love technology, - especially - free and open source software. - I am currently studying computer science at - KTH Royal Institute of Technology, and I work for a small company as an - IT administrator. -

- -

Photography

-

- My photography is available at Flickr - primarily. You can also follow me on Instagram. - 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. -

My online presence

@@ -53,22 +36,23 @@

How to contact me

- I prefer you contact me via email. Use PGP encryption if you feel like - doing so! + I prefer that you contact me via email. Use PGP encryption if you like!

Email:
- +

- Please activate javascript (or wait for it to load) to see the address. - Hint: the address is + Please activate javascript (or wait for it to load if it hasn't) to + see the address, or use the hint above to figure it out.

PGP key:
- E275 C3F0 8765 EBC3 C906 66F4 E918 999B E668 8BD2 + E275 C3F0 8765 EBC3 C906 65F4 E918 999B E668 8BD2
diff --git a/src/static/css/fonts.css b/src/static/css/fonts.css deleted file mode 100644 index ec03b0a..0000000 --- a/src/static/css/fonts.css +++ /dev/null @@ -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; -} diff --git a/src/static/css/style.css b/src/static/css/style.css index 364cbc3..079b922 100644 --- a/src/static/css/style.css +++ b/src/static/css/style.css @@ -10,15 +10,12 @@ html { } body { - font-family: serif; + background-color: #fff; + font-family: sans-serif; text-decoration-skip: ink; padding: 1rem 1rem 2rem 1rem; } -h1, h2, h3 { - font-family: sans-serif; -} - main { max-width: 36rem; margin: 0 auto; @@ -34,8 +31,8 @@ dd { } code, .email { - font-family: monospace, sans-serif; - font-size: 0.9em; + /* http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/ */ + font-family: monospace, monospace; } footer { diff --git a/src/static/fonts/firamono/FiraMono-Bold.woff b/src/static/fonts/firamono/FiraMono-Bold.woff deleted file mode 100644 index af7ec98..0000000 Binary files a/src/static/fonts/firamono/FiraMono-Bold.woff and /dev/null differ diff --git a/src/static/fonts/firamono/FiraMono-Bold.woff2 b/src/static/fonts/firamono/FiraMono-Bold.woff2 deleted file mode 100644 index 011ca7d..0000000 Binary files a/src/static/fonts/firamono/FiraMono-Bold.woff2 and /dev/null differ diff --git a/src/static/fonts/firamono/FiraMono-Regular.woff b/src/static/fonts/firamono/FiraMono-Regular.woff deleted file mode 100644 index 44e6660..0000000 Binary files a/src/static/fonts/firamono/FiraMono-Regular.woff and /dev/null differ diff --git a/src/static/fonts/firamono/FiraMono-Regular.woff2 b/src/static/fonts/firamono/FiraMono-Regular.woff2 deleted file mode 100644 index 3155608..0000000 Binary files a/src/static/fonts/firamono/FiraMono-Regular.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff b/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff deleted file mode 100644 index 387c2c7..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff2 b/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff2 deleted file mode 100644 index 2c589c5..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-BoldItalic.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff b/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff deleted file mode 100644 index 8a1556b..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff2 b/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff2 deleted file mode 100644 index 05ee67f..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-Italic.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff b/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff deleted file mode 100644 index f03bc57..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff2 b/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff2 deleted file mode 100644 index 02a80f3..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-MediumItalic.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff b/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff deleted file mode 100644 index 2c3e63e..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff2 b/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff2 deleted file mode 100644 index b1703a5..0000000 Binary files a/src/static/fonts/firasans/Normal/Italic/FiraSans-SemiBoldItalic.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff b/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff deleted file mode 100644 index bc0a9f3..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff2 b/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff2 deleted file mode 100644 index 9b59568..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Bold.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff b/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff deleted file mode 100644 index 6a29cb8..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff2 b/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff2 deleted file mode 100644 index 3c1f3f8..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Medium.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff b/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff deleted file mode 100644 index 5016f05..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff2 b/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff2 deleted file mode 100644 index 1cb1414..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-Regular.woff2 and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff b/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff deleted file mode 100644 index 6907185..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff and /dev/null differ diff --git a/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff2 b/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff2 deleted file mode 100644 index 124545a..0000000 Binary files a/src/static/fonts/firasans/Normal/Roman/FiraSans-SemiBold.woff2 and /dev/null differ diff --git a/src/static/js/common.js b/src/static/js/common.js index 284f966..6659cf9 100644 --- a/src/static/js/common.js +++ b/src/static/js/common.js @@ -2,7 +2,7 @@ function emaildecode() { var emails = document.getElementsByClassName("encoded"); for (var i = 0; i < emails.length; i++) { - var b64 = emails[i].innerHTML; + var b64 = emails[i].dataset.encoded; var decoded = window.atob(b64); emails[i].innerHTML = decoded; emails[i].href = "mailto:" + decoded; diff --git a/utils b/utils index b3aadae..85abfec 100755 --- a/utils +++ b/utils @@ -44,7 +44,7 @@ function build { function serve { cd build - python -m http.server $1 + python3 -m http.server $1 } "$@"