Yosemite Park Guide
+Come explore California's beautiful wilderness.
+Always open. Reservations are not available or required to enter the park.
+From 67af7b9529d7ed45307132ff2480c2a9175f8c5b Mon Sep 17 00:00:00 2001 From: Christopher-Martinez-422 <107010274+Christopher-Martinez-422@users.noreply.github.com> Date: Tue, 10 Jan 2023 11:32:49 -0800 Subject: [PATCH] first commit --- README.md | 16 +++--- index.css | 162 +++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 80 ++++++++++++++++---------- 3 files changed, 221 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 0f460d079..db5af94c7 100644 --- a/README.md +++ b/README.md @@ -21,19 +21,19 @@ The styles in your [design file](/design/desktop.jpg) include bright colors and Follow these steps to set up and work on your project: -- [ ] Fork the repository, then clone from your fork. -- [ ] Go into Canvas and connect your repository by copy-pasting its Github URL into the submission slot. -- [ ] DO NOT CREATE A BRANCH. You will be pushing your changes to the main/master today. -- [ ] cd into your repository on the command line and use code . to open VS Code. -- [ ] Download the Live Server extension from the Extensions tab on the left side of your VS Code. After it is done installing, click "Go Live" on the bottom right side of your screen to run your HTML file. -- [ ] Complete your work making regular commits to the main branch; your submitted URL will always reflect your most recent work. +- [X] Fork the repository, then clone from your fork. +- [X] Go into Canvas and connect your repository by copy-pasting its Github URL into the submission slot. +- [X] DO NOT CREATE A BRANCH. You will be pushing your changes to the main/master today. +- [X] cd into your repository on the command line and use code . to open VS Code. +- [X] Download the Live Server extension from the Extensions tab on the left side of your VS Code. After it is done installing, click "Go Live" on the bottom right side of your screen to run your HTML file. +- [X] Complete your work making regular commits to the main branch; your submitted URL will always reflect your most recent work. ### Task 2: Minimum Viable Product 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 implement a CSS reset -- [ ] Markup html semantically, such that it can be styled according to the given desktop image +- [X] Link your CSS stylesheet in the `index.html` and implement a CSS reset +- [X] 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` diff --git a/index.css b/index.css index e69de29bb..944f549d2 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,162 @@ +/*CSS Reset*/ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + /* border: 0; */ + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} + +*{ + box-sizing: border-box; + /* border: 1px solid gray; */ + max-width: 100%; +} + +/*General Styles*/ + +html{ + 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: 6rem; +} + +section{ + padding: 4% 0; + width: 90%; + margin: 0 auto; +} +/* header section styles */ + +nav{ + padding: 2% 0; +} +nav a{ + display:inline-block; + padding: 1% 0; + width: 10%; + text-align: center; + border-radius: 10px; + color: #fff; + text-decoration: none; +} + +.orange{ + background-color: #ff764e; + margin-left: 10%; +} + +.blue{ + background-color: #5ed3eb; + margin: 0 24%; +} + +.yellow{ + background-color: #FFCD69; + margin-right: 10%; +} + +/* title section */ +.cta{ + position: relative; +} + +.text, .image{ + display: inline-block; +} + +.image{ + width: 30%; +} + +.round{ + border-radius: 50%; +} + +.text{ + width: 55%; + margin-left: 5%; + text-align: center; + line-height: 3; + position: absolute; + top: 100px; +} + +/* main */ +.main{ + background-color: DDB9A3; + font: #fff; + padding: 2%; +} + +.info div{ + width: 30%; + margin: 5% auto; +} + +.bold{ + font-weight: bold; +} + +.bg-img{ + background-image: url('assets/footer_img.jpg'); + height: 50vh; + background-repeat: no-repeat; + background-size: cover; + background-position: top center; + width: 100%; +} + +footer{ + background-color: #F9E7DC; +} \ No newline at end of file diff --git a/index.html b/index.html index b602ee2b0..99b6f856e 100644 --- a/index.html +++ b/index.html @@ -2,36 +2,58 @@
- - + + + - 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. - - "campfire.png" - 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.png" - 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 - +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.
+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).
+