From a845af4b3f697e6e64e848c687b0430054cbb259 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 26 Nov 2020 02:12:33 +0100 Subject: [PATCH] 1.0.0_dev-11260212 --- public/assets/css/style.css | 41 +++++++++++++++++++++++++++++++++++++ public/index.html | 3 ++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/public/assets/css/style.css b/public/assets/css/style.css index 27cda5c..b768539 100644 --- a/public/assets/css/style.css +++ b/public/assets/css/style.css @@ -66,6 +66,10 @@ main > div { opacity: .3; } +h1 { + font-size: 2em; +} + h2 { font-weight: normal; font-size: 1.42em; @@ -180,4 +184,41 @@ nav a:hover { #myface img { height: 100%; +} + +@media screen and (max-width: 800px) { + + h1 { + font-size: 7vw; + } + + h2 { + font-size: 5vw; + } + + main { + max-width: unset; + background-size: auto 100vw; + } + + #intro { + width: initial; + padding: 10vw; + text-align: center; + } + + #intro p { + text-align: justify; + } + + #myface { + display: none; + } + + nav a { + text-decoration: none; + margin-right: 5vw; + font-size: 5vw; + } + } \ No newline at end of file diff --git a/public/index.html b/public/index.html index 04d3003..784de8b 100644 --- a/public/index.html +++ b/public/index.html @@ -4,6 +4,7 @@ + Victor Westerlund @@ -19,7 +20,7 @@

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

+

Programming languages: JavaScript, PHP, SQL & Python