From 6d5cebc7c96fdc126af3e32a99aac8cefa099472 Mon Sep 17 00:00:00 2001 From: Jayce98c Date: Wed, 7 Apr 2021 11:17:22 -0700 Subject: [PATCH 1/4] built top section --- index.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 15 ++++++++++++- 2 files changed, 80 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index e69de29bb..de2a67e32 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,66 @@ +html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, +del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, +dl, dt, dd, ol, ul, li, fieldset, form, label, legend { + vertical-align: baseline; + font-family: inherit; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + outline: 0; + padding: 0; + margin: 0; + } +/* remember to define focus styles! */ +:focus { + outline: 0; + } +body { + background: white; + line-height: 1; + color: black; + } +ol, ul { + list-style: none; + } +/* tables still need cellspacing="0" in the markup */ +table { + border-collapse: separate; + border-spacing: 0; + } +caption, th, td { + font-weight: normal; + text-align: left; + } +/* remove possible quote marks (") from &
*/ +blockquote:before, blockquote:after, q:before, q:after { + content: ""; + } +blockquote, q { + quotes: "" ""; + } +*{ + box-sizing:border-box ; + max-width: 100%; + border: 1px solid gray; + +} + +html{ +font-size:62.5%; + +} +body{ + font-size: 1.6rem; + line-height: 1.5; +} + +nav{ + padding: 2% 0; +} +nav a{ + display:inline-block; + padding 1% 0; + border-radius:10px; + width:10%; +} \ No newline at end of file diff --git a/index.html b/index.html index 6fd71e4a1..1aa583a37 100644 --- a/index.html +++ b/index.html @@ -3,9 +3,22 @@ - + +
+ +
+
+
+sunrise over the mountains +
+ +
Plan your Visit Learn about the Park Get Involved From 7232b71dc478cd1f48c31c017921f609a1d8c0f0 Mon Sep 17 00:00:00 2001 From: Jayce98c Date: Wed, 7 Apr 2021 15:35:11 -0700 Subject: [PATCH 2/4] built top section git commit -m building top section --- index.css | 20 +++++++++++++------- index.html | 22 +++++++++++++--------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/index.css b/index.css index de2a67e32..e51fbf3b7 100644 --- a/index.css +++ b/index.css @@ -15,11 +15,7 @@ dl, dt, dd, ol, ul, li, fieldset, form, label, legend { :focus { outline: 0; } -body { - background: white; - line-height: 1; - color: black; - } + ol, ul { list-style: none; } @@ -53,14 +49,24 @@ font-size:62.5%; body{ font-size: 1.6rem; line-height: 1.5; + font-family: 'Roboto Mono', monospace; +} +h1{ + font-family: 'Chelsea Market', cursive; + font-size: 5rem; +} +section{ + padding: 4% 0; } - nav{ padding: 2% 0; } nav a{ display:inline-block; - padding 1% 0; + padding: 1% 0; border-radius:10px; width:10%; + text-align: center; + color: white; + text-decoration: none; } \ No newline at end of file diff --git a/index.html b/index.html index 1aa583a37..45e10c7e0 100644 --- a/index.html +++ b/index.html @@ -5,29 +5,33 @@ +
-sunrise over the mountains +sunrise over the mountains +
+
+

Yosemite Park Guide

+

Come explore California’s beautiful wilderness.

+

Always open. Reservations are not available or required to enter the park.

-
Plan your Visit Learn about the Park Get Involved - "header_img.jpg" - Yosemite Park Guide - Come explore California’s beautiful wilderness. - Always open. Reservations are not available or required to enter the park. + + + Not just a great valley, but a shrine to human foresight, the strength of granite, the power of glaciers, the persistence of life, and the tranquility of the High Sierra. From 4f6621c8943c10ba16e48909ac43eab298b12ada Mon Sep 17 00:00:00 2001 From: Jayce98c Date: Wed, 7 Apr 2021 16:20:36 -0700 Subject: [PATCH 3/4] finished toop part --- index.css | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index e51fbf3b7..4c8346137 100644 --- a/index.css +++ b/index.css @@ -53,7 +53,7 @@ body{ } h1{ font-family: 'Chelsea Market', cursive; - font-size: 5rem; + font-size: 5.5rem; } section{ padding: 4% 0; @@ -69,4 +69,37 @@ nav a{ text-align: center; color: white; text-decoration: none; +} +.orange{ +background-color: #FF764E; +margin-left: 10%; +} +.blue{ +background-color:#5ED3EB ; +margin: 0 24%; +} +.yellow{ +background-color:#FFCD69; +margin-right: 10%; +} + +/*top section*/ +.top{ + position: relative; +} +.top div{ + display: inline-block; + width: 45%; + margin: 0 2%; + text-align: center; +} +.left img{ + border-radius: 50%; + width: 60%; +} +.right{ + padding: 4%; + line-height: 2; + position: absolute; + bottom: 10%; } \ No newline at end of file From 2b5cd3726024a2aede1befd21aa11ca5c86b20bd Mon Sep 17 00:00:00 2001 From: Jayce98c Date: Wed, 7 Apr 2021 23:15:35 -0700 Subject: [PATCH 4/4] finished middle section --- index.css | 32 ++++++++++++++++++--------- index.html | 64 +++++++++++++++++++++++++----------------------------- 2 files changed, 52 insertions(+), 44 deletions(-) diff --git a/index.css b/index.css index 4c8346137..24882a7cf 100644 --- a/index.css +++ b/index.css @@ -43,17 +43,17 @@ blockquote, q { } html{ -font-size:62.5%; + font-size:62.5%; } body{ - font-size: 1.6rem; + font-size: 2rem; line-height: 1.5; font-family: 'Roboto Mono', monospace; } h1{ font-family: 'Chelsea Market', cursive; - font-size: 5.5rem; + font-size: 6rem; } section{ padding: 4% 0; @@ -71,16 +71,16 @@ nav a{ text-decoration: none; } .orange{ -background-color: #FF764E; -margin-left: 10%; + background-color: #FF764E; + margin-left: 10%; } .blue{ -background-color:#5ED3EB ; -margin: 0 24%; + background-color:#5ED3EB ; + margin: 0 24%; } .yellow{ -background-color:#FFCD69; -margin-right: 10%; + background-color:#FFCD69; + margin-right: 10%; } /*top section*/ @@ -101,5 +101,17 @@ margin-right: 10%; padding: 4%; line-height: 2; position: absolute; - bottom: 10%; + bottom: 20%; + top: 20%; +} +.middle{ + width: 40rem; + text-align: center; + margin: 0 auto; +} +.valley{ + background-color: #DDB9A3; +} +Span{ + text-transform: bold; } \ No newline at end of file diff --git a/index.html b/index.html index 45e10c7e0..daf3e108c 100644 --- a/index.html +++ b/index.html @@ -15,40 +15,36 @@
-
-sunrise over the mountains -
-
-

Yosemite Park Guide

-

Come explore California’s beautiful wilderness.

-

Always open. Reservations are not available or required to enter the park.

-
+
+ sunrise over the mountains +
+
+

Yosemite Park Guide

+

Come explore California’s beautiful wilderness.

+

Always open. Reservations are not available or required to enter the park.

+
- Plan your Visit - Learn about the Park - Get Involved - - - - - - - Not just a great valley, but a shrine to human foresight, the strength of granite, the power of glaciers, the persistence of life, and the tranquility of the High Sierra. - - First protected in 1864, Yosemite National Park is best known for its waterfalls, but within its nearly 1,200 square miles, you can find deep valleys, grand meadows, ancient giant sequoias, a vast wilderness area, and much more. - - "https://image.flaticon.com/icons/svg/2979/2979348.svg" - Fire is a natural and essential part of Yosemite. We manage fire carefully and study how it interacts with the park’s ecosystems. This blog provides updates about fires in Yosemite. Check for current fire restrictions. - - "https://image.flaticon.com/icons/svg/820/820374.svg" - We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the park entrance fee upon arrival (there's no need to pay it in advance). - - "footer_img.png" - - - Plan your Visit - Learn about the Park - Get Involved - +
+

Not just a great valley, but a shrine to human foresight, the strength of granite, the power of glaciers, the persistence of life, and the tranquility of the High Sierra. + First protected in 1864, Yosemite National Park is best known for its waterfalls, but within its nearly 1,200 square miles, you can find deep valleys, grand meadows, ancient giant sequoias, a vast wilderness area, and much more.

+
+
+ campfire +

Fire is a natural and essential part of Yosemite. We manage fire carefully and study how it interacts with the park’s ecosystems. This blog provides updates about fires in Yosemite. Check for current fire restrictions.

+ camper +

We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the park entrance fee upon arrival (there's no need to pay it in advance).

+
+
+
+ footer background +
+
+