From 4f84fbca909314eea25c181a882e621cb168ef2f Mon Sep 17 00:00:00 2001 From: Larry Weller Date: Thu, 29 Sep 2022 19:30:59 -0400 Subject: [PATCH] done, i think --- index.css | 147 ++++++++++++++++++++++++++++++++++++++++++++++ index.html | 80 ++++++++++++++++--------- package-lock.json | 6 ++ 3 files changed, 204 insertions(+), 29 deletions(-) create mode 100644 package-lock.json diff --git a/index.css b/index.css index e69de29bb..aebb27191 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,147 @@ +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 grey; + max-width:100% + +} +/*General Styles*/ +html{ + font-size:62.5% +} +body{ + font-size:1.6rem; + line-height: 1.5; + font-family: 'Roboto Mono', monospace; +} +body h1 { + font-family: 'Chelsea Market', cursive; + font-size:6rem; +} +body section{ + padding:4% 0; + width:90%; + margin: 0 auto; +} +/*header section*/ +.cta{ + position:relative +} +nav{ + padding:2% 0; +} +body nav a{ + display:inline-block; + padding:1% 0; + width:10%; + text-align:center; + border-radius:10px; + color:white; + text-decoration:none; +} +body .cta .round{ + border-radius: 50%; + } + + +nav .plan{ + background-color:#FF764E; + margin-left:10% +} +body nav .learn{ + background-color:#5ED3EB; + margin:0 24%; +} +body nav .involved{ + background-color:#FFCD69; + margin-right:10%; +} +/*tittle*/ + +.text, .image{ + display:inline-block; +} +.image{ + width:30%; +} +.text{ + width:55%; + margin: left 5%; + line-height: 3; + text-align:center; + position:absolute; + top:150px +} +/* Main*/ +.beige{ + background-color:#DDB9A3; + color:#fff; + padding:2%; + +} +.info div{ + width:30%; + margin:5% auto; + +} +.camper img{ + margin-left:25% +} + +.bg-img{ + background-image: url('assets/footer_img.jpg'); + height:50vh; + background-repeat:no-repeat; + background-size:cover; + background-position:top center; + width:100% +} + + +body footer{ + background-color:#F9E7DC +} +.bold{ + font-weight:bold +} \ No newline at end of file diff --git a/index.html b/index.html index b602ee2b0..d4532a7dd 100644 --- a/index.html +++ b/index.html @@ -1,37 +1,59 @@ + - - + + - 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 - +
+ +
+
+
+ Sunrise at 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. +

+
+
+
+
+ Campfire +

Fire is a natural and essential part of Yosemite. We manage fire carefully and study how it interacts withthe park’s ecosystems. This blog provides updates about fires in Yosemite. Check for current firerestrictions. +

+
+
+ Camper +

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/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": {} +}