From 8039929d9c7b847746f5c83259e4d92ccbebe39f Mon Sep 17 00:00:00 2001 From: Zahraa <113244988+ZahraaTayyar@users.noreply.github.com> Date: Fri, 28 Oct 2022 19:26:19 +0100 Subject: [PATCH 01/21] Created the beginning of the page Started off the page --- .github/pull_request_template.md | 10 +++--- css/style.css | 54 ++++++++++++++++++++++++++++++++ index.html | 46 +++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 5 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 46c150e15..eb3262620 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -16,14 +16,14 @@ Please complete the details below this message # Your Details -- Your Name: -- Your City: -- Your Slack Name: +- Your Name: Zahraa +- Your City: London Turing +- Your Slack Name: Zahraa Tayyar # Homework Details -- Module: -- Week: +- Module: HTML/ CSS 1 +- Week: 2 # Notes diff --git a/css/style.css b/css/style.css index 5cb025cef..4347b2b10 100755 --- a/css/style.css +++ b/css/style.css @@ -15,5 +15,59 @@ body { * * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' */ + + /* Header */ + .header { + padding:1rem 2rem; + margin-bottom: 3rem; + padding-top: 1rem; + } + .header_logo { + max-height: 45px; + width: auto; + display:flex; + float: left; + padding-left: 7rem; + } + + /* Navigation */ + + .nav_list { + display:flex; + flex-direction: row; + justify-content:space-between; + align-items: center; + list-style: none; + gap: 1rem; + float:right; + padding-right: 100px; + } + + .nav_item { + padding: 0.5rem 0; + margin: 0 30px 0 30px; + } + + .nav_link { + color: var(--grey-dark); + text-decoration: none; + } + + /* Main */ + + /* Hero */ + + .hero { + background-image: url(/img/first-background.jpg); + background-size: cover; + background-position: center; + background-repeat: none; + } + + .introtext { + color: white; + text-align: center; + padding: 24rem; + } diff --git a/index.html b/index.html index 3e742ef04..ab8a18ef5 100755 --- a/index.html +++ b/index.html @@ -15,5 +15,51 @@ +