Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made similar project to one provided #676

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
251 changes: 251 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
/* 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%; /* 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;
color: white;
}
.nav1 {
text-align: center;
background-color: #ff763e;
height: 4rem;
padding-top: 1.5rem;
width: 5%;
border-radius: 25%;
/* border: 1px solid black; */
/* 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: 4rem;
padding-top: 1.5rem;
width: 7%;
border-radius: 25%;
/* 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: 4rem;
padding-top: 1.5rem;
width: 5%;
border-radius: 25%;
/* padding-top: 1.2rem; */
font-size: 1.1rem;
margin-top: 2rem;
margin-left: 20%;
margin-right: 20%;
overflow: hidden;
}
.navbar {
width: 80%;
/* display: inline; */
margin-left: 10%;
/* margin-top: 3rem; */
margin-right: 10%;
height: 11rem;
/* border: 1px solid black; */

}
.navbar .InlineFNav {
margin-inline: 5%;
margin-left: 15%;
margin-right: 10%;
}
.InlineFNav {
display: inline-block;
}
/* .InlineFNav {
display: inline;
text-decoration: none;
height: 2rem;
font-size: 1.6rem;
} */
header {
width: vw;
height: 25rem;
/* border: 1px solid black; */
overflow: hidde;
align-content: center;
}

.mountainimg {
height: 11rem;
width: 11rem;
border-radius: 50%;
margin-top: 50%;
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: 4rem;
font-size: 3rem;
margin-left: 2.3rem;
font-family: Chelsea Market;
margin-right: 3rem;
}
.PG1, .PG2 {
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;
}
.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;
font-size: 1.2rem;
}
.footerimg {
width: 99%;
height: 30rem;
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 */
/* 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. */
65 changes: 38 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
@@ -3,35 +3,46 @@
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

<link rel="stylesheet" href="index.css">
</head>
<body>
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).
<div class="navbar">
<nav class="nav1 InlineFNav" id="#PyV"><a href="">Plan your <br>Visit</br></a></nav> <!-- should be inline -->
<nav class="nav2 InlineFNav" id="#LatP"><a href="">Learn about <br>the Park</br></a></nav> <!-- needs to be specific colors -->
<nav class="nav3 InlineFNav" id="#GI"><a href="">Get <br>Involved</br></a></nav> <!-- should take up a percentage for spacing -->
</div>
<header class="header"> <!--contains picture, 2 divs, as well as h1 and 2 h2-->
<div class="inliner imagepusher">
<img class="mountainimg" src="assets/header_img.jpg" alt="picture of mountains"> <!--"header_img.jpg"-->
</div>
<div class="inliner">
<h1 class="ParkGuide">Yosemite Park Guide</h1>
<h2 class="PG1">Come explore California’s beautiful wilderness.</h2>
<h2 class="PG2">Always open. Reservations are not<br> available or required to enter the<br> park.</h2>
</div>
</header>
<div class="secondbody"> <!-- taking up like 90% of the page, width wise -->
<p class="sbp">Not just a great valley, but a shrine to human foresight, the strength of granite, the <br>power of glaciers, the persistence of life, and the tranquility of the High Sierra.</p>

<p class="sbp">First protected in 1864, Yosemite National Park is best known for its waterfalls, but<br> within its nearly 1,200 square miles, you can find deep valleys, grand meadows, ancient<br> giant sequoias, a vast wilderness area,<a href="LatP"> and</a> much more.</p>
</div>
<div class="thirdbody"> <!-- needs only be one div, will make it display: block; it looks like -->
<img class="fireimg" src="assets/campfire.png" alt="Picture of a campfire"> <!-- "campfire.png" -->
<p class="tbp">Fire is a natural and essential<br> part of Yosemite. We manage fire<br> carefully and study how it<br> interacts with the park’s<br> ecosystems. This blog provides<br> updates about fires in Yosemite.<br> Check for <span class="bolder">current fire<br> restrictions.</span></p>

"footer_img.png"


Plan your Visit
Learn about the Park
Get Involved

<img class="camperimg" src="assets/camper.png" alt="Picture of a camper"> <!--"camper.png"-->
<p href="GI" class="tbp">We strongly recommend that you make<br> reservations for lodging, camping,<br> and backpacking. You can pay the<br> <span class="bolder">park entrance fee</span> upon arrival<br> (there's no need to pay it in<br> advance).</p>
</div>
<div class="footer">
<footer>
<img class="footerimg" src="assets/footer_img.jpg" alt=""><!--image goes here, the footer.img. stretches whole screen-->
</footer>

</div>
<div class="navbar color">
<nav class="nav1 InlineFNav" id="PyV"><a href="#PyV">Plan your <br>Visit</br></a></nav> <!-- should be inline -->
<nav class="nav2 InlineFNav" id="LatP"><a href="#LatP">Learn about <br>the Park</br></a></nav> <!-- same colors as before -->
<nav class="nav3 InlineFNav" id="GI"><a href="#GI">Get <br>Involved</br></a></nav> <!-- just do the same thing, referenceing the classes-->
</div>
</body>
</html>