From e188694d1428f80e9ac84e5b5e69bdca8fa23f44 Mon Sep 17 00:00:00 2001 From: yfngary Date: Mon, 19 Sep 2022 12:56:14 -0600 Subject: [PATCH 1/2] finished module 2 project --- index.css | 150 +++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 93 ++++++++++++++++++++++----------- 2 files changed, 213 insertions(+), 30 deletions(-) diff --git a/index.css b/index.css index e69de29bb..fbbbf2a94 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,150 @@ +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; +} + + +/*General Styles*/ + +html{ + font-size: 62.5%; +} + +body{ + font: 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:white; + 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:150px; +} + +/*Main*/ +.main{ + background-color: #DDB9A3; + color: white; + padding: 2%; +} + +.info div{ +width: 30%; +margin: 5% auto; +} +.bold{ + font-weight: bold; +} + +.footerimage{ + 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..4671286d5 100644 --- a/index.html +++ b/index.html @@ -1,37 +1,70 @@ + - - + + + - 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 - +
+ +
+
+
+ header image +
+
+
+

Yosemite Park Guide

+

Come explore California's beautriful 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. +

+
+
+
+ + +
+
+ +
+ - + + \ No newline at end of file From 6fdf0e66501c058bd239aab91a3aaab45d7b6835 Mon Sep 17 00:00:00 2001 From: yfngary Date: Mon, 19 Sep 2022 13:01:10 -0600 Subject: [PATCH 2/2] finished module 2 project --- index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.css b/index.css index fbbbf2a94..2ea17370b 100644 --- a/index.css +++ b/index.css @@ -96,7 +96,7 @@ nav a{ margin-right: 10%; } -/*Title section*/ +/*Title1 section*/ .cta{ position: relative; } @@ -147,4 +147,4 @@ margin: 5% auto; .footer{ background-color: #F9E7DC; -} \ No newline at end of file +}