Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added footer_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added header_img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
185 changes: 185 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
.page {
max-width: 600px;
/*max-width: 700px;*/
margin: auto;
padding: 10px;
}

#yosemite1{
/*padding: 100px; */
padding-left: 220px;
}

.nav .ul {
display: flex;
flex-direction: row;
/*width:100%;*/
width: 700px;
/*max-width: 1200px;*/
max-width: 1em;
justify-content: space-between;
justify-content: space-evenly;

align-items: flex-start;
flex-wrap: row nowrap;

/* @media (max-width: 1em) {
.nav .ul {
flex-direction: row;
} */
}

img.header1 {
position: relative;
top: -60px;
max-width: 140px;
height: 140px;
border-radius: 50%;
float: left;
object-position: 0px;
}

img.fire1 {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100px;
height: 100px;
}

img.rv1 {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100px;
height: 100px;
}

.container{
display: flex grid;
/*grid-template-columns: 100px 100px 100px;*/
/*grid-template-rows: 50px 50px;*/

}

.a {
background:#FF764E;
color: white;
font-family: 'Chelsea Market', cursive;
padding: 10px;
margin: 10px;
border-radius: 7.5px;
}

.b {
background: #5ED3EB;
color: white;
font-family: 'Chelsea Market', cursive;
padding: 10px;
border-radius: 7.5px;
margin: 10px;

text-align: justify;
text-justify: inter-word;

}

.c {
background: #FFCD69;
color: white;
font-family: 'Chelsea Market', cursive;
padding: 10px;
border-radius: 7.5px;
margin: 10px;
}

h1 {
text-align: center;
font-family: 'Chelsea Market', cursive;
}

.wilderness {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 20em;
/*padding-left: 20px;*/
padding-left: 100px;
font-family: 'Roboto Mono', monospace;
white-space: nowrap;
/* font-style: Roboto Mono; */
}

.reservations {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 20em;
padding-left: 200px;
font-family: 'Roboto Mono', monospace;
}

.stack {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 15em;
}

.rv {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 15em;
}

.body {
background: #DDB9A3;
color: white;
text-align: center;
width: 700px;
font-family: 'Roboto Mono', monospace;
}


.stack {
font-family: 'Roboto Mono', monospace;
}

.rv {
font-family: 'Roboto Mono', monospace;
}

img.footer1 {
max-width: 100px;
height: 100px;
border-radius: 50%;
float: left;
}

.footer {
display: flex;
flex-direction: row;
background: #F9E7DC;
height: 100px;
padding: 10px;
}

.footer .footerdiv {
display: flex;
flex-direction: row;
align-items: center;
}

img.mount{
height: 13rem;
width: 100%;
object-fit: cover;
/*object-position: right top;*/
}

footer nav ul {
padding: 25px; /* 25px */
padding-left: 40px; /* 40px */
align-items: center;
}
101 changes: 64 additions & 37 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,37 +1,64 @@
<!-- Markup the content below with tags and attributes such that it can be styled in CSS-->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

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

"https://image.flaticon.com/icons/svg/2979/2979348.svg"
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.

"https://image.flaticon.com/icons/svg/820/820374.svg"
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

</body>
</html>
<div class = "page">

<!-- Markup the content below with tags and attributes such that it can be styled in CSS-->
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->
<link rel= "stylesheet" href = "index.css">

<section class="container">
<nav>
<ul>
<a class="a">Plan Your Visit</a>
<a class="b">Learn About the Park</a>
<a class="c">Get Involved</a>
</ul>
</nav>
</section>

</head>
<body>

<div id = "block1">
<h1 id = "yosemite1">Yosemite Park Guide</h1>
<img class = "header1" src = "header_img.jpg">
<p class = "wilderness">Come explore California’s beautiful wilderness. </p>
<p class = "reservations">Always open. Reservations are not available or required to enter the park.</p>
</div>

<div class = "body">
<p>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.</p>

<p>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.</p>
</div>

<img class = "fire1" src = "https://image.flaticon.com/icons/svg/2979/2979348.svg">
<p class = "stack">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 <strong>current fire restrictions.</strong></p>

<img class = "rv1" src = "https://image.flaticon.com/icons/svg/820/820374.svg">
<p class = "rv">We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the <strong>park entrance fee</strong> upon arrival (there's no need to pay it in advance).</p>

<img class = "mount" src = "footer_img.jpg">

</body>

<footer class = "footer">

<section class="container">
<nav>
<ul>
<a class="a">Plan Your Visit</a>
<a class="b">Learn About the Park</a>
<a class="c">Get Involved</a>
</ul>
</nav>
</section>

</footer>

</html>

</div>