From aa03064218a6f88101378549b6475a228ad9f569 Mon Sep 17 00:00:00 2001 From: Kyle Baker Date: Tue, 31 Jul 2018 18:13:55 -0700 Subject: [PATCH 1/7] Added viewport meta tag --- .idea/Sprint-Challenge--UI-Responsive.iml | 12 ++ .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 174 ++++++++++++++++++++++ ANSWERS.md | 8 + index.html | 1 + 7 files changed, 215 insertions(+) create mode 100644 .idea/Sprint-Challenge--UI-Responsive.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/Sprint-Challenge--UI-Responsive.iml b/.idea/Sprint-Challenge--UI-Responsive.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/Sprint-Challenge--UI-Responsive.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..30452fb --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..87bdcc0 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - 1533085830970 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From c5edec2d4af75aaca3d130532607b3215cfffafb Mon Sep 17 00:00:00 2001 From: Kyle Baker Date: Tue, 31 Jul 2018 18:19:19 -0700 Subject: [PATCH 3/7] Changed font size to percentage in html tag --- .idea/workspace.xml | 173 ++++++++++++++++++++++++++++++++++++++++++++ css/index.css | 46 +++++++----- 2 files changed, 201 insertions(+), 18 deletions(-) create mode 100644 .idea/workspace.xml diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..9968273 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -124,12 +130,12 @@ - @@ -163,15 +169,15 @@ - - + + - - + + diff --git a/css/index.css b/css/index.css index 59d86e4..12a5af1 100644 --- a/css/index.css +++ b/css/index.css @@ -81,6 +81,22 @@ p { margin: 0 auto; } +.logo { + width: 160px; + margin-top: 20px; + +} + +.banner { + background-image: url(../img/jumbo.jpg); + background-size: contain; + background-repeat: no-repeat; + width: 100%; + height: 154px; + margin: 36px 0 23px 0; + +} + .top-content { display: flex; flex-wrap: wrap; diff --git a/index.html b/index.html index e845f09..c859271 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,12 @@
+
+ + +
+ +

The Future

From 750e15aa41c5857e04708fb94f6c5c334cede3f1 Mon Sep 17 00:00:00 2001 From: Kyle Baker Date: Tue, 31 Jul 2018 18:48:50 -0700 Subject: [PATCH 7/7] Changed box colors at break points --- .idea/workspace.xml | 22 +++++++++--------- css/index.css | 55 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 12 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c6f8635..8aa12c5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,6 @@ - @@ -20,8 +19,8 @@ - - + + @@ -29,8 +28,8 @@ - - + + @@ -41,6 +40,7 @@ font-size rem + boxes @@ -130,12 +130,12 @@ - @@ -169,15 +169,15 @@ - - + + - - + + diff --git a/css/index.css b/css/index.css index 12a5af1..592552f 100644 --- a/css/index.css +++ b/css/index.css @@ -89,8 +89,9 @@ p { .banner { background-image: url(../img/jumbo.jpg); - background-size: contain; + background-size: cover; background-repeat: no-repeat; + background-position: center; width: 100%; height: 154px; margin: 36px 0 23px 0; @@ -169,4 +170,56 @@ footer nav { footer nav a { color: white; text-decoration: none; +} + +.box:nth-child(2) { + background: forestgreen!important; +} + +.box:nth-child(4) { + background: darkorchid!important; +} + +.box:nth-child(6) { + background: hotpink!important; +} + +.box:nth-child(8) { + background: indigo!important; +} + +.box:nth-child(10) { + background: lawngreen!important; +} + +@media (max-width: 768px) { + .box:first-child { + background: teal!important; + } + + .box:nth-child(3) { + background: gold!important; + } + + .box:nth-child(5) { + background: cadetblue!important; + } + + .box:nth-child(7) { + background: coral!important; + } + + .box:nth-child(9) { + background: crimson!important; + } +} + +@media (max-width: 500px) { + .box:nth-child(10) { + display: none!important; + } + + .boxes { + flex-direction: row-reverse!important; + } } \ No newline at end of file