From 2f1a313ca1eb9070db798612d687213426a7f3db Mon Sep 17 00:00:00 2001 From: Jack Bond-Preston Date: Mon, 26 Oct 2020 22:58:43 +0000 Subject: [PATCH] small viewports --- index.html | 2 +- style/stylesheet.css | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index d917ea0..fcaa2ea 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@

- jack bond-preston + jack bond‐preston

contact

diff --git a/style/stylesheet.css b/style/stylesheet.css index 1f69562..da415ed 100644 --- a/style/stylesheet.css +++ b/style/stylesheet.css @@ -16,10 +16,11 @@ body { background-color: rgb(12, 17, 20); color: rgb(252, 252, 252); - padding-left: 5em; - padding-top: 5em; + padding-left: 5vw; + padding-right: 5vw; + padding-top: 5vh; font-family: TeXGyreCursor; - font-size: 1.5em; + font-size: 1.5rem; } h1 { @@ -29,8 +30,8 @@ h1 { h2 { margin: 0; - margin-top: 3em; - margin-bottom: 0.5em; + margin-top: 3rem; + margin-bottom: 0.5rem; } a {