From 7f738bcb52d17e54dee357919a21cfdac8dc40ff Mon Sep 17 00:00:00 2001 From: Amanda Burtness Date: Tue, 16 Feb 2021 19:16:01 -0800 Subject: [PATCH] updated html and css according to the hw instructions --- index.css | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 71 +++++++++++++++++++++++++---------------- 2 files changed, 138 insertions(+), 27 deletions(-) diff --git a/index.css b/index.css index e69de29bb..fe160b101 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,94 @@ +/*FONTS*/ +@import url('https://fonts.googleapis.com/css2?family=Chelsea+Market&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Roboto+Mono:wght@100&display=swap'); + +* { + box-sizing: border-box; + max-width: 100%; + /* border: 1px solid green; /* comment in and out to see your box model */ + font-family: 'Roboto Mono', monospace; + text-align: center; + } + +nav a { + display: inline-block; + text-align: center; + font-weight: bold; + border-radius: 13px; + padding: 1em 1.5em; + margin: 3% 8%; + font-size: 1em; +} + +#headerimage { + border-radius: 100%; + height: 20%; + width: 20%; + float: left; + margin-left: 5%; +} + +#info { + display: inline-block; +} + +.plan-visits { + background-color: #FF764E; + color: white; +} + +.about-park { + background-color: #5ED3EB; + color: white; +} + +.involved { + background-color: #FFCD69; + color: white; +} + +h1 { + font-family: 'Chelsea Market', cursive; + text-align: center; + font-size: 3.5em; +} + +h2 { + margin: 0 10%; +} + +#secondh2 { + margin: 0 25%; +} + + +#main { + background-color: #DDB9A3; + color: white; + font-size: 1.2em; + margin: 4% 5%; + padding: 0.25%; +} + +.warning { + padding: 0 40%; +} + +.warning img { + padding: 0 25%; +} + +.bold { + font-weight: bold; +} + +footer { + background-color: #F9E7DC; +} + +#footerimg { + width: 100%; + object-fit: cover; + height: 300px; + display: block; +} \ No newline at end of file diff --git a/index.html b/index.html index 6fd71e4a1..b4ef0edd9 100644 --- a/index.html +++ b/index.html @@ -3,35 +3,52 @@ + +
+ + 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. - - 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.

+
+ +
+ +

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.

+
+ +
+ +

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

+
+ + + + + +