diff --git a/about.html b/about.html new file mode 100644 index 000000000..e69de29bb diff --git a/index.html b/index.html index c6405aef7..9794c875f 100644 --- a/index.html +++ b/index.html @@ -5,16 +5,29 @@ Sprint Challenge - Home - + - +
+
+ Lambda Company Logo + +
+
+ Background Photo +

The Future

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.

@@ -30,17 +43,17 @@

The Past

Why Did It Have To Be Boxes...

-
Box 1
-
Box 2
-
Box 3
-
Box 4
-
Box 5
-
Box 6
-
Box 7
-
Box 8
-
Box 9
-
Box 10
-
+
Box 1
+
Box 2
+
Box 3
+
Box 4
+
Box 5
+
Box 6
+
Box 7
+
Box 8
+
Box 9
+
Box 10
+
diff --git a/style/index.css b/style/index.css index ae29d6cee..14dc1ca33 100644 --- a/style/index.css +++ b/style/index.css @@ -71,6 +71,22 @@ p { margin: 0 auto; } +header{ + display: flex; + justify-content: space-between; + align-items: flex-end; + padding-top: 20px; + padding-bottom: 40px; +} + +header nav a{ + padding: 30px; + color: grey; + text-decoration: none; +} + + + .top-content { display: flex; flex-wrap: wrap; @@ -79,6 +95,10 @@ p { border-bottom: 1px dashed black; } +.top-content-img{ + padding-bottom: 20px; +} + .top-content .text-container { width: 48%; padding: 0 1%; @@ -88,6 +108,10 @@ p { .middle-content { margin-bottom: 20px; border-bottom: 1px dashed black; + display: flex; + flex-wrap: wrap; + flex-direction: column; + justify-content: center; } .middle-content h2 { @@ -98,7 +122,7 @@ p { .middle-content .boxes { display: flex; flex-wrap: wrap; - justify-content: space-evenly; + justify-content: space-between; } .middle-content .boxes .box { @@ -108,8 +132,64 @@ p { margin: 20px 2.5%; color: white; display: flex; - align-items: center; +} + +.box1{ + background: teal; + +} + +.box2{ + background: gold; + +} + +.box3{ + background: cadetblue; + +} + +.box4{ + background: coral; + +} + +.box5{ + background: crimson; + +} + +.box6{ + background: forestgreen; + +} + +.box7{ + background: darkorchid; + +} + +.box8{ + background: hotpink; + +} + +.box9{ + background: indigo; + +} + +.box10{ + background: dodgerblue; + +} +.boxes div{ + margin: 1rem; + width: 6rem; + height: 6rem; + display: flex; justify-content: center; + align-items: center; } .bottom-content { @@ -143,4 +223,40 @@ footer nav { footer nav a { color: white; text-decoration: none; +} +@media(max-width: 500px){ + header{ + flex-direction: column; + align-items: center; + + } + header nav{ + flex-direction: column; + display: flex; + margin: .5rem; + } + header nav a { + margin: 0px; + border: 1px solid black; + padding: .5rem 5rem; + border-radius: .5rem; + } + .top-content .text-container{ + width: 100%; + } + .middle-content .boxes{ + flex-direction: column; + align-items: center; + + } + .middle-content .boxes div:nth-child(n+5){ + display: none; + } + footer{ + display:none; + } + .bottom-content{ + display: none; + } + } \ No newline at end of file