From 3bc0364a1c087aa14a25a27d01c61e64780e6da7 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 26 Jun 2024 21:08:15 +0100 Subject: [PATCH] Add starts of a homepage --- src/home/index.html | 12 ++++++++++++ src/home/index.scss | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/home/index.html create mode 100644 src/home/index.scss diff --git a/src/home/index.html b/src/home/index.html new file mode 100644 index 0000000..9e87ee7 --- /dev/null +++ b/src/home/index.html @@ -0,0 +1,12 @@ + + + + + +
+

Jake Howard

+

Subtitle

+ +
+ + diff --git a/src/home/index.scss b/src/home/index.scss new file mode 100644 index 0000000..ccc3359 --- /dev/null +++ b/src/home/index.scss @@ -0,0 +1,35 @@ +@import "normalize.css"; + +body, +html { + height: 100%; + font-size: 18px; +} + +.hero { + height: 50vh; + background-color: red; + display: flex; + align-items: center; + justify-content: center; + color: white; + text-align: center; + flex-direction: column; + + h1, + h2 { + margin: 0.5rem; + } + + input { + background-color: transparentize(black, 0.4); + text-align: center; + color: white; + width: 500px; + max-width: 75%; + border: 1px solid white; + border-radius: 4px; + font-size: 16px; + padding: 0.5rem 0.75rem; + } +}