From 458edb6d57e82ea9b15ecb296f55038ec0130472 Mon Sep 17 00:00:00 2001 From: Max Tilden Date: Wed, 4 Aug 2021 15:32:15 -0700 Subject: [PATCH 1/2] assignment --- index.css | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 41 ++++++++++++++----- 2 files changed, 145 insertions(+), 11 deletions(-) diff --git a/index.css b/index.css index e69de29bb..693dc9884 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,115 @@ +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; + border: 0; + } +/* remember to define focus styles! */ +:focus { + outline: 0; + } + +/* tables still need cellspacing="0" in the markup */ + +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; + padding:0; + margin:0; + max-width:100%; + border:1px solid grey; + + } +html{ + font-size:62.5%; + } +body{ + font-size:1rem; + line-height:1.5; + color:#4f4f4f; + font-family: 'Roboto Mono', monospace; + } +h1{ + font-family: 'Chelsea Market', cursive; + font-size:5rem; +} +h2{ + font-size:2rem; +} +section{ + padding:4% 0; + } + a{ + text-decoration:none; + font-family: 'Roboto Mono', monospace; + } + /* header section styles*/ +nav{ + padding:2% 0; + + } + nav a{ + display:inline-block; + padding:1% 0; + width: 10%; + border-radius:10px; + text-align:center; + color:white; + } + .orange{ + background-color:#FF764E ; + margin-left:10% + } + .blue{ + background-color: #5ED3EB; + margin:0 24%; + } + .yellow{ + background-color: #FFCD69; + margin-right:10% + } + /*top section styles*/ +.top{ + position:relative; +} + +.left, .right{ + text-align:center; + display:inline-block; +} +.left{ + width:35%; +} +.left img{ + width:80%; + border-radius:50%; +} +.right{ + width:60%; + position:absolute; + top:50%; +} +.middle{ + background-color:#DDB9A3; + color:white; + text-align:center; + font-size:2rem; +} \ No newline at end of file diff --git a/index.html b/index.html index 6fd71e4a1..ad9b1327e 100644 --- a/index.html +++ b/index.html @@ -2,23 +2,42 @@ + + + - + - Plan your Visit - Learn about the Park - Get Involved +
+ +
+
+
+ sunrise over mountains in Yosemite National Park +
+
+
+

Yosemite Park Guide

+

Come explore California’s beautiful wilderness.

+

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

+
+
+
- "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. +
+

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. +

+
- 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. From b0a6878a7c43425a0fad1c5b6ae09ff1fd096191 Mon Sep 17 00:00:00 2001 From: Max Tilden Date: Thu, 5 Aug 2021 11:52:11 -0700 Subject: [PATCH 2/2] complete --- index.css | 19 ++++++++++++++++++- index.html | 35 ++++++++++++++++++++++------------- 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/index.css b/index.css index 693dc9884..08ee1c245 100644 --- a/index.css +++ b/index.css @@ -35,7 +35,7 @@ blockquote, q { padding:0; margin:0; max-width:100%; - border:1px solid grey; + } html{ @@ -112,4 +112,21 @@ nav{ color:white; text-align:center; font-size:2rem; +} +.bottom{ + width:25%; + margin:5% auto; + +} +.bold{ + font-weight:bold; +} +.landscape{ + background-image: url('assets/footer_img.jpg'); + height:35vh; + background-repeat: no-repeat; + background-size: cover; +} +footer{ + background-color:#F9E7DC; } \ No newline at end of file diff --git a/index.html b/index.html index ad9b1327e..d414a2be3 100644 --- a/index.html +++ b/index.html @@ -36,21 +36,30 @@

Come explore California’s beautiful wilderness.

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.

+
+
+ camper +
+

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.

+
+ campfire +

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). +

+
+
+
+ +
+ + - "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 -