diff --git a/README.md b/README.md index 820e00ab1..2c8bf8fca 100644 --- a/README.md +++ b/README.md @@ -21,28 +21,28 @@ The styles in your [design file](/design/desktop.jpg) include bright colors and Follow these steps to set up and work on your project: -- [ ] Create a forked copy of this project. -- [ ] Clone your OWN version of the repository (Not Lambda's by mistake!). -- [ ] Create a new branch: git checkout -b ``. -- [ ] Implement the project on your newly created `` branch, committing changes regularly. +- [x] Create a forked copy of this project. +- [x] Clone your OWN version of the repository (Not Lambda's by mistake!). +- [x] Create a new branch: git checkout -b ``. +- [x] Implement the project on your newly created `` branch, committing changes regularly. - [ ] Push commits: git push -u origin ``. ### 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 impliment a CSS reset +- [x] 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` +- [ ] 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 +- [x] 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 diff --git a/index.css b/index.css index e69de29bb..54fa5aa7d 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,106 @@ +html { + font-size: 62.5%; +} + +body { + font-family: 'Roboto Mono', monospace; + font-size: 1.6rem; + max-width: 100%; +} + +/* CSS reset */ + +/* tab blocks */ +.tab { + display: inline-block; + text-align: center; + border-radius: 30px; + width: 30%; + box-sizing: border-box; +} + +.plan { + background-color: #FF764E; + color: white; +} + +.learn { + background-color: #5ED3EB; + color: white; +} + +.get { + background-color: #FFCD69; + color: white; +} +/* tab blocks on top */ + +nav { + border: 1px red solid; + box-sizing: border-box; +} + +/* header */ + +header { +display: inline-block; +border: 1px solid black; +} + +header #circle { + width: 20%; + border-radius: 50%; + border: 1px red solid; +} + +.header-title { + display: inline-block; + width: 20%; + border: 1px red solid; +} + +/* header specifics */ +header #yosemite-title { + font-family: 'Chelsea Market', cursive; +} + +/* block of text */ + +.main-text { + background: #DDB9A3; + color: white; + margin: 0 auto; +} + +#campfire { + width: 10%; +} + +/* info-blocks with icons */ +.info-block-fire { + border: 1px red solid; + text-align: center; + padding: 0 40%; +} + +#trailer { + width: 10%; +} +.info-block-trailer { + border: 1px red solid; + text-align: center; + padding: 0 40%; +} + +/* footer */ + +footer { + border: 1px red solid; + background-color: #F9E7DC; + max-width: 100%; +} + +.bottom-picture { + width: 100%; + height: 60vh; +} diff --git a/index.html b/index.html index 6fd71e4a1..db4b8eff1 100644 --- a/index.html +++ b/index.html @@ -1,37 +1,80 @@ - - - - - - - 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 - - + + + + + + + + +
+ Tunnel view at Yosemite Park +
+

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

+
+ +
+
+ cartoon of a camp fire +

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

+
+ +
+ cartoon of a trailer +

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

+
+
+ + +