diff --git a/index.css b/index.css index e69de29bb..488afa9df 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,173 @@ +/* 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; + font-size: 1rem; +} + +html { + font-size: 1rem; +} + +body { + font-family: 'Roboto Mono'; + font-size: 1vh; + margin: 0 10%; + } + +nav { + font-size: .65rem; + margin: 2rem 10%; +} + +a { + height: 2.5rem; + width: 5.5rem; + padding: 1% 1%; + margin: .5rem 3rem; + display: inline-block; + text-align: center; + border-radius: 10px; + vertical-align: middle; + text-decoration: none; + color: white; +} + + + +.box1 { + background-color: #FF764E; +} + +.box2 { + background-color: #5ED3EB; +} + +.box3 { + background-color: #FFCD69; +} + +.box4 { + background-color: #DDB9A3; + color: white; + font-size: 1rem; + text-align: center; + padding: 2%; + margin: 2% 0; +} +#guide img { + border-radius: 50%; + margin: 0 3%; + } + +h1 { + font-size: 4vh; + font-family: "Chelsea Market"; +} + +.hero { + text-align: center; + display: inline-block; + margin: auto; +} + +.guideimg { + display: inline-block; +} + +#guide { + display: inline-block; + width: 100%; + vertical-align: middle; +} + +.line1 { + margin: 1rem 0rem; + font-size: .75rem; +} + +.line2 { + font-size: .75rem; + max-width: 50%; + text-align: center; + margin: 2.5% 30%; +} + +.fire { + text-align: center; +} + +b { + font-weight: bold; +} + +.fire img { + display:block; + margin-left: auto; + margin-right: auto; +} + +.fire p { + max-width: 25%; + display: block; + margin-left: auto; + margin-right: auto; + margin-bottom: 5%; +} + +footer img { + height: 10rem; + object-fit: cover; + object-position: top; +} + +footer { + background-color: #F9E7DC; +} \ No newline at end of file diff --git a/index.html b/index.html index b602ee2b0..4658f3d38 100644 --- a/index.html +++ b/index.html @@ -3,35 +3,61 @@ - + + + - 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. - + + +
+ +
+
+
+ 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. - - "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). +
+
+ +
+ + +

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

+
- "footer_img.png" - - - Plan your Visit - Learn about the Park - Get Involved + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..bd8660126 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "web-module-challenge-intro-css", + "lockfileVersion": 2, + "requires": true, + "packages": {} +}