From 39a3b8bac525297275b8d7776f5b78c9ed754a79 Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 18:09:59 -0700 Subject: [PATCH 01/17] Updating bullet points within Task 1 section. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dc5314a3a1..f9b226900c 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ You are not allowed to collaborate during the Sprint Challenge. However, you are In this challenge, you build a missing header (navigation and image) on the home page, update some CSS styling on the home page, and make your page responsive for mobile. You will be working with a pre-existing web page, allowing you to get a taste of what it is like to inherit code from someone else, as will regularly happen on the job. -In meeting the minimum viable product (MVP) specifications listed below, your web page should look like the solution screen shots of the home page and mobile version. +In meeting the minimum viable product (MVP) specifications listed below, your web page should look like the solution screen shots of the home page and mobile version. [Click here for home page example](https://tk-assets.lambdaschool.com/39a49225-8ac9-43da-aa90-514fd60ae99a_sprint-challenge-ui-home-example.png) - + [Click here for tablet example](design/Tablet.png) @@ -50,11 +50,11 @@ You are expected to be able to answer all these questions. Your responses contri ### Task 1: Project Set Up -- [ ] Create a forked copy of this project -- [ ] Add your team lead as collaborator on Github -- [ ] Clone your OWN version of the repository (Not Lambda's by mistake!) -- [ ] Create a new branch: git checkout -b ``. -- [ ] Implement the project on your newly created `` branch, committing changes regularly +- [X] Create a forked copy of this project +- [X] Add your team lead as collaborator on Github +- [X] Clone your OWN version of the repository (Not Lambda's by mistake!) +- [X] Create a new branch: git checkout -b ``. +- [X] Implement the project on your newly created `` branch, committing changes regularly - [ ] Push commits: git push origin `` ### Task 2: Minimum Viable Product From 0608335832028b34e4960373a72ea7b4167ffeb0 Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 18:15:03 -0700 Subject: [PATCH 02/17] Inserted logo for navigation --- index.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index d32d8ad25c..cf0e5253dc 100644 --- a/index.html +++ b/index.html @@ -12,8 +12,16 @@ +
+ + + +
+
- +

The Future

@@ -24,11 +32,11 @@

The Past

Proin sed quam sed tellus vestibulum ultrices quis in nunc. Phasellus id dui id tortor tincidunt efficitur. Proin faucibus imperdiet erat, non varius lacus. Maecenas non nisl id turpis egestas tincidunt. Nam condimentum venenatis magna eget finibus.

- +
- +

Why Did It Have To Be Boxes...

- +
Box 1
Box 2
@@ -41,7 +49,7 @@

Why Did It Have To Be Boxes...

Box 9
Box 10
- +
@@ -60,7 +68,7 @@

Moon

- + - + From 6693197134959bfd4d3a79ea027e4bd248b00343 Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 18:18:08 -0700 Subject: [PATCH 03/17] Created navigation, updated completion status in README, created page. --- README.md | 4 ++-- about.html | 0 index.html | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 about.html diff --git a/README.md b/README.md index f9b226900c..7b528ddb99 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ You are expected to be able to answer all these questions. Your responses contri - [X] Clone your OWN version of the repository (Not Lambda's by mistake!) - [X] Create a new branch: git checkout -b ``. - [X] Implement the project on your newly created `` branch, committing changes regularly -- [ ] Push commits: git push origin `` +- [X] Push commits: git push origin `` ### Task 2: Minimum Viable Product @@ -66,7 +66,7 @@ Your finished project must include all of the following requirements: [Review the provided design files](/design). Notice the navigation and header images are missing in the starter code. * [ ] Build the HTML and CSS to create the missing navigation and header -* [ ] Link the `About` navigation item to an about.html page (you'll also need to create `about.html`) +* [X] Link the `About` navigation item to an about.html page (you'll also need to create `about.html`) * [ ] Make your design responsive such that it is accessible on mobile(500px)and matches the [mobile](design/Mobile.png) wireframe. * [ ] Add responsive breakpoints to your code by using media queries diff --git a/about.html b/about.html new file mode 100644 index 0000000000..e69de29bb2 diff --git a/index.html b/index.html index cf0e5253dc..77cf53b47a 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,13 @@ From 3a3f5aa94f2e7a9cc0a716bc5894fd43c9bba2fc Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 18:25:47 -0700 Subject: [PATCH 04/17] Configured nav and logo on the same line --- index.html | 21 +++++++++------------ style/index.css | 19 +++++++++++++------ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index 77cf53b47a..515825850d 100644 --- a/index.html +++ b/index.html @@ -12,23 +12,20 @@ -
- -
diff --git a/style/index.css b/style/index.css index a8465703c5..bbc88e6021 100644 --- a/style/index.css +++ b/style/index.css @@ -269,47 +269,85 @@ footer nav a { @media(min-width:500px) { + .container { + width: 100%; + margin-left: 0px; + margin-right: 0px; + padding-left: 0px; + padding-right: 0px; + } + .header { display: flex; flex-direction: column; - justify-content: center; + align-items: center; + margin: 10px 0px 10px 0px; + } + + a.header { + margin: 0px; + padding: 0px; + } + + img.header-image { + width: 100%; } .top-content{ display: flex; flex-direction: column; - justify-content: center; + align-items: center; + } + + .top-content .text-container { + width: 100%; + padding-top: 20px; + margin-bottom: 20px; } .middle-content { display: flex; flex-direction: column; - justify-content: center; + align-items: center; } - .middle-content .boxes .box7{ - width: 12.5%; - height: 100px; - background: darkorchid; - margin: 20px 2.5%; - color: white; + .middle-content .boxes{ + width: 100%; display: flex; + flex-wrap: wrap; flex-direction: column; - justify-content: center; + align-items: center; } .bottom-content { display: flex; flex-direction: column; - justify-content: center; + align-items: center; + } + + .bottom-content .text-container { + width: 100%; + padding-top: 20px; + margin-bottom: 20px; + } + + .footer { + display: flex; + flex-direction: column; + align-items: center; + padding: 5px 0px 5px 0px; + } + + nav.footer { + margin-top: 20px; + margin-bottom: 20px; } - } } @media(min-width:800px) { - .header { + .header a.header { display: flex; flex-wrap: wrap; justify-content: space-evenly; From b4f0c4231778e13f2c28bbab6941c81263275bd0 Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 19:31:13 -0700 Subject: [PATCH 11/17] More repsonsive settings for desktop --- style/index.css | 86 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 73 insertions(+), 13 deletions(-) diff --git a/style/index.css b/style/index.css index bbc88e6021..728233bda3 100644 --- a/style/index.css +++ b/style/index.css @@ -287,6 +287,7 @@ footer nav a { a.header { margin: 0px; padding: 0px; + font-size: 2rem; } img.header-image { @@ -313,6 +314,8 @@ footer nav a { .middle-content .boxes{ width: 100%; + padding: 0px; + margin: 0px; display: flex; flex-wrap: wrap; flex-direction: column; @@ -339,37 +342,94 @@ footer nav a { } nav.footer { - margin-top: 20px; - margin-bottom: 20px; + margin-top: 20px; + margin-bottom: 20px; } -} + a.footer { + font-size: 2rem; + } @media(min-width:800px) { - .header a.header { + .container { + width: 80%; + margin-left: 10%; + margin-right: 10%; + padding-left: 0px; + padding-right: 0px; + } + + .header { display: flex; - flex-wrap: wrap; - justify-content: space-evenly; + flex-direction: row; + align-items: center; + margin: 10px 0px 10px 0px; + } + + a.header { + font-size: 1rem; + padding: 10px 20px 0px 20px; + } + + img.header-image { + width: 100%; } .top-content{ display: flex; - flex-wrap: wrap; - justify-content: space-evenly; + flex-direction: row; + align-items: center; + } + + .top-content .text-container { + width: 100%; + padding-top: 20px; + margin-bottom: 20px; } .middle-content { display: flex; - flex-wrap: wrap; - justify-content: space-evenly; + flex-direction: row; + align-items: center; + } + + .middle-content .boxes{ + width: 100%; + padding: 0px; + margin: 0px; + display: flex; + flex-wrap: wrap; + flex-direction: row; + align-items: center; } .bottom-content { display: flex; - flex-wrap: wrap; - justify-content: space-evenly; + flex-direction: row; + align-items: center; + } + + .bottom-content .text-container { + width: 100%; + padding-top: 20px; + margin-bottom: 20px; + } + + .footer { + display: flex; + flex-direction: row; + align-items: center; + padding: 5px 0px 5px 0px; + } + + nav.footer { + margin-top: 20px; + margin-bottom: 20px; + } + + a.footer { + font-size: 1rem; } - } } From 1b23e56dc2a6456807f816954cbeafca20318438 Mon Sep 17 00:00:00 2001 From: Joshua Cheney Date: Fri, 15 May 2020 19:54:29 -0700 Subject: [PATCH 12/17] Configuring responsive layouts --- index.html | 20 +++---- style/index.css | 143 ++++++++++++++++++------------------------------ 2 files changed, 63 insertions(+), 100 deletions(-) diff --git a/index.html b/index.html index e2d76016e6..96f0ad9112 100644 --- a/index.html +++ b/index.html @@ -15,19 +15,19 @@
-
- black logo for Lambda -