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
117 changes: 117 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
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;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}

ol, ul {
list-style: none;
}
/* tables still need cellspacing="0" in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
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 ;
max-width: 100%;
border: 1px solid gray;

}

html{
font-size:62.5%;

}
body{
font-size: 2rem;
line-height: 1.5;
font-family: 'Roboto Mono', monospace;
}
h1{
font-family: 'Chelsea Market', cursive;
font-size: 6rem;
}
section{
padding: 4% 0;
}
nav{
padding: 2% 0;
}
nav a{
display:inline-block;
padding: 1% 0;
border-radius:10px;
width:10%;
text-align: center;
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%;
}

/*top section*/
.top{
position: relative;
}
.top div{
display: inline-block;
width: 45%;
margin: 0 2%;
text-align: center;
}
.left img{
border-radius: 50%;
width: 60%;
}
.right{
padding: 4%;
line-height: 2;
position: absolute;
bottom: 20%;
top: 20%;
}
.middle{
width: 40rem;
text-align: center;
margin: 0 auto;
}
.valley{
background-color: #DDB9A3;
}
Span{
text-transform: bold;
}
69 changes: 41 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,48 @@
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

<link rel="stylesheet" href="index.css">
</head>
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Roboto+Mono&display=swap" rel="stylesheet">
<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

<header>
<nav>
<a class="orange" href="3">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 the mountains">
</div>
<div class="right">
<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>
</section>
<div>
<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.
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>
<section class="middle">
<img src="https://image.flaticon.com/icons/svg/2979/2979348.svg" alt="campfire">
<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>current fire restrictions</Span>.</p>
<img src="https://image.flaticon.com/icons/svg/820/820374.svg" alt="camper">
<p>We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the <span>park entrance fee</span> upon arrival (there's no need to pay it in advance).</p>
</section>
<section>
<div class="lastimg">
<img src="assets/footer_img.jpg" alt="footer background">
</div>
</section>
<footer class="footer">
<nav>
<a class="orange" href="3">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>
</body>
</html>