From 26ec726238262ebb6c199561b83aebbcc1d6c2d4 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Mon, 30 Nov 2020 07:14:18 +0100 Subject: [PATCH] 0.2.0 Pre-Release Added intro text and replaced "Programming languages" with an email address instead. I feel that "exposing" my languges as some sort of trophy is a bit bold. Got rid of the contact page "nav" for now. Altough the only thing I want to add besides e-mail is a PGP-key; I might go about it another way. More love should be put into the responsivness of this page, especially the "not_found.html" style. Not to mention Service Workers.. --- public/index.html | 6 +++--- public/not_found.html | 24 ++++++++++++++++++++++-- server.conf | 3 +-- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 784de8b..e4cc3bb 100644 --- a/public/index.html +++ b/public/index.html @@ -19,12 +19,12 @@

full-stack web developer

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla convallis, nibh sed ultrices vehicula, risus enim fermentum lacus, vitae lacinia erat arcu in magna. Sed eget aliquam diam, vitae facilisis enim. Morbi laoreet nulla sit amet eros tempor tincidunt.

-

Programming languages: JavaScript, PHP, SQL & Python

+

I create things with code, and usually design things for humans to interact with my code. I'm also a true wannabe jack of all trades; and coffee-loving non-coffee snob.

+

hello@victorwesterlund.com

diff --git a/public/not_found.html b/public/not_found.html index bd9a455..60d0235 100644 --- a/public/not_found.html +++ b/public/not_found.html @@ -19,11 +19,11 @@ } h1 { - font-size: 6em; + font-size: 8vh; } h2 { - font-size: 3em; + font-size: 4vh; } img { @@ -34,6 +34,26 @@ transform: translate(-50%); pointer-events: none; } + @media screen and (max-width: 800px) { + + .logo { + --size: 15vw; + margin-bottom: 10vw; + } + + #content { + padding: 10vw; + } + + h1 { + font-size: 10vw; + } + + h2 { + font-size: 5vw; + } + + } diff --git a/server.conf b/server.conf index c08d0a5..d0c667f 100644 --- a/server.conf +++ b/server.conf @@ -19,8 +19,7 @@ server { include snippets/ssl.conf; root /var/www/github_victorwesterlund_victorwesterlund.com/public; - - error_page 404 403 /not_found.html; + error_page 404 403 /not_found.html; location \ { try_files $uri $uri.html $uri/ =404;