From 4b059ac4234fbdc7ac58f1a093c302618257b1f0 Mon Sep 17 00:00:00 2001 From: Casey Rogers Date: Wed, 28 Oct 2020 16:41:45 -0700 Subject: [PATCH 1/2] Uploading finished work --- README.md | 35 +++++----- index.css | 197 +++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 76 +++++++++++++-------- 3 files changed, 263 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 820e00ab1..6ba03f070 100644 --- a/README.md +++ b/README.md @@ -31,24 +31,23 @@ Follow these steps to set up and work on your project: Once your repository is set up, practice what you learned today to style the site according to the given design. Your complete project should look similar to the desktop image. You should take the following actions, at a minimum: -- [ ] Link your CSS stylesheet in the `index.html` and impliment a CSS reset -- [ ] Markup html semantically, such that it can be styled according to the given desktop image -- [ ] Color the background of items in the navigation bar and footer with the following colors: - - [ ] Plan your Visit: `#FF764E` - - [ ] Learn About the Park: `#5ED3EB` - - [ ] Get Involved: `#FFCD69` -- [ ] Change all font colors and styles according to design file - - [ ] Yosemite Park Guide font is called Chelsea Market and can be found on [google fonts](https://fonts.google.com/specimen/Chelsea+Market) - - [ ] All other text is Roboto Mono, also available on [google fonts](https://fonts.google.com/specimen/Roboto+Mono) -- [ ] Color the background of the main text body with `#DDB9A3` -- [ ] Color the background of the footer with `#F9E7DC` -- [ ] Bold the words "current fire restrictions" and "park entrance fee" according to the design file -- [ ] Apply box model properties (content, padding, margin, and border) to all content such that your webpage matches the design file. This will include at least: - - [ ] A round image in the header - - [ ] Round corners on navigation and footer items - - [ ] Header image and text side by side - - [ ] Centered content and margins around content - - [ ] Footer image positioning +- [x] Link your CSS stylesheet in the `index.html` and impliment a CSS reset +- [x] Markup html semantically, such that it can be styled according to the given desktop image +- [x] Color the background of items in the navigation bar and footer with the following colors: + - [x] Plan your Visit: `#FF764E` + - [x] Learn About the Park: `#5ED3EB` + - [x] Get Involved: `#FFCD69` +- [x] Change all font colors and styles according to design file + - [x] Yosemite Park Guide font is called Chelsea Market and can be found on [google fonts](https://fonts.google.com/specimen/Chelsea+Market) + - [x] All other text is Roboto Mono, also available on [google fonts](https://fonts.google.com/specimen/Roboto+Mono) +- [x] Color the background of the main text body with `#DDB9A3` +- [x] Bold the words "current fire restrictions" and "park entrance fee" according to the design file +- [x] Apply box model properties (content, padding, margin, and border) to all content such that your webpage matches the design file. This will include at least: + - [x] A round image in the header + - [x] Round corners on navigation and footer items + - [x] Header image and text side by side + - [x] Centered content and margins around content + - [x] Footer image positioning **Throughout your design you should avoid static units (pixels), and should instead use responsive units wherever possible.** diff --git a/index.css b/index.css index e69de29bb..87aa661b2 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,197 @@ +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 { + + /* font-family: inherit; */ + font-weight: inherit; + font-style: inherit; + font-size: 100%; + /* outline: 0; */ + /* padding: 0; */ + border: 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: "" ""; + } + +.container{ + width: 100%; + border: 0px solid black; + +} + +/* This is my work below */ + +html{ + font-size:62.5%; + } + +a { + margin-left: 50px; +} + +p { + text-align: center; + vertical-align: auto; +} + +a:link { + text-decoration: none; + } + +.links { + + display: inline-block; + width: 99%; + height: 20vh; + font-family: 'Roboto Mono', monospace; + text-align:center; +} +.links1 { + + display: inline-block; + width: 99%; + text-align: center; + vertical-align: center; + height: 20vh; + font-family: 'Roboto Mono', monospace; + background-color: #F9E7DC; +} + +.circle{ + border-radius:50%; + width: 25%; + +} + +.center{ + width: 15%; + height: 40vh; +} + +.center2{ + width: 15% + height: 40vh; +} + +.section{ + display:inline-block; + width: 50%; + height: 300px; + position: absolute; + left: 30%; + top: 30%; + font-family: 'Roboto Mono', monospace; + font-size: 2rem; + text-align: center; + +} + +h1{ + text-align: center; + font-size: 5rem; + font-family: 'Chelsea Market', cursive; +} +.section2{ + + width: 85%; + height: 300px; + align-items: center; + margin: 50px; + background-color: #DDB9A3; + color: white; + font-size: 2.5rem; + font-family: 'Roboto Mono', monospace; + + +} + +.footer{ + width: 99%; + height: 40vh; + +} + +.fire{ + text-align: center; + width: 50%; + margin-left: 25%; + font-family: 'Roboto Mono', monospace; + font-size: 1.5rem; +} + +.bus{ + + text-align: center; + width: 50%; + margin-left: 25%; + font-family: 'Roboto Mono', monospace; + font-size: 1.5rem; +} + +.button1{ + + display:inline-block; + width:200px; + text-align:center; + padding:2% 0; + border-radius:10px; + margin:0 auto; + background-color: #FF764E; + color: white; + font-family: 'Roboto Mono', monospace; + font-size: 1.5rem; + +} + +.button2{ + + background-color: #5ED3EB; + display:inline-block; + width:200px; + text-align:center; + padding:2% 0; + border-radius:10px; + color: white; + font-family: 'Roboto Mono', monospace; + font-size: 1.5rem; +} + +.button3{ + + display:inline-block; + background-color: #FFCD69; + width: 200px; + text-align:center; + padding:2% 0; + border-radius:10px; + color: white; + font-family: 'Roboto Mono', monospace; + font-size: 1.5rem; +} \ No newline at end of file diff --git a/index.html b/index.html index 6fd71e4a1..ea512f042 100644 --- a/index.html +++ b/index.html @@ -3,35 +3,57 @@ - + + + - - Plan your Visit - Learn about the Park - Get Involved - - - "header_img.jpg" - Yosemite Park Guide - Come explore California’s beautiful wilderness. + + + + + + Yosemite +
+

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

+
+ + + + + From ecb667acdfd2a8d2e79ca5bcff0a2193d06811d6 Mon Sep 17 00:00:00 2001 From: Casey Rogers Date: Wed, 28 Oct 2020 16:43:24 -0700 Subject: [PATCH 2/2] uploading finished project --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ea512f042..139b9c8b8 100644 --- a/index.html +++ b/index.html @@ -21,9 +21,9 @@

Yosemite Park Guide

Come explore California’s beautiful wilderness.

-

+

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

+