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

Completed National Park page #678

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
150 changes: 150 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
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;
}

*{
box-sizing: border-box;
border: 1px solid grey;
max-width: 100%;
}

html{
font-size: 62.5%;
}

body{
font-size: 1.6rem;
line-height: 1.5;
font-family: 'Roboto Mono', monospace;
}

h1{
font-family: 'Chelsea Market', cursive;
font-size: 5rem;
}
section{
padding: 4% 0;
width: 90%;
margin: 0 auto;
}

/*Header*/
nav{
padding: 2% 0;
}
nav a{
display: inline-block;
padding: 1% 0;
width: 10%;
text-align: center;
border-radius: 10px;
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%;
}

/*tittle*/
.cta{
position:relative;
}
.text, .image{
display: inline-block;
}
.image{
width: 30%;
}
.round{
border-radius: 50%;
}
.text{
width: 55%;
margin-left: 5%;
text-align: center;
line-height: 3;
position:absolute;
top: 150px;
}

/*main*/
.main{
background-color: #ddb9a3;
color-scheme: white;
padding: 2%;
}

.campfire{
width: 30%;
margin: 5% auto;
}
.camper{
width: 30%;
margin: 5% auto;
}
.bold{
font-weight: bold;
}

.backg{
background-image: url('assets/footer_img.jpg');
height: 50vh;
background-repeat: no-repeat;
background-size: cover;
background-position: top center;
width: 100%;
}

footer{
background-color: #f9e7dc;
}
76 changes: 49 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!--Link to google fonts-->
<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_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).

"footer_img.png"


Plan your Visit
Learn about the Park
Get Involved

<header>
<nav>
<a href="#" class="orange">Plan your<br> Visit</a>
<a href="#" class="blue">Learn about<br> the Park</a>
<a href="#" class="yellow">Get<br> Involved</a>
</nav>
</header>
<section class="cta">
<div class="image">
<img src="assets/header_img.jpg" alt="sunrise over mountains over Yosemite National Park" class="round">
</div>
<div class="text">
<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>
<section>
<div class="beige">
<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>
</section>
<section>
<div class="campfire">
<img src="assets/campfire.png" alt="picture 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 class="bold">current fire restrictions.</span></p>
</div>
<div class="camper">
<img src="assets/camper.png" alt="picture camper">
<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="backg">
<!--empty with BG image-->
</section>
<footer>
<nav>
<a href="#" class="orange">Plan your<br> Visit</a>
<a href="#" class="blue">Learn about<br> the Park</a>
<a href="#" class="yellow">Get<br> Involved</a>
</nav>
</footer>
</body>
</html>
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.