From a86998c446f2741957e29108f31abb2b0030eecb Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 6 Nov 2018 09:04:42 -0600
Subject: [PATCH 01/18] new file: tutorial/tf_flex.css deleted:
tutorial/tf_flex_txt.css renamed: tutorial/tf_home_txt.html ->
tutorial/tf_home.html renamed: tutorial/tf_navicon_txt.css ->
tutorial/tf_navicon.css renamed: tutorial/tf_prek_txt.html ->
tutorial/tf_prek.html renamed: tutorial/tf_styles1_txt.css ->
tutorial/tf_styles1.css
---
tutorial/tf_flex.css | 98 +++++++++++++++++++
tutorial/tf_flex_txt.css | 49 ----------
tutorial/{tf_home_txt.html => tf_home.html} | 7 +-
.../{tf_navicon_txt.css => tf_navicon.css} | 24 +++--
tutorial/{tf_prek_txt.html => tf_prek.html} | 11 ++-
.../{tf_styles1_txt.css => tf_styles1.css} | 77 ++++++++++++++-
6 files changed, 203 insertions(+), 63 deletions(-)
create mode 100644 tutorial/tf_flex.css
delete mode 100644 tutorial/tf_flex_txt.css
rename tutorial/{tf_home_txt.html => tf_home.html} (93%)
rename tutorial/{tf_navicon_txt.css => tf_navicon.css} (64%)
rename tutorial/{tf_prek_txt.html => tf_prek.html} (94%)
rename tutorial/{tf_styles1_txt.css => tf_styles1.css} (65%)
diff --git a/tutorial/tf_flex.css b/tutorial/tf_flex.css
new file mode 100644
index 0000000..667ba25
--- /dev/null
+++ b/tutorial/tf_flex.css
@@ -0,0 +1,98 @@
+@charset "utf-8";
+
+/*
+ New Perspectives on HTML5 and CSS3, 7th Edition
+ Tutorial 5
+ Tutorial Case
+
+ Author: Seth and Bethany
+ Date: 11/6/18
+
+ Filename: tf_flex.css
+
+ This file contains the flex styles used in the Trusted Friends
+ Pre-K Classes page.
+
+*/
+
+
+/* ================
+ Base Flex Styles
+ ================
+*/
+
+body {
+ display: -webkit-flex;
+ display: flex;
+
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+header, footer {
+ width: 100%;
+}
+
+aside {
+ -webkit-flex: 1 1 120px;
+ flex: 1 1 120px;
+}
+
+section#main {
+ -webkit-flex: 3 1 361px;
+ flex: 3 1 361px;
+}
+
+section#topics {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+section#topics article {
+ -webkit-flex: 1 1 200px;
+ flex: 1 1 200px;
+}
+/* =========================
+ Mobile Styles: 0 to 480px
+ =========================
+*/
+
+@media only screen and (max-width: 480px) {
+ aside {
+ -webkit-order: 99;
+ order: 99;
+ }
+
+ footer {
+ -webkit-order: 100;
+ order: 100;
+ }
+
+
+}
+
+/* ============================================
+ Tablet and Desktop Styles: 481px and greater
+ ============================================
+*/
+
+@media only screen and (min-width: 481px) {
+
+ nav.horizontal ul {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ }
+
+ nav.horizontal li {
+ -webkit-flex: 1 1 auto;
+ flex: 1 1 auto;
+ }
+
+
+}
+
+
diff --git a/tutorial/tf_flex_txt.css b/tutorial/tf_flex_txt.css
deleted file mode 100644
index e441a76..0000000
--- a/tutorial/tf_flex_txt.css
+++ /dev/null
@@ -1,49 +0,0 @@
-@charset "utf-8";
-
-/*
- New Perspectives on HTML5 and CSS3, 7th Edition
- Tutorial 5
- Tutorial Case
-
- Author:
- Date:
-
- Filename: tf_flex.css
-
- This file contains the flex styles used in the Trusted Friends
- Pre-K Classes page.
-
-*/
-
-
-/* ================
- Base Flex Styles
- ================
-*/
-
-
-
-
-/* =========================
- Mobile Styles: 0 to 480px
- =========================
-*/
-
-@media only screen and (max-width: 480px) {
-
-
-
-}
-
-/* ============================================
- Tablet and Desktop Styles: 481px and greater
- ============================================
-*/
-
-@media only screen and (min-width: 481px) {
-
-
-
-}
-
-
diff --git a/tutorial/tf_home_txt.html b/tutorial/tf_home.html
similarity index 93%
rename from tutorial/tf_home_txt.html
rename to tutorial/tf_home.html
index 31bb7ed..52f11cf 100644
--- a/tutorial/tf_home_txt.html
+++ b/tutorial/tf_home.html
@@ -7,14 +7,17 @@
Tutorial Case
Home Page of the Trusted Friends website
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/6/18
Filename: tf_home.html
-->
Trusted Friends Daycare
+
+
+
diff --git a/tutorial/tf_navicon_txt.css b/tutorial/tf_navicon.css
similarity index 64%
rename from tutorial/tf_navicon_txt.css
rename to tutorial/tf_navicon.css
index 3668320..2c77607 100644
--- a/tutorial/tf_navicon_txt.css
+++ b/tutorial/tf_navicon.css
@@ -5,8 +5,8 @@
Tutorial 5
Tutorial Case
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/6/18
Filename: tf_navicon.css
@@ -20,8 +20,9 @@
Base Styles
===========
*/
-
-
+a#navicon {
+ display: none;
+}
/* ===============================
@@ -30,6 +31,17 @@
*/
@media only screen and (max-width: 480px) {
-
-
+
+ a#navicon {
+ display: block;
+ }
+
+ nav.horizontal ul {
+ display: none;
+ }
+
+ a#navicon:hover+ul, nav.horizontal:hover {
+ display: block;
+ }
+
}
diff --git a/tutorial/tf_prek_txt.html b/tutorial/tf_prek.html
similarity index 94%
rename from tutorial/tf_prek_txt.html
rename to tutorial/tf_prek.html
index 3498f36..98e35fe 100644
--- a/tutorial/tf_prek_txt.html
+++ b/tutorial/tf_prek.html
@@ -7,15 +7,19 @@
Tutorial Case
Pre-K Classes offered by Trusted Friends
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/6/18
Filename: tf_prek.html
-->
Pre-K Classes at Trusted Friends
-
+
+
+
+
+
@@ -23,6 +27,7 @@
+
Home
Infants
diff --git a/tutorial/tf_styles1_txt.css b/tutorial/tf_styles1.css
similarity index 65%
rename from tutorial/tf_styles1_txt.css
rename to tutorial/tf_styles1.css
index 7920c8c..688ae0d 100644
--- a/tutorial/tf_styles1_txt.css
+++ b/tutorial/tf_styles1.css
@@ -5,8 +5,8 @@
Tutorial 5
Tutorial Case
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/6/18
Filename: tf_styles1.css
@@ -144,10 +144,81 @@ body > footer {
}
/* Pulldown Menu Styles */
+ul.submenu {
+ display: none;
+}
+a.submenuTitle:hover+ul.submenu, ul.submenu:hover {
+ display: block;
+}
+
+/* New Styles Added Below */
+/* ===================
+ Mobile Styles: 0px to 480 px
+ ===================
+*/
+@media only screen and (max-width: 480px) {
+ nav.horizontal a {
+ font-size: 1.5em;
+ line-height: 2.2em;
+ }
+ aside {
+ display: none;
+ }
-/* New Styles Added Below */
+}
+/* =====================
+ Tablet Styles: 481px and greater
+ =====================
+*/
+@media only screen and (min-width: 481px) {
+ ul.mainmenu > li {
+ float: left;
+ position: relative;
+ width: 20%;
+ }
+ ul.submenu {
+ box-shadow: rgb(51, 51, 51) 5px 5px 15px;
+ position: absolute;
+ width: 200%;
+ }
+}
+
+/* ======================
+ Desktop Styles: 769px and greater
+ ======================
+*/
+@media only screen and (min-width: 769px) {
+ ul.submenu {
+ background: transparent;
+ box-shadow: none;
+ display: block;
+ position: relative;
+ width: 100%;
+ }
+
+ nav.horizontal::after {
+ clear: both;
+ content: "";
+ display: table;
+ }
+
+ nav.horizontal a.submenuTitle {
+ display: none;
+ }
+
+ article {
+ float: left;
+ margin-right: 5%;
+ width: 55%;
+ }
+
+ aside {
+ float: left;
+ width: 40%;
+ }
+}
\ No newline at end of file
From d188850939504fa65b9ab4d6caa0bd20d69af71f Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 6 Nov 2018 09:51:06 -0600
Subject: [PATCH 02/18] renamed: tutorial/tf_articles_txt.html ->
tutorial/tf_articles.html renamed: tutorial/tf_print_txt.css ->
tutorial/tf_print.css
---
tutorial/{tf_articles_txt.html => tf_articles.html} | 8 ++++++--
tutorial/{tf_print_txt.css => tf_print.css} | 12 +++++++++---
2 files changed, 15 insertions(+), 5 deletions(-)
rename tutorial/{tf_articles_txt.html => tf_articles.html} (96%)
rename tutorial/{tf_print_txt.css => tf_print.css} (79%)
diff --git a/tutorial/tf_articles_txt.html b/tutorial/tf_articles.html
similarity index 96%
rename from tutorial/tf_articles_txt.html
rename to tutorial/tf_articles.html
index f36bf96..52c0016 100644
--- a/tutorial/tf_articles_txt.html
+++ b/tutorial/tf_articles.html
@@ -7,8 +7,8 @@
Tutorial Case
Trusted Friends Articles of Interest
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/6/18
Filename: tf_articles.html
-->
@@ -16,6 +16,10 @@
Trusted Friends: Articles of Interest
+
+
+
+
diff --git a/tutorial/tf_print_txt.css b/tutorial/tf_print.css
similarity index 79%
rename from tutorial/tf_print_txt.css
rename to tutorial/tf_print.css
index 5fafb6d..6e6b8ca 100644
--- a/tutorial/tf_print_txt.css
+++ b/tutorial/tf_print.css
@@ -4,8 +4,8 @@
Tutorial 5
Tutorial Case
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/6/18
Filename: tf_print.css
@@ -17,11 +17,17 @@
/* Hidden Objects */
+nav.horizontal, aside, footer{
+ display: none;
+}
/* Page Box Styles */
-
+@page{
+ size: 8.5in 11in;
+ margin: 0.5in;
+}
/* Header Styles */
From fc9d07e502e132eb395ce193db4ea88174c2d1f5 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 6 Nov 2018 09:57:10 -0600
Subject: [PATCH 03/18] modified: tutorial/tf_print.css
---
tutorial/tf_print.css | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/tutorial/tf_print.css b/tutorial/tf_print.css
index 6e6b8ca..946fbe8 100644
--- a/tutorial/tf_print.css
+++ b/tutorial/tf_print.css
@@ -43,15 +43,37 @@ body > header > img {
/* Typography Styles */
+h1 {
+ font-size: 28pt;
+ line-height: 30pt;
+ margin: 0.3in 0in 0.2in;
+}
+h2 {
+ font-size: 20pt;
+ margin: 0.1in 0in 0.1in 0.3in;
+}
+p {
+ font-size: 12pt;
+ margin: 0.1in 0in 0.1in 0.3in;
+}
-/* List Styles */
+/* List Styles */
+ul {
+ list-style-type: disc;
+ margin-left: 0.5in;
+}
/* Image Styles */
-
+article img {
+ border: 2px solid rgb(191, 191, 191);
+ display: block;
+ margin: 0.25in auto;
+ width: 65%;
+}
From 630a1467353dd060d3074216fca77f27d1c5f144 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Wed, 7 Nov 2018 08:08:15 -0600
Subject: [PATCH 04/18] modified: tutorial/tf_print.css
---
tutorial/tf_print.css | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/tutorial/tf_print.css b/tutorial/tf_print.css
index 946fbe8..a966b26 100644
--- a/tutorial/tf_print.css
+++ b/tutorial/tf_print.css
@@ -78,15 +78,33 @@ article img {
/* Hypertext Styles */
+a {
+ color: black;
+ text-decoration: none;
+}
+a::after {
+ content: " (" attr(href) ") ";
+ font-weight: bold;
+ word-wrap: break-word;
+}
/* Page Break Styles */
+article:nth-of-type(n+2) {
+ page-break-before: always;
+}
+img, ol, ul {
+ page-break-inside: avoid;
+}
-
+p {
+ orphans: 3;
+ widows: 3;
+}
From 9bdc9f30c19c513bba1ffdee5e13393b6d538c44 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Wed, 7 Nov 2018 10:10:23 -0600
Subject: [PATCH 05/18] renamed: review/tf_print2_txt.css ->
review/tf_print2.css new file: review/tf_styles4.css deleted:
review/tf_styles4_txt.css renamed: review/tf_tips_txt.html ->
review/tf_tips.html
---
review/{tf_print2_txt.css => tf_print2.css} | 0
review/tf_styles4.css | 114 ++++++++++++++++++++
review/tf_styles4_txt.css | 46 --------
review/{tf_tips_txt.html => tf_tips.html} | 8 +-
4 files changed, 120 insertions(+), 48 deletions(-)
rename review/{tf_print2_txt.css => tf_print2.css} (100%)
create mode 100644 review/tf_styles4.css
delete mode 100644 review/tf_styles4_txt.css
rename review/{tf_tips_txt.html => tf_tips.html} (96%)
diff --git a/review/tf_print2_txt.css b/review/tf_print2.css
similarity index 100%
rename from review/tf_print2_txt.css
rename to review/tf_print2.css
diff --git a/review/tf_styles4.css b/review/tf_styles4.css
new file mode 100644
index 0000000..b865583
--- /dev/null
+++ b/review/tf_styles4.css
@@ -0,0 +1,114 @@
+@charset "utf-8";
+/*
+ New Perspectives on HTML5 and CSS3, 7th Edition
+ Tutorial 5
+ Review Assignment
+
+ Author: Seth and Bethany
+ Date: 11/7/18
+
+ Filename: tf_styles4.css
+
+ This file contains the screen styles used with the Trusted
+ Friends blog tips
+
+*/
+
+
+/* Import Basic Design Styles Used on All Screens */
+
+@import url("tf_designs.css");
+
+
+
+/* General Flex Styles */
+body {
+ display: -webkit-box;
+ display: -moz-box;
+ display: -ms-flexbox;
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+section#left {
+ flex: 1 8 130px;
+}
+
+section#right {
+ flex: 8 1 351px;
+}
+
+section.tips {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+section.tips article {
+ -webkit-flex: 2 1 351px;
+ flex: 2 1 351px;
+}
+
+section.tips aside {
+ -webkit-flex: 1 2 250px;
+ flex: 2 1 250px;
+}
+
+nav.horizontal ul {
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+/* ===============================
+ Mobile Devices: 0 to 480px
+ ===============================
+*/
+@media only screen and (max-width: 480px) {
+
+ nav.vertical ul{
+ display: flex;
+ -webkit-flex-wrap: column wrap;
+ flex-direction: column;
+ height: 240px;
+ }
+
+ section#left {
+ order: 99;
+ }
+
+ footer {
+ order: 100;
+ }
+
+ a#navicon {
+ display: block;
+ }
+
+ nav.horizontal ul{
+ display: none;
+ }
+
+ a#navicon:hover+ul, nav.horizontal ul:hover {
+ display: block;
+ }
+
+}
+
+
+
+
+/* ============================================
+ Tablet and Desktop Devices: 481px or more
+ ============================================
+*/
+@media only screen and (min-width: 481px) {
+
+ nav.horizontal ul {
+ height: 160px;
+ }
+
+}
+
+
diff --git a/review/tf_styles4_txt.css b/review/tf_styles4_txt.css
deleted file mode 100644
index 4aa8789..0000000
--- a/review/tf_styles4_txt.css
+++ /dev/null
@@ -1,46 +0,0 @@
-@charset "utf-8";
-/*
- New Perspectives on HTML5 and CSS3, 7th Edition
- Tutorial 5
- Review Assignment
-
- Author:
- Date:
-
- Filename: tf_styles4.css
-
- This file contains the screen styles used with the Trusted
- Friends blog tips
-
-*/
-
-
-/* Import Basic Design Styles Used on All Screens */
-
-@import url("tf_designs.css");
-
-
-
-/* General Flex Styles */
-
-
-
-
-
-
-/* ===============================
- Mobile Devices: 0 to 480px
- ===============================
-*/
-
-
-
-
-
-/* ============================================
- Tablet and Desktop Devices: 481px or more
- ============================================
-*/
-
-
-
diff --git a/review/tf_tips_txt.html b/review/tf_tips.html
similarity index 96%
rename from review/tf_tips_txt.html
rename to review/tf_tips.html
index 5f89bf6..4d0d90a 100644
--- a/review/tf_tips_txt.html
+++ b/review/tf_tips.html
@@ -7,14 +7,18 @@
Review Assignment
Trusted Friends Parenting Tips
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/7/18
Filename: tf_tips.html
-->
Trusted Friends: Education Tips
+
+
+
+
From c0ad2c6a730e6d7be90810cdaa9fc3f0e30faed4 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Thu, 8 Nov 2018 08:20:59 -0600
Subject: [PATCH 06/18] It's a mess right now
---
review/tf_styles4.css | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/review/tf_styles4.css b/review/tf_styles4.css
index b865583..9a1dd5e 100644
--- a/review/tf_styles4.css
+++ b/review/tf_styles4.css
@@ -33,10 +33,12 @@ body {
}
section#left {
- flex: 1 8 130px;
+ -webkit-flex: 1 8 103px;
+ flex: 1 8 103px;
}
section#right {
+ -webkit-flex: 8 1 351px;
flex: 8 1 351px;
}
@@ -66,39 +68,41 @@ nav.horizontal ul {
===============================
*/
@media only screen and (max-width: 480px) {
-
nav.vertical ul{
- display: flex;
- -webkit-flex-wrap: column wrap;
- flex-direction: column;
+ display: -webkit-flex;
+ display:flex;
+ -webkit-flex-flow: column wrap;
+ flex-flow: column wrap;
height: 240px;
}
- section#left {
+ section#left{
+ -webkit-order: 99;
order: 99;
}
- footer {
+ footer{
+ -webkit-order: 100;
order: 100;
}
-
- a#navicon {
+
+ a#navicon{
display: block;
}
- nav.horizontal ul{
+ nav.horizontal ul {
display: none;
}
- a#navicon:hover+ul, nav.horizontal ul:hover {
+ a#navicon:hover+ul, nav.horizontal ul:hover{
display: block;
}
-
}
+
/* ============================================
Tablet and Desktop Devices: 481px or more
============================================
From 2c4f06ca1d122bbb0ae9fbe06d673c3296b2252e Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Thu, 8 Nov 2018 09:10:12 -0600
Subject: [PATCH 07/18] modified: review/tf_styles4.css modified:
review/tf_tips.html
---
review/tf_styles4.css | 16 +++++++++-------
review/tf_tips.html | 7 +++----
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/review/tf_styles4.css b/review/tf_styles4.css
index 9a1dd5e..6e461e4 100644
--- a/review/tf_styles4.css
+++ b/review/tf_styles4.css
@@ -25,7 +25,7 @@
body {
display: -webkit-box;
display: -moz-box;
- display: -ms-flexbox;
+ display: -mbody > header > nav.horizontal > uls-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
@@ -34,7 +34,7 @@ body {
section#left {
-webkit-flex: 1 8 103px;
- flex: 1 8 103px;
+ flex: 1 8 130px;
}
section#right {
@@ -59,18 +59,20 @@ section.tips aside {
}
nav.horizontal ul {
+ display: -webkit-flex;
display: flex;
- -webkit-flex-flow: row wrap;
- flex-flow: row wrap;
+ -webkit-flex-flow: column wrap;
+ flex-flow: column wrap;
}
/* ===============================
Mobile Devices: 0 to 480px
===============================
*/
-@media only screen and (max-width: 480px) {
+
+@media screen and (max-width: 480px){
nav.vertical ul{
display: -webkit-flex;
- display:flex;
+ display: flex;
-webkit-flex-flow: column wrap;
flex-flow: column wrap;
height: 240px;
@@ -109,7 +111,7 @@ nav.horizontal ul {
*/
@media only screen and (min-width: 481px) {
- nav.horizontal ul {
+ body > header > nav.horizontal > ul {
height: 160px;
}
diff --git a/review/tf_tips.html b/review/tf_tips.html
index 4d0d90a..bc145b6 100644
--- a/review/tf_tips.html
+++ b/review/tf_tips.html
@@ -15,10 +15,9 @@
Trusted Friends: Education Tips
-
-
-
-
+
+
+
From 44c1af71109ada4d0ae689bd8c5ff8827c0b1984 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Thu, 8 Nov 2018 09:25:34 -0600
Subject: [PATCH 08/18] modified: review/tf_print2.css modified:
review/tf_styles4.css
---
review/tf_print2.css | 8 +++++---
review/tf_styles4.css | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/review/tf_print2.css b/review/tf_print2.css
index dd4fac8..fde76ae 100644
--- a/review/tf_print2.css
+++ b/review/tf_print2.css
@@ -5,8 +5,8 @@
Tutorial 5
Review Assignment
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/8/18
Filename: tf_print2.css
@@ -18,7 +18,9 @@
/* Hidden Objects */
-
+nav, h1, #left, footer {
+ display: none;
+}
/* Page Box Styles */
diff --git a/review/tf_styles4.css b/review/tf_styles4.css
index 6e461e4..d6154b6 100644
--- a/review/tf_styles4.css
+++ b/review/tf_styles4.css
@@ -12,9 +12,9 @@
This file contains the screen styles used with the Trusted
Friends blog tips
+NOTE: If this isn't working for you, our code here likely shouldn't have anything wrong with it
*/
-
/* Import Basic Design Styles Used on All Screens */
@import url("tf_designs.css");
From d608160c39d4e4d20fea425becc0f9eef5caeb53 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Mon, 12 Nov 2018 07:59:02 -0600
Subject: [PATCH 09/18] new file: review/.directory modified:
review/tf_print2.css
---
review/.directory | 4 ++++
review/tf_print2.css | 52 ++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 54 insertions(+), 2 deletions(-)
create mode 100644 review/.directory
diff --git a/review/.directory b/review/.directory
new file mode 100644
index 0000000..af85a16
--- /dev/null
+++ b/review/.directory
@@ -0,0 +1,4 @@
+[Dolphin]
+PreviewsShown=true
+Timestamp=2018,11,12,7,55,4
+Version=3
diff --git a/review/tf_print2.css b/review/tf_print2.css
index fde76ae..dfcd9da 100644
--- a/review/tf_print2.css
+++ b/review/tf_print2.css
@@ -24,21 +24,69 @@ nav, h1, #left, footer {
/* Page Box Styles */
-
+@page {
+ size: 8.5in 11in;
+ margin: 0.5in;
+}
/* Header Styles */
-
+#logo {
+ display: block;
+ width: 100%;
+}
/* Typography Styles */
+article {
+ margin-bottom: 0.2in;
+}
+article h1 {
+ font-size: 24pt;
+ line-height: 26pt;
+}
+
+aside {
+ background-color: rgb(211, 211, 211);
+ margin-top: 0.3in;
+}
+aside h1 {
+ font-size: 18pt;
+ line-height: 20pt;
+}
+
+aside img {
+ width: 0.8in;
+}
+
+p{
+ font-size: 12pt;
+ margin-bottom: 0.1in;
+ margin-top: 0.1in;
+}
/* Hypertext Styles */
+a {
+ color: black;
+ font-weight: bold;
+ word-wrap: break-word;
+}
/* Page Break Styles */
+ aside {
+ page-break-before: always;
+}
+
+ img, ol, ul {
+ page-break-inside: avoid;
+}
+p {
+ orphans: 3;
+ widows: 3;
+}
\ No newline at end of file
From b4b764158a1d5f052ed71814650f0ecda37e9607 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Mon, 12 Nov 2018 08:33:25 -0600
Subject: [PATCH 10/18] renamed: case1/gp_cover_txt.html ->
case1/gp_cover.html renamed: case1/gp_layout_txt.css ->
case1/gp_layout.css renamed: case1/gp_page1_txt.html ->
case1/gp_page1.html renamed: case1/gp_page2_txt.html ->
case1/gp_page2.html renamed: case1/gp_page3_txt.html ->
case1/gp_page3.html renamed: case1/gp_print_txt.css ->
case1/gp_print.css
---
case1/{gp_cover_txt.html => gp_cover.html} | 8 +++--
case1/{gp_layout_txt.css => gp_layout.css} | 42 +++++++++++++++++-----
case1/{gp_page1_txt.html => gp_page1.html} | 8 +++--
case1/{gp_page2_txt.html => gp_page2.html} | 8 +++--
case1/{gp_page3_txt.html => gp_page3.html} | 8 +++--
case1/{gp_print_txt.css => gp_print.css} | 4 +--
6 files changed, 59 insertions(+), 19 deletions(-)
rename case1/{gp_cover_txt.html => gp_cover.html} (87%)
rename case1/{gp_layout_txt.css => gp_layout.css} (59%)
rename case1/{gp_page1_txt.html => gp_page1.html} (87%)
rename case1/{gp_page2_txt.html => gp_page2.html} (90%)
rename case1/{gp_page3_txt.html => gp_page3.html} (90%)
rename case1/{gp_print_txt.css => gp_print.css} (85%)
diff --git a/case1/gp_cover_txt.html b/case1/gp_cover.html
similarity index 87%
rename from case1/gp_cover_txt.html
rename to case1/gp_cover.html
index 2ced369..0eb56d9 100644
--- a/case1/gp_cover_txt.html
+++ b/case1/gp_cover.html
@@ -7,14 +7,18 @@
Case Problem 1
Ghost of the Deep Cover Page
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/12/18
Filename: gp_cover.html
-->
Ghost of the Deep Cover Page
+
+
+
+
diff --git a/case1/gp_layout_txt.css b/case1/gp_layout.css
similarity index 59%
rename from case1/gp_layout_txt.css
rename to case1/gp_layout.css
index 00370c1..41d752d 100644
--- a/case1/gp_layout_txt.css
+++ b/case1/gp_layout.css
@@ -5,8 +5,8 @@
Tutorial 5
Case Problem 1
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/12/18
Filename: gp_layout.css
@@ -22,19 +22,43 @@
@import url("gp_designs.css");
/* Flex Layout Styles */
-
-
-
+body {
+ display: -webkit-flexbox;
+ display: flexbox;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+
+}
+section#sheet{
+ -webkit-flex: 3 1 301px;
+ flex: 3 1 301px;
+}
+article{
+ -webkit-flex: 1 3 180px;
+ flex: 1 3 180px;
+}
/* ============================================
Mobile Devices: 0 - 480 pixels
============================================
*/
-
-
-
-
+@media only screen and (max-width: 480px) {
+
+ img.panel{
+ width: 100%;
+ }
+ nav.horizontal {
+ -webkit-order: 99;
+ order:99;
+ }
+ body footer{
+ -webkit-order: 100;
+ order: 100;
+ }
+
+
+}
/* ===================================================
Tablet and Desktop Devices: Greater than 480 pixels
===================================================
diff --git a/case1/gp_page1_txt.html b/case1/gp_page1.html
similarity index 87%
rename from case1/gp_page1_txt.html
rename to case1/gp_page1.html
index 846288b..21d0132 100644
--- a/case1/gp_page1_txt.html
+++ b/case1/gp_page1.html
@@ -7,14 +7,18 @@
Case Problem 1
Ghost of the Deep Page 1
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/12/18
Filename: gp_page1.html
-->
Ghost of the Deep Page 1
+
+
+
+
diff --git a/case1/gp_page2_txt.html b/case1/gp_page2.html
similarity index 90%
rename from case1/gp_page2_txt.html
rename to case1/gp_page2.html
index fc80c51..507b74f 100644
--- a/case1/gp_page2_txt.html
+++ b/case1/gp_page2.html
@@ -7,14 +7,18 @@
Case Problem 1
Ghost of the Deep Page 2
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/12/18
Filename: gp_page2.html
-->
Ghost of the Deep Page 2
+
+
+
+
diff --git a/case1/gp_page3_txt.html b/case1/gp_page3.html
similarity index 90%
rename from case1/gp_page3_txt.html
rename to case1/gp_page3.html
index 06f2365..c8a4172 100644
--- a/case1/gp_page3_txt.html
+++ b/case1/gp_page3.html
@@ -7,14 +7,18 @@
Case Problem 1
Ghost of the Deep Page 3
- Author:
- Date:
+ Author: seth bethany
+ Date: 11/12/18
Filename: gp_page3.html
-->
Ghost of the Deep Page 3
+
+
+
+
diff --git a/case1/gp_print_txt.css b/case1/gp_print.css
similarity index 85%
rename from case1/gp_print_txt.css
rename to case1/gp_print.css
index f8fc0d4..71f67f9 100644
--- a/case1/gp_print_txt.css
+++ b/case1/gp_print.css
@@ -4,8 +4,8 @@
Tutorial 5
Case Problem 1
- Author:
- Date:
+ Author: seth and bethany
+ Date: 11/12/18
Filename: gp_print.css
From 2eaf557a4a187974060c4201121f5bf3d97bf9f9 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Mon, 12 Nov 2018 09:14:33 -0600
Subject: [PATCH 11/18] modified: case1/gp_layout.css modified:
case1/gp_print.css
---
case1/gp_layout.css | 40 ++++++++++++++++++++++++++++++++++++----
case1/gp_print.css | 32 ++++++++++++++++++++++++++------
2 files changed, 62 insertions(+), 10 deletions(-)
diff --git a/case1/gp_layout.css b/case1/gp_layout.css
index 41d752d..5b8c5da 100644
--- a/case1/gp_layout.css
+++ b/case1/gp_layout.css
@@ -23,8 +23,10 @@
/* Flex Layout Styles */
body {
- display: -webkit-flexbox;
- display: flexbox;
+ display: -webkit-flex;
+ display: -moz-flex;
+ display: -ms-flex;
+ display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
@@ -52,7 +54,7 @@ article{
-webkit-order: 99;
order:99;
}
- body footer{
+ body > footer{
-webkit-order: 100;
order: 100;
}
@@ -63,4 +65,34 @@ article{
Tablet and Desktop Devices: Greater than 480 pixels
===================================================
*/
-
+@media only screen and (min-width: 481px) {
+
+ nav.horizontal ul{
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ height: 40px;
+ }
+
+ nav.horizontal ul li {
+ -webkit-flex: 1 1 auto;
+ flex: 1 1 auto;
+ }
+
+ img.size1 {
+ width: 100%;
+ }
+
+ img.size2 {
+ width: 60%;
+ }
+
+ img.size3 {
+ width: 40%;
+ }
+
+ img.size4 {
+ width: 30%;
+ }
+}
diff --git a/case1/gp_print.css b/case1/gp_print.css
index 71f67f9..40de273 100644
--- a/case1/gp_print.css
+++ b/case1/gp_print.css
@@ -18,14 +18,34 @@
/* Hidden Objects */
-
-
-
-
-
+nav, footer, article {
+ display: none;
+}
/* Comic Book Sheet Styles */
-
+section#sheet {
+ width: 6in;
+ margin-top: 0in;
+ margin-bottom: 0in;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+img.size1 {
+ width: 5in;
+}
+
+img.size2 {
+ width: 3in;
+}
+
+img.size3 {
+ width: 2in;
+}
+
+img.size4 {
+ width: 1.5in;
+}
From c76f4c78f76653a06e8a7d0aae4d6f85f550c563 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Mon, 12 Nov 2018 10:04:58 -0600
Subject: [PATCH 12/18] new file: case2/wc_styles.css deleted:
case2/wc_styles_txt.css
---
case2/wc_styles.css | 76 +++++++++++++++++++++++++++++++++++++++++
case2/wc_styles_txt.css | 41 ----------------------
2 files changed, 76 insertions(+), 41 deletions(-)
create mode 100644 case2/wc_styles.css
delete mode 100644 case2/wc_styles_txt.css
diff --git a/case2/wc_styles.css b/case2/wc_styles.css
new file mode 100644
index 0000000..f093e35
--- /dev/null
+++ b/case2/wc_styles.css
@@ -0,0 +1,76 @@
+@charset "utf-8";
+
+/*
+ New Perspectives on HTML5 and CSS3, 7th Edition
+ Tutorial 5
+ Case Problem 2
+
+ Author: Seth and Bethany
+ Date: 11/12/18
+
+ Filename: wc_styles.css
+
+ This file contains the layout styles and media
+ queries used with sample pages from the Willet
+ Creek Golf Course website.
+
+*/
+
+@import url("wc_designs.css");
+
+/* Import Design Styles */
+
+
+
+/* Flex Layout Styles */
+body {
+ display: -webkit-flex;
+ display: -moz-flex;
+ display: -ms-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+nav#hole_list {
+ -webkit-flex: 1 3 140px;
+ flex: 1 3 140px;
+}
+
+article {
+ -webkit-flex: 3 1 341px;
+ flex: 3 1 341px;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+section#stats {
+ -webkit-flex: 1 4 120px;
+ flex: 1 4 120px;
+}
+
+section#summary {
+ -webkit-flex: 4 1 361px;
+ flex: 1 4 361px;
+}
+
+aside {
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+/* =============================
+ Mobile Styles: 0 - 480 pixels
+ =============================
+*/
+
+
+
+
+
+/* =================================================
+ Tablet and Desktop Styles: 481 pixels and greater
+ =================================================
+*/
+
diff --git a/case2/wc_styles_txt.css b/case2/wc_styles_txt.css
deleted file mode 100644
index 0534fe4..0000000
--- a/case2/wc_styles_txt.css
+++ /dev/null
@@ -1,41 +0,0 @@
-@charset "utf-8";
-
-/*
- New Perspectives on HTML5 and CSS3, 7th Edition
- Tutorial 5
- Case Problem 2
-
- Author:
- Date:
-
- Filename: wc_styles.css
-
- This file contains the layout styles and media
- queries used with sample pages from the Willet
- Creek Golf Course website.
-
-*/
-
-
-/* Import Design Styles */
-
-
-
-/* Flex Layout Styles */
-
-
-
-/* =============================
- Mobile Styles: 0 - 480 pixels
- =============================
-*/
-
-
-
-
-
-/* =================================================
- Tablet and Desktop Styles: 481 pixels and greater
- =================================================
-*/
-
From 968f8c73d524640381806ac59609e46fb2afa9fa Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 13 Nov 2018 08:42:37 -0600
Subject: [PATCH 13/18] modified: case2/wc_styles.css renamed:
case3/cw_home_txt.html -> case3/cw_home.html renamed:
case3/cw_styles_txt.css -> case3/cw_styles.css
---
case2/wc_styles.css | 50 ++++++++++++++++++++--
case3/{cw_home_txt.html => cw_home.html} | 7 ++-
case3/{cw_styles_txt.css => cw_styles.css} | 6 ++-
3 files changed, 55 insertions(+), 8 deletions(-)
rename case3/{cw_home_txt.html => cw_home.html} (95%)
rename case3/{cw_styles_txt.css => cw_styles.css} (88%)
diff --git a/case2/wc_styles.css b/case2/wc_styles.css
index f093e35..b5ec691 100644
--- a/case2/wc_styles.css
+++ b/case2/wc_styles.css
@@ -56,21 +56,63 @@ section#summary {
}
aside {
+ display: -webkit-flex;
+ display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
}
+aside div {
+ -webkit-flex: 1 1 180px;
+ flex: 1 1 180px;
+}
+
/* =============================
Mobile Styles: 0 - 480 pixels
=============================
*/
-
-
-
+@media only screen and (max-width: 480px) {
+ nav#hole_list {
+ -webkit-order: 99;
+ order: 99;
+ }
+
+ footer {
+ -webkit-order: 100;
+ order: 100;
+ }
+
+ nav.horizontal ul {
+ display: none;
+ }
+
+ a#navicon:hover+ul, nav.horizontal:hover {
+ display: block;
+ }
+
+ aside {
+ display: none;
+ }
+
+}
/* =================================================
Tablet and Desktop Styles: 481 pixels and greater
=================================================
*/
-
+@media only screen and (min-width: 481px) {
+
+ a#navicon {
+ display: none;
+ }
+
+ nav.horizontal ul {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ -webkit-flex: 1 1 auto;
+ flex: 1 1 auto;
+ }
+}
diff --git a/case3/cw_home_txt.html b/case3/cw_home.html
similarity index 95%
rename from case3/cw_home_txt.html
rename to case3/cw_home.html
index 3d3f80e..556734f 100644
--- a/case3/cw_home_txt.html
+++ b/case3/cw_home.html
@@ -7,14 +7,17 @@
Case Problem 3
Cauli-Wood Gallery home page
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/13/18
Filename: cw_home.html
-->
Cauli-Wood Gallery
+
+
+
diff --git a/case3/cw_styles_txt.css b/case3/cw_styles.css
similarity index 88%
rename from case3/cw_styles_txt.css
rename to case3/cw_styles.css
index a641272..f1b662c 100644
--- a/case3/cw_styles_txt.css
+++ b/case3/cw_styles.css
@@ -5,8 +5,8 @@
Tutorial 5
Case Problem 3
- Author:
- Date:
+ Author: Seth and Bethany
+ Date: 11/13/18
Filename: cw_styles.css
@@ -15,6 +15,8 @@
*/
+@import url("cw_designs.css");
+
/* Import Basic Design Styles */
From da1368b7074b063d9a5a00cc7fdf915b96b19b11 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 13 Nov 2018 09:26:43 -0600
Subject: [PATCH 14/18] modified: case3/cw_styles.css
---
case3/cw_styles.css | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/case3/cw_styles.css b/case3/cw_styles.css
index f1b662c..b475c5f 100644
--- a/case3/cw_styles.css
+++ b/case3/cw_styles.css
@@ -20,6 +20,18 @@
/* Import Basic Design Styles */
+nav#bottom ul{
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ justify-content: center;
+}
+
+nav#bottom ul li{
+ -webkit-flex-basis: 150px;
+ flex-basis: 150px;
+}
/* ===============================
@@ -33,7 +45,18 @@
Mobile Styles up to 480 pixels
===============================
*/
+@media only screen and (max-width: 480px) {
+
+ body {
+ color: rgb(211, 211, 211);
+ background-color: rgb(51, 51, 51);
+ }
+
+ aside, article > img, section#spotlight{
+ display: none;
+ }
+}
From 67dc3beee55f4b90466da1203696ff907c6aed88 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Tue, 13 Nov 2018 10:08:33 -0600
Subject: [PATCH 15/18] modified: case3/cw_styles.css
---
case3/cw_styles.css | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/case3/cw_styles.css b/case3/cw_styles.css
index b475c5f..325abd7 100644
--- a/case3/cw_styles.css
+++ b/case3/cw_styles.css
@@ -20,6 +20,11 @@
/* Import Basic Design Styles */
+
+/* ===============================
+ General Styles for All Devices
+ ===============================
+*/
nav#bottom ul{
display: -webkit-flex;
display: flex;
@@ -34,13 +39,6 @@ nav#bottom ul li{
}
-/* ===============================
- General Styles for All Devices
- ===============================
-*/
-
-
-
/* ===============================
Mobile Styles up to 480 pixels
===============================
@@ -56,6 +54,16 @@ nav#bottom ul li{
display: none;
}
+ nav#top ul{
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+ font-size: 2.2em;
+ -webkit-flex: 1 1 130px;
+ flex: 1 1 130px;
+ }
+
}
From 56627b1c8feac41e0541d143b5107f5129209ed2 Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Wed, 14 Nov 2018 08:44:31 -0600
Subject: [PATCH 16/18] modified: case3/cw_styles.css
---
case3/cw_styles.css | 92 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 88 insertions(+), 4 deletions(-)
diff --git a/case3/cw_styles.css b/case3/cw_styles.css
index 325abd7..6db2a9d 100644
--- a/case3/cw_styles.css
+++ b/case3/cw_styles.css
@@ -25,7 +25,8 @@
General Styles for All Devices
===============================
*/
-nav#bottom ul{
+
+nav#bottom {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
@@ -33,16 +34,19 @@ nav#bottom ul{
justify-content: center;
}
-nav#bottom ul li{
+nav#bottom ul {
-webkit-flex-basis: 150px;
flex-basis: 150px;
}
-
/* ===============================
Mobile Styles up to 480 pixels
===============================
*/
+
+/*Note: like the annoyance of the review, for some reason, the mobile screen refuses to work, despite it being correct (at least, the css should be)
+If you remove the "and (max-width: 480px)" it should display what the mobile screen should look like. Sorry it has problems for some reason. */
+
@media only screen and (max-width: 480px) {
body {
@@ -50,7 +54,7 @@ nav#bottom ul li{
background-color: rgb(51, 51, 51);
}
- aside, article > img, section#spotlight{
+ aside, img, section#spotlight{
display: none;
}
@@ -64,6 +68,46 @@ nav#bottom ul li{
flex: 1 1 130px;
}
+ nav#top ul li:nth-of-type(1) {
+ background: url(cw_image01.png) no-repeat center;
+ background-size: contain;
+ }
+ nav#top ul li:nth-of-type(2) {
+ background: url(cw_image02.png) no-repeat center;
+ background-size: contain;
+ }
+ nav#top ul li:nth-of-type(3) {
+ background: url(cw_image03.png) no-repeat center;
+ background-size: contain;
+ }
+ nav#top ul li:nth-of-type(4) {
+ background: url(cw_image04.png) no-repeat center;
+ background-size: contain;
+ }
+ nav#top ul li:nth-of-type(5) {
+ background: url(cw_image05.png) no-repeat center;
+ background-size: contain;
+ }
+ nav#top ul li:nth-of-type(6) {
+ background: url(cw_image06.png) no-repeat center;
+ background-size: contain;
+ }
+
+ p#links {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ justify-content: space-around;
+ }
+
+ p#links a {
+ color: white;
+ background-color: rgb(220, 27, 27);
+ border-radius: 20px;
+ padding: 10px;
+ text-decoration: none;
+ }
}
@@ -72,4 +116,44 @@ nav#bottom ul li{
Tablet and Desktop Devices: 481px or more
============================================
*/
+@media only screen and (min-width: 481px) {
+
+ body {
+ display: -webkit-flex;
+ display: -moz-flex;
+ display: -ms-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+ }
+
+ article {
+ -webkit-flex: 2 1 400px;
+ flex: 2 1 400px;
+ }
+
+ aside {
+ -webkit-flex: 2 1 200px;
+ flex: 2 1 200px;
+ }
+
+ nav#top ul {
+ display: -webkit-flex;
+ display: flex;
+ background-color: rgb(51, 51, 51);
+ height: 50px;
+ justify-content: center;
+ align-items: center;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ }
+
+ nav#top ul li {
+ -webkit-flex-basis: 80px;
+ flex-basis: 80px;
+ }
+ p#links {
+ display: none;
+ }
+}
From e82be5b547a1667a834ba1955869416cb7c900bd Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Wed, 14 Nov 2018 10:05:36 -0600
Subject: [PATCH 17/18] modified: case3/cw_styles.css new file:
case4/jb_home.html deleted: case4/jb_home_txt.html new file:
case4/jb_styles.css deleted: case4/jb_styles_txt.css
---
case3/cw_styles.css | 2 +-
case4/jb_home.html | 132 ++++++++++++++++++++++++++++++++++++++++
case4/jb_home_txt.html | 22 -------
case4/jb_styles.css | 82 +++++++++++++++++++++++++
case4/jb_styles_txt.css | 17 ------
5 files changed, 215 insertions(+), 40 deletions(-)
create mode 100644 case4/jb_home.html
delete mode 100644 case4/jb_home_txt.html
create mode 100644 case4/jb_styles.css
delete mode 100644 case4/jb_styles_txt.css
diff --git a/case3/cw_styles.css b/case3/cw_styles.css
index 6db2a9d..0c39b22 100644
--- a/case3/cw_styles.css
+++ b/case3/cw_styles.css
@@ -44,7 +44,7 @@ nav#bottom ul {
===============================
*/
-/*Note: like the annoyance of the review, for some reason, the mobile screen refuses to work, despite it being correct (at least, the css should be)
+/*Note: like the annoyance of the review, for some reason, the mobile screen refuses to work, despite it being correct (at least, the css should mostly be correct)
If you remove the "and (max-width: 480px)" it should display what the mobile screen should look like. Sorry it has problems for some reason. */
@media only screen and (max-width: 480px) {
diff --git a/case4/jb_home.html b/case4/jb_home.html
new file mode 100644
index 0000000..b1bda34
--- /dev/null
+++ b/case4/jb_home.html
@@ -0,0 +1,132 @@
+
+
+
+
+
+ Jersey Buoys Surfing School
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Jersey Buoys
+ Owner: Tony Gallo
+
+ MAILING ADDRESS
+
141 Hodad Drive
+
Ocean City, NJ 08226
+
+ (609) 555-7873
+
+ gall@example.com/surf
+
+
+
+
+ Come enjoy the excitement of riding the waves along the Jersey Shore with Jersey Buoys.
+ Our nationally-accredited school brings its 22 years of experience in helping you become
+ the surfer you've dreamed of becoming.
+
+ Our classes are tailored to your needs. We provide instruction in basic surfing techniques
+ and advanced techniques from cutbacks to boosts to hobble-bobbles. Choose a private or
+ group lesson. Grommets can participate in 1, 3, or 5 half-day courses. We also sponsor
+ surfing camps with catered meals and lodging.
+
+ Whether a Barney or a Gandolf, you are always safe in our waters. Our experienced
+ instructors are accredited by the National Instructors and Surf Schools Association.
+ They are fully Red Cross and First Aid certified. In addition to being great teachers,
+ every instructor has gone through extensive lifeguard training.
+
+ The next big wave is approaching: Catch it with Jersey Buoys. Call to set up an
+ appointment, grab a board from the quiver and head to the Green Room.
+
+
+
+
+
+ Surfer Slang
+
+ barney
+ A new and inexperience surfer
+
+ boost
+ To take off from a wave into an aerial
+
+ cutback
+ To change direction when streaking ahead of the curl
+
+ gandolf
+ An experienced wise older surfer
+
+ green room
+ The inside of a tube
+
+ grommet
+ A very young surfer, a child
+
+ gurfer
+ A girl surfer
+
+ hobble-bobble
+ An aerial launch while flapping your arms like a bird
+
+ quiver
+ A collection of surfboards
+
+
+
+
+
+
+
+
+
diff --git a/case4/jb_home_txt.html b/case4/jb_home_txt.html
deleted file mode 100644
index 2fd8fdf..0000000
--- a/case4/jb_home_txt.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
- Jersey Buoys Surfing School
-
-
-
-
-
-
diff --git a/case4/jb_styles.css b/case4/jb_styles.css
new file mode 100644
index 0000000..d671f32
--- /dev/null
+++ b/case4/jb_styles.css
@@ -0,0 +1,82 @@
+@charset "utf-8";
+
+/*
+ New Perspectives on HTML5 and CSS3, 7th Edition
+ Tutorial 5
+ Case Problem 4
+
+ Author: Seth and Bethany
+ Date: 11/14/18
+
+ Filename: jb_styles.css
+
+ This file contains the screen styles used with the
+ Jersey Buoys home page
+
+*/
+
+/* General Styles */
+
+html{
+ background-color: rgb(89, 119, 249);
+}
+
+
+
+ p, address, h4, a, nav, h3{
+ color: rgb(0, 255, 42);
+ }
+}
+
+/* Flex Styles */
+
+nav#bottom {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+ justify-content: center;
+}
+
+nav#bottom ul {
+ -webkit-flex-basis: 150px;
+ flex-basis: 150px;
+}
+
+
+/* ===============================
+ Mobile Styles up to 480 pixels
+ ===============================
+*/
+
+@media only screen and (max-width: 480px) {
+
+
+}
+
+/* ============================================
+ Tablet and Desktop Devices: 481px or more
+ ============================================
+*/
+
+@media only screen and (min-width: 481px) {
+
+ body {
+ width: 95%;
+ min-width: 320px;
+ max-width: 960px;
+ margin-left: auto;
+ margin-right: auto;
+ background-color: rgb(255, 0, 216);
+ box-shadow: rgb(51, 51, 51) 10px 0px 50px, rgb(51, 51, 51) -10px 0px 50px;
+
+
+ display: -webkit-flex;
+ display: -moz-flex;
+ display: -ms-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+}
+
+}
\ No newline at end of file
diff --git a/case4/jb_styles_txt.css b/case4/jb_styles_txt.css
deleted file mode 100644
index cbb642a..0000000
--- a/case4/jb_styles_txt.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@charset "utf-8";
-
-/*
- New Perspectives on HTML5 and CSS3, 7th Edition
- Tutorial 5
- Case Problem 4
-
- Author:
- Date:
-
- Filename: jb_styles.css
-
- This file contains the screen styles used with the
- Jersey Buoys home page
-
-*/
-
From c861bae727fca7218248665d430713fdd705ed4a Mon Sep 17 00:00:00 2001
From: BethanyDuMontelle
Date: Mon, 19 Nov 2018 10:01:25 -0600
Subject: [PATCH 18/18] modified: case4/jb_home.html modified:
case4/jb_styles.css
---
case4/jb_home.html | 1 +
case4/jb_styles.css | 102 +++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 102 insertions(+), 1 deletion(-)
diff --git a/case4/jb_home.html b/case4/jb_home.html
index b1bda34..aa651a1 100644
--- a/case4/jb_home.html
+++ b/case4/jb_home.html
@@ -98,6 +98,7 @@ hobble-bobble
quiver
A collection of surfboards
+
diff --git a/case4/jb_styles.css b/case4/jb_styles.css
index d671f32..7614449 100644
--- a/case4/jb_styles.css
+++ b/case4/jb_styles.css
@@ -43,14 +43,62 @@ nav#bottom ul {
flex-basis: 150px;
}
+li{
+ list-style: none;
+}
+
+
/* ===============================
Mobile Styles up to 480 pixels
===============================
*/
-@media only screen and (max-width: 480px) {
+@media only screen and (max-width: 480px){
+ nav#top ul {
+ display: none;
+ }
+ a#navicon:hover+ul, nav#top:hover {
+ display: block;
+ }
+
+ section, article img{
+ display: none;
+ }
+
+ article p{
+ float: left;
+ }
+
+ aside#credit p a {
+ background-color: rgb(255, 38, 0);
+ font-size: 2.3em;
+ }
+
+ header ul li a{
+ font-size: 2em;
+ }
+
+ article {
+ -webkit-order: 99;
+ order: 99;
+
+ margin-right: 75px;
+ }
+
+ nav#bottom {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+ justify-content: center;
+ font-size: 1.5em;
+
+ -webkit-order: 100;
+ order: 100;
+ }
+
}
@@ -78,5 +126,57 @@ nav#bottom ul {
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
}
+
+ aside {
+ float: right;
+ padding-left: 20px;
+ }
+
+ a#navicon {
+ display: none;
+ }
+
+ nav#top ul {
+ display: -webkit-flex;
+ display: flex;
+
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+
+ -webkit-flex: 1 1 auto;
+ flex: 1 1 auto;
+
+ -webkit-justify-content: space-between;
+ justify-content: space-between;
+ }
+
+ section {
+ -webkit-order: 99;
+ order: 99;
+ }
+
+ nav#bottom {
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-flow: row wrap;
+ flex-flow: row wrap;
+ justify-content: center;
+
+ -webkit-order: 100;
+ order: 100;
+ }
+
+ img {
+ flex: 1 1 auto;
+ max-width: 95%;
+
+ }
+
+ p, h4, h3, img{
+ margin-left: 10px;
+ }
+
+
+
}
\ No newline at end of file