-
+ Landscape
diff --git a/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/css/style.css b/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/css/style.css
index 6c6aee4..b6f7277 100644
--- a/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/css/style.css
+++ b/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/css/style.css
@@ -44,6 +44,10 @@ section h2 {
font-size: 2.5rem;
}
+p {
+ padding: 1rem;
+}
+
/*****************
New styles begin here and continue to the end of the page
@@ -55,6 +59,11 @@ section ul {
margin: 0;
}
+div {
+ margin: 0;
+ padding: 0;
+}
+
/* To keep mobile screens from being stupid long, consider setting a max height on the images and hide the overflow.
@@ -140,10 +149,40 @@ figcaption a {
color: var(--color8);
}
+/* mobile styling for img */
+
+.logo-img {
+ max-width: 400px;
+ display: block;
+}
+
/* turn on flexbox here - prior to this, elements stacked individually as blocks */
@media (min-width: 550px) {
+ header {
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: space-between;
+ }
+
+ .logo {
+ /* flex-basis: 32.5%; */
+ margin: 0;
+ padding: 0;
+
+
+ }
+ .logo-img {
+ width: 50%;
+ float: left;
+ shape-outside: polygon(0px 0px, 23.29% 105.72%, 51.54% 3px);
+ margin-right: 1rem;
+ padding-right: 2rem;
+ }
+ .mission-statement {
+ /* flex-basis: 65%; */
+ }
section ul {
display: flex;
flex-flow: row wrap;
@@ -159,6 +198,16 @@ figcaption a {
}
@media (min-width: 800px) {
+ header {
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: space-evenly;
+ }
+ .logo-img{
+ flex-basis: 35%;
+
+ }
+
section h2 {
margin-left: 100px;
}
diff --git a/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/index.html b/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/index.html
index d6b6261..436582e 100644
--- a/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/index.html
+++ b/day-1-flexbox/4-flexbox-exercises/4b-mission/begin/index.html
@@ -10,6 +10,12 @@
+
+
Our Mission
+
+
We strive to bring people interesting and unique art that inspires them to be more creative and enjoy their homes. We know art can be expensive, so we work with a rotating set of artists and photographers to being you fantastic prints - all for free. We just ask that you donate what you think is fair, or share the site with someone who might like great art as much as you do.
+
+
Collections
diff --git a/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/css/style.css b/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/css/style.css
index 09c4e44..a398381 100644
--- a/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/css/style.css
+++ b/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/css/style.css
@@ -51,6 +51,10 @@ section ul {
margin: 0;
}
+h4 {
+ padding: 0;
+ margin: 0;
+}
/* To keep mobile screens from being stupid long, consider setting a max height on the images and hide the overflow.
@@ -153,16 +157,48 @@ figcaption a {
display: block;
}
+/* footer styling */
+
+.footer {
+background-color: var(--color5);
+}
+
+footer {
+ display: flex;
+ flex-flow: column wrap;
+ max-width: 1200px;
+ padding-top: 3rem;
+}
+
+footer ul {
+ display: flex;
+ flex-flow: row wrap;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+footer a {
+ text-decoration: none;
+}
+
+address {
+ font-style: normal;
+ font-weight: bolder;
+}
+
/* turn on flexbox here - prior to this, elements stacked individually as blocks */
@media (min-width: 550px) {
- section ul {
+ section ul, footer {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
- section li {
+ section li,
+ .social,
+ .address {
flex-basis: 49.5%;
}
/* turn off object position, inherit object-fit: cover */
diff --git a/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/index.html b/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/index.html
index 0e89e15..61d8814 100644
--- a/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/index.html
+++ b/day-1-flexbox/4-flexbox-exercises/4c-footer/begin/index.html
@@ -7,6 +7,7 @@
Collections
+
@@ -60,15 +61,16 @@