diff --git a/README.md b/README.md index c0ac9c1be..bf803c1bb 100644 --- a/README.md +++ b/README.md @@ -31,19 +31,6 @@ Follow these steps to set up and work on your project: ### 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 -- [ ] 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 diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 000000000..fb2b1847a Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-512x512.png b/android-chrome-512x512.png new file mode 100644 index 000000000..13494c63b Binary files /dev/null and b/android-chrome-512x512.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 000000000..8fabdfce0 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 000000000..eb9c91b3b Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 000000000..1d254d531 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 000000000..785b20f73 Binary files /dev/null and b/favicon.ico differ diff --git a/index.css b/index.css index e69de29bb..bc3df5a37 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,200 @@ +/*#region 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; +} + +html { + font-size: 62.5%; +} +body { + font-family: 'Roboto Mono', monospace; + width: 100%; + box-sizing: border-box; + font-size: 2.5rem; +} +/*#endregion*/ + +/*#region nav*/ +nav a { + font-size: 2.5rem; + font-weight: 100; + line-height: 2.5rem; + display: inline-block; + color: white; + text-decoration: none; + width: 13%; + text-align: center; + padding: 0.75vw 1vw 0.75vw 1vw; + border-radius: 25px; + margin: 2% 2% 2% 12%; +} + +nav a:active { + visibility: hidden; +} + +nav a:hover{ + animation: bold 1s; +} + +@keyframes bold { + 100% {font-weight: 700} +} + +.visit { + background-color: #FF764E; +} + +.learn { + background-color: #5ED3EB; +} + +.involve { + background-color: #FFCD69; + word-spacing: 3vw; +} +/*#endregion*/ + +/*#region intro*/ +.header-img { + margin: 4% 5%; + width: 24%; + border-radius: 50%; +} + +.header-img:hover { + animation: roll 3s; +} + + +@keyframes roll { + 100% { + transform: rotate(360deg); + } +} + +.intro { + display: inline-block; + vertical-align: top; + max-width: 60%; + margin-left: -0.5%; +} + +h1 { + font-size: 7rem; + font-family: 'Chelsea Market', cursive; + margin-top: 12%; + margin-bottom: 3%; +} + +.intro p { + margin-top: 5%; + text-align: center; +} + +.padding { + margin-left: 15%; + width: 60%; +} +/*#endregion*/ + +/*#region main*/ +.history { + background-color: #DDB9A3; + color: white; + text-align: center; + line-height: 3rem; + margin: 0% 2% 2% 2%; +} +.history p { + padding: 1% 0; +} +.fireAndResv { + text-align: center; + width: 25%; + margin-left: 35%; + font-size: 2rem; + padding-bottom: 5%; +} + +.icon { + width: 10vw; +} + +.fire:hover { + animation: pulse 0.75s infinite; +} + +@keyframes pulse { + 50% {transform: scale(1.2, 1.2)} + 100% {transform: scale(1, 1)} +} + +.rv:hover { + animation: drive 2s; +} + +@keyframes drive { + 100% {margin-right: 90%;} +} + +.fire-restrictions, .fee { + font-weight: bold; +} +/*#endregion*/ + +footer { + background-color: #F9E7DC; +} + +.footer-img { + object-fit: cover; + object-position: top; + width: 100%; + max-height: 25vw; +} \ No newline at end of file diff --git a/index.html b/index.html index 6fd71e4a1..bb77090fc 100644 --- a/index.html +++ b/index.html @@ -3,35 +3,50 @@ - + + + + + + - 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 - +
+ +
+ mountain valley at sunset +
+

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.

+
+
+ icon of a campfire +

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.

+
+
+ icon of an rv +

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

+
+
+ diff --git a/site.webmanifest b/site.webmanifest new file mode 100644 index 000000000..45dc8a206 --- /dev/null +++ b/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file