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
132 changes: 132 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
vertical-align: baseline;
font-family: inherit;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}

/* tables still need cellspacing="0" in the markup */

caption, th, td {
font-weight: normal;
text-align: left;
}
/* remove possible quote marks (") from <q> & <blockquote> */
blockquote:before, blockquote:after, q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
*{
box-sizing:border-box;
padding:0;
margin:0;
max-width:100%;


}
html{
font-size:62.5%;
}
body{
font-size:1rem;
line-height:1.5;
color:#4f4f4f;
font-family: 'Roboto Mono', monospace;
}
h1{
font-family: 'Chelsea Market', cursive;
font-size:5rem;
}
h2{
font-size:2rem;
}
section{
padding:4% 0;
}
a{
text-decoration:none;
font-family: 'Roboto Mono', monospace;
}
/* header section styles*/
nav{
padding:2% 0;

}
nav a{
display:inline-block;
padding:1% 0;
width: 10%;
border-radius:10px;
text-align:center;
color:white;
}
.orange{
background-color:#FF764E ;
margin-left:10%
}
.blue{
background-color: #5ED3EB;
margin:0 24%;
}
.yellow{
background-color: #FFCD69;
margin-right:10%
}
/*top section styles*/
.top{
position:relative;
}

.left, .right{
text-align:center;
display:inline-block;
}
.left{
width:35%;
}
.left img{
width:80%;
border-radius:50%;
}
.right{
width:60%;
position:absolute;
top:50%;
}
.middle{
background-color:#DDB9A3;
color:white;
text-align:center;
font-size:2rem;
}
.bottom{
width:25%;
margin:5% auto;

}
.bold{
font-weight:bold;
}
.landscape{
background-image: url('assets/footer_img.jpg');
height:35vh;
background-repeat: no-repeat;
background-size: cover;
}
footer{
background-color:#F9E7DC;
}
76 changes: 52 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,64 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Roboto+Mono:wght@400;700&display=swap" rel="stylesheet">
<!-- Link your CSS stylesheet -->
<link rel="stylesheet" href="index.css">
</head>
<body>
Plan your Visit
Learn about the Park
Get Involved
<header>
<nav>
<a class="orange" href="">Plan your <br>Visit</a>
<a class="blue" href="">Learn about <br>the Park</a>
<a class="yellow" href="">Get<br> Involved</a>
</nav>
</header>
<section class="top">
<div class="left">
<img src="assets/header_img.jpg" alt="sunrise over mountains in Yosemite National Park">
</div>
<div class="right">
<div>
<h1>Yosemite Park Guide</h1>
<h2>Come explore California’s beautiful wilderness.</h2>
<p>Always open. Reservations are not available or required to enter the park.</p>
</div>
</div>
</section>


"header_img.jpg"
Yosemite Park Guide
Come explore California’s beautiful wilderness.
Always open. Reservations are not available or required to enter the park.
<section class="middle">
<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.<br><br>
</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>
</section>
<section class="bottom">
<div class="campfire">
<img src="https://image.flaticon.com/icons/svg/2979/2979348.svg" alt="camper">
</div>
<p>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 <span class="bold">current fire restrictions</span>.</p>
<div class="camper">
<img src="https://image.flaticon.com/icons/svg/820/820374.svg" alt="campfire">
<p>We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the <span class="bold">park entrance fee</span> upon arrival (there's no need to pay it in advance).
</p>
</div>
</section>
<section class="landscape">

</section>
<footer>
<nav>
<a class="orange" href="">Plan your <br>Visit</a>
<a class="blue" href="">Learn about <br>the Park</a>
<a class="yellow" href="">Get<br> Involved</a>
</nav>
</footer>

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>