-
+ Landscape
From 5dd0111c0d4793deb419b73cfe6971801d1ce919 Mon Sep 17 00:00:00 2001
From: TomF-K <111983192+TomF-K@users.noreply.github.com>
Date: Wed, 14 Jun 2023 11:01:05 +0100
Subject: [PATCH 02/14] completed 4b basic desktop styling
---
.../4b-mission/begin/css/style.css | 17 +++++++++++++++++
.../4b-mission/begin/index.html | 7 +++++++
2 files changed, 24 insertions(+)
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..d8af2aa 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
@@ -55,6 +55,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.
@@ -159,6 +164,18 @@ figcaption a {
}
@media (min-width: 800px) {
+ header {
+ display: flex;
+ flex-flow: column-wrap;
+ justify-content: space-evenly;
+ }
+ .logo-img{
+ flex-basis: 35%;
+
+ }
+ .mission-statement {
+ flex-basis: 65%;
+ }
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..5e58210 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,13 @@
+
+
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.
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.
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.
+
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.
From 7e0c5d34a81294a939252da4a0996fc2804c7ca8 Mon Sep 17 00:00:00 2001
From: TomF-K <111983192+TomF-K@users.noreply.github.com>
Date: Fri, 16 Jun 2023 07:08:30 +0100
Subject: [PATCH 06/14] added mobile styling at >550px
---
.../4-flexbox-exercises/4b-mission/begin/css/style.css | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
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 409a6c9..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
@@ -149,6 +149,13 @@ 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 */
@@ -166,13 +173,12 @@ figcaption a {
}
-
.logo-img {
width: 50%;
float: left;
shape-outside: polygon(0px 0px, 23.29% 105.72%, 51.54% 3px);
margin-right: 1rem;
- padding-right: 1rem;
+ padding-right: 2rem;
}
.mission-statement {
/* flex-basis: 65%; */
From 286c9456036c75159c55c71ca67c376f7677433b Mon Sep 17 00:00:00 2001
From: TomF-K <111983192+TomF-K@users.noreply.github.com>
Date: Mon, 19 Jun 2023 14:53:57 +0100
Subject: [PATCH 07/14] replaced svg with fa to fix links
---
.../4c-footer/begin/css/style.css | 39 +++++++++++++++++++
.../4c-footer/begin/index.html | 5 ++-
2 files changed, 42 insertions(+), 2 deletions(-)
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..158ca6c 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,6 +157,30 @@ figcaption a {
display: block;
}
+/* footer styling */
+
+footer {
+background-color: var(--color5);
+padding-top: 30px;
+}
+
+
+footer ul {
+ display: flex;
+ flex-flow: row wrap;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+footer a {
+ text-decoration: none;
+}
+
+address {
+ font-weight: bolder;
+}
+
/* turn on flexbox here - prior to this, elements stacked individually as blocks */
@@ -180,6 +208,17 @@ figcaption a {
shape-outside: polygon(35.84% 94.87%, 34.64% 87.05%, 51.64% 4.06%, 55.1% 2.38%);
max-height: 211px;
}
+ footer {
+ display: flex;
+ flex-flow: column wrap;
+ }
+ .social {
+ flex-basis: 32.5%;
+
+ }
+ .address {
+ flex-basis: 65.5%;
+ }
}
@media (min-width: 800px) {
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..4ef2d3e 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
+
@@ -65,10 +66,10 @@