From 1189de941cb19b26c79f38c60786c4fc0ec75f94 Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Mon, 8 May 2023 10:28:52 -0700 Subject: [PATCH 1/7] Updated the structure of html to fit what I think is right, added a bunch of comments of my thoughts of what im going to do. Introduced a reset and added comments in my css as well --- index.css | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 65 +++++++++++++++++++++++++++++--------------------- 2 files changed, 108 insertions(+), 27 deletions(-) diff --git a/index.css b/index.css index e69de29bb..41e5587ff 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,70 @@ +/* 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; +} + + +/* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ + +/* main text body = #DDV9A3, goes in html? */ +/* back of footer is #f9e7dc */ +/* in the third body div, certain text needs bolding. Use font-weight: bold; */ +/* imperative that all of the content utilizes box model properties, eg. content, padding, margin and border. ALL OF IT. We want the web page to match the design file. +The image in header is round, we should use border-radius: 50%; +Round corners on nav's and NOT footer items, we have the navs in a seperate div. We should, however, look to making the font... whatever the hell that is? The font im talking about is the one applied to 'Yosemite Park Guide' +*/ +/* We should be able to make our 2 classes 'inliner' display: inline-block; to make them stand next to eachother */ +/* Screen should be long so that the navs have a point, should be the last thing checked. */ +/* need to remember how the a link stuff works, its blanking me */ +/* also, remove the added stuff like the line and the color blue, might happen automatically tho */ + + +/* STRETCH GOALS */ +/* We can try the animation stuff. */ +/* not really sure about the 'design your own pages' bit, may just not do it. Well, i know what its asking for. not sure how to link to another website or page of the website tho */ +/* god only knows what a favicon is */ +/* i probably could host it, ill check at the end. */ \ No newline at end of file diff --git a/index.html b/index.html index b602ee2b0..6858c0e7d 100644 --- a/index.html +++ b/index.html @@ -3,35 +3,46 @@ - + - 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). + +
+
+ +
+
+

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.

+
+
+ +

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.

- "footer_img.png" - - - Plan your Visit - Learn about the Park - Get Involved - + +

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

+
+ + + + + + From 2e5213f9b15ef72d35ae75ce56ce7f830e938804 Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Mon, 8 May 2023 11:30:49 -0700 Subject: [PATCH 2/7] Did a lot of work, Struggled immensely with my nav buttons. Now in the middle of working on the first img --- index.css | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++- index.html | 22 +++++++++---------- 2 files changed, 72 insertions(+), 12 deletions(-) diff --git a/index.css b/index.css index 41e5587ff..f69bb4383 100644 --- a/index.css +++ b/index.css @@ -46,11 +46,71 @@ table { border-collapse: collapse; border-spacing: 0; } +html { + font-size: 62.5%; /* font size is already 100%, or 16px , so lets change it to 10 */ + border: 1px solid black; + padding: 5px; +} +a { + text-decoration: none; + color: white; +} +.nav1 { + text-align: center; + background-color: #ff763e; + height: 2.5rem; + width: 5%; + border-radius: 25%; + /* border: 1px solid black; */ + padding-top: 1.2rem; + font-size: 1.1rem; +} +.nav2 { + text-align: center; + background-color: #5ED3EB; + height: 2.5rem; + width: 7%; + border-radius: 25%; + padding-top: 1.2rem; + font-size: 1.1rem; + overflow: hidden; +} +.nav3 { + text-align: center; + background-color: #FFCD69; + height: 2.5rem; + width: 5%; + border-radius: 25%; + padding-top: 1.2rem; + font-size: 1.1rem; +} +.navbar { + width: 100vw; + display: inline; + margin-left: 20%; +} +.navbar .InlineFNav { + margin-inline: 7%; +} +.InlineFNav { + display: inline-block; +} +/* .InlineFNav { + display: inline; + text-decoration: none; + height: 2rem; + font-size: 1.6rem; +} */ +header { + width: vh; + height: 300px; + border: 1px solid black; +} /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ -/* main text body = #DDV9A3, goes in html? */ +/* main text body = #DDB9A3, goes in html? */ /* back of footer is #f9e7dc */ /* in the third body div, certain text needs bolding. Use font-weight: bold; */ /* imperative that all of the content utilizes box model properties, eg. content, padding, margin and border. ALL OF IT. We want the web page to match the design file. diff --git a/index.html b/index.html index 6858c0e7d..dacbbb2fe 100644 --- a/index.html +++ b/index.html @@ -7,13 +7,13 @@
- + picture of mountains

Yosemite Park Guide

@@ -22,9 +22,9 @@

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.

+

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.

+

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.

@@ -39,10 +39,10 @@

Always open. Reservations are not available or required to enter the park.

- - - - - + From 468ef48d2be7c44cd259e244e8a7d8527cad8571 Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Mon, 8 May 2023 11:39:41 -0700 Subject: [PATCH 3/7] in the middle of the picture and im feeling burnt out, will continue later --- index.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.css b/index.css index f69bb4383..b7a865469 100644 --- a/index.css +++ b/index.css @@ -108,6 +108,18 @@ header { border: 1px solid black; } +.mountainimg { + height: 11rem; + width: 11rem; + border-radius: 50%; + margin-top: 50%; + margin-left: 10rem; + margin-bottom: 50%; +} +.inliner { + display: inline-block; +} + /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ /* main text body = #DDB9A3, goes in html? */ From e9223359c54eb1213bd4cc7e8cb8c3201ff0941c Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Tue, 9 May 2023 08:47:10 -0700 Subject: [PATCH 4/7] finished, kinda, the picture with mountains and the yosemite park guide. Couldnt figure out how to make the picture go down without pushing the right content as well --- index.css | 36 +++++++++++++++++++++++++++++++++--- index.html | 8 ++++---- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/index.css b/index.css index b7a865469..c9e75dae5 100644 --- a/index.css +++ b/index.css @@ -103,9 +103,11 @@ a { font-size: 1.6rem; } */ header { - width: vh; - height: 300px; + width: vw; + height: 25rem; border: 1px solid black; + overflow: hidde; + align-content: center; } .mountainimg { @@ -113,13 +115,41 @@ header { width: 11rem; border-radius: 50%; margin-top: 50%; - margin-left: 10rem; + margin-left: 100%; margin-bottom: 50%; } +header div img { + margin-top: 20rem; +} .inliner { display: inline-block; + /* border: 1px solid black; */ + width: vw; + padding-left: 20%; + padding-top: 1rem; } +.spacer{ + margin-bottom: 60%; + margin-left: 47%; + /* border: 1px solid black; */ +} + +/* .inliner .spacer { + /* border: 1px solid black; */ + + +.ParkGuide { + margin-bottom: 3rem; + font-size: 1.6rem; + margin-left: 2.3rem; + font-family: Rockwell +} +.PG1, .PG2 { + font-size: 1.1rem; + text-align: center; + padding-top: 2rem; +} /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ /* main text body = #DDB9A3, goes in html? */ diff --git a/index.html b/index.html index dacbbb2fe..faa366857 100644 --- a/index.html +++ b/index.html @@ -12,13 +12,13 @@
-
+
picture of mountains
-

Yosemite Park Guide

-

Come explore California’s beautiful wilderness.

-

Always open. Reservations are not available or required to enter the park.

+

Yosemite Park Guide

+

Come explore California’s beautiful wilderness.

+

Always open. Reservations are not
available or required to enter the
park.

From 40d2ee3b23a4ea2bb3df1bc9ff85bd4b3f29291a Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Tue, 9 May 2023 09:00:32 -0700 Subject: [PATCH 5/7] finished the bit in beige. Was significantly easier than previous modifications --- index.css | 30 +++++++++++++++++++++++++----- index.html | 4 ++-- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/index.css b/index.css index c9e75dae5..7cd4b8ac5 100644 --- a/index.css +++ b/index.css @@ -50,6 +50,7 @@ html { font-size: 62.5%; /* font size is already 100%, or 16px , so lets change it to 10 */ border: 1px solid black; padding: 5px; + font-family: Roboto Mono } a { text-decoration: none; @@ -105,7 +106,7 @@ a { header { width: vw; height: 25rem; - border: 1px solid black; + /* border: 1px solid black; */ overflow: hidde; align-content: center; } @@ -140,16 +141,35 @@ header div img { .ParkGuide { - margin-bottom: 3rem; - font-size: 1.6rem; + margin-bottom: 4rem; + font-size: 3rem; margin-left: 2.3rem; - font-family: Rockwell + font-family: Chelsea Market; + margin-right: 3rem; } .PG1, .PG2 { - font-size: 1.1rem; + font-size: 1.3rem; text-align: center; padding-top: 2rem; + } +.secondbody{ + width: 96%; + background-color: #DDB9A3; + text-align: center; + font-size: 1.3rem; + word-spacing: 0.4rem; + /* border: 1px solid black; */ + margin-left: 2%; + margin-right: 2%; +} +.sbp { + padding-top: 1rem; + padding-bottom: 1rem; + color: white; + font-size: 1.5rem; +} + /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ /* main text body = #DDB9A3, goes in html? */ diff --git a/index.html b/index.html index faa366857..236b9a163 100644 --- a/index.html +++ b/index.html @@ -22,9 +22,9 @@

Always open. Reservations are not
available or required to e

-

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.

+

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.

+

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.

From 3a3e1ef4cb14d5174a78435fbfe09ec86e4ade4d Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Tue, 9 May 2023 09:24:21 -0700 Subject: [PATCH 6/7] finally fixed my nav icons being wonky looking, decided to set nav1 and 2 to overflow:hidden, worked like a charm. Not necessarily sure why, but hey im happy --- index.css | 74 ++++++++++++++++++++++++++++++++++++++++++++++-------- index.html | 10 ++++---- 2 files changed, 68 insertions(+), 16 deletions(-) diff --git a/index.css b/index.css index 7cd4b8ac5..f6bf77a72 100644 --- a/index.css +++ b/index.css @@ -59,40 +59,61 @@ a { .nav1 { text-align: center; background-color: #ff763e; - height: 2.5rem; + height: 4rem; + padding-top: 1.5rem; width: 5%; border-radius: 25%; /* border: 1px solid black; */ - padding-top: 1.2rem; + /* padding-top: 1.2rem; */ font-size: 1.1rem; + margin-top: 2rem; + margin-left: 20%; + margin-right: 20%; + overflow: hidden; } .nav2 { text-align: center; background-color: #5ED3EB; - height: 2.5rem; + height: 4rem; + padding-top: 1.5rem; width: 7%; border-radius: 25%; - padding-top: 1.2rem; + /* padding-top: 1.2rem; */ font-size: 1.1rem; overflow: hidden; + margin-top: 2rem; + margin-left: 20%; + margin-right: 20%; } .nav3 { text-align: center; background-color: #FFCD69; - height: 2.5rem; + height: 4rem; + padding-top: 1.5rem; width: 5%; border-radius: 25%; - padding-top: 1.2rem; + /* padding-top: 1.2rem; */ font-size: 1.1rem; + margin-top: 2rem; + margin-left: 20%; + margin-right: 20%; + overflow: hidden; } .navbar { - width: 100vw; - display: inline; - margin-left: 20%; + width: 80%; + /* display: inline; */ + margin-left: 10%; + /* margin-top: 3rem; */ + margin-right: 10%; + height: 11rem; + border: 1px solid black; + } .navbar .InlineFNav { - margin-inline: 7%; + margin-inline: 5%; + margin-left: 15%; + margin-right: 10%; } .InlineFNav { display: inline-block; @@ -169,7 +190,38 @@ header div img { color: white; font-size: 1.5rem; } - +.thirdbody { + width: vw; + height: 40rem; +} +.fireimg{ + width: 12.5rem; + height: 12.5rem; + margin-left: 50%; + margin-right: 50%; +} +.camperimg { + width: 12.5rem; + height: 12.5rem; + margin-left: 50%; + margin-right: 50%; +} +.bolder { + font-weight: bold; +} +.tbp { + margin-left: 50%; + margin-right: 50%; + width: 15rem; + padding-top: 2rem; +} +.footerimg { + width: 99%; + height: 30rem; + margin-top: 6rem; + margin-left: 0.5%; + margin-right: 0.5%; +} /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ /* main text body = #DDB9A3, goes in html? */ diff --git a/index.html b/index.html index 236b9a163..3325054ea 100644 --- a/index.html +++ b/index.html @@ -27,15 +27,15 @@

Always open. Reservations are not
available or required to e

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.

- -

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.

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

- -

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

+ Picture of a 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).

From ea6644a59d45d0dde941f0ac790e56cf8791f391 Mon Sep 17 00:00:00 2001 From: Christian Anderson Date: Tue, 9 May 2023 09:39:06 -0700 Subject: [PATCH 7/7] Im considering this done, I for the life of me can't figure out how id's work for the page navigation, and my searches have been fruitless. Other than that, changing the scale of the screen will brutalize this page but I don't have a solution for it besides just telling them the resolution is too small. --- index.css | 13 ++++++++++--- index.html | 12 ++++++------ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/index.css b/index.css index f6bf77a72..1a4cc5b77 100644 --- a/index.css +++ b/index.css @@ -107,7 +107,7 @@ a { /* margin-top: 3rem; */ margin-right: 10%; height: 11rem; - border: 1px solid black; + /* border: 1px solid black; */ } .navbar .InlineFNav { @@ -214,18 +214,25 @@ header div img { margin-right: 50%; width: 15rem; padding-top: 2rem; + font-size: 1.2rem; } .footerimg { width: 99%; height: 30rem; - margin-top: 6rem; + margin-top: 17rem; margin-left: 0.5%; margin-right: 0.5%; } +.color { + background-color: #F9E7DC; + width: 98%; + margin-left: 1%; + margin-right: 1%; +} /* IMPORTANT -------- DO NOT USE PX, just rem's or em. Ill determine what i want the root file to be, but until then, no pixels. */ /* main text body = #DDB9A3, goes in html? */ -/* back of footer is #f9e7dc */ +/* back of footer */ /* in the third body div, certain text needs bolding. Use font-weight: bold; */ /* imperative that all of the content utilizes box model properties, eg. content, padding, margin and border. ALL OF IT. We want the web page to match the design file. The image in header is round, we should use border-radius: 50%; diff --git a/index.html b/index.html index 3325054ea..e6d2d304c 100644 --- a/index.html +++ b/index.html @@ -24,14 +24,14 @@

Always open. Reservations are not
available or required to e

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.

+

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.

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

Picture of a 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).

+

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

-