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 .DS_Store
Binary file not shown.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
185 changes: 185 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
/* 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.5;
}
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;
}

/* end of reset */

*{
box-sizing: border-box; /*respect the width*/
max-width: 100%; /*stops images from being larger than their parent*/
padding:0;
margin:0;

border: 1px solid lightblue;
}

html{
font-size:62.5%; /*makes 1 rem == 10px*/
}
body{
font-family: 'Roboto Mono', monospace;
font-size:1.6rem; /*brings back to 16px, but responsive*/
color: #4F4F4F;
}

h1{
font-family: 'Chelsea Market', cursive;
font-size: 4rem;
}

a{
font-family: 'Roboto Mono', monospace;
text-decoration:none;
}
span{
font-weight: bold;
}

section{
padding: 4% 0;
}

/*HEADER STYLES*/
nav{
padding: 2% 0;
/* margin-left: auto;
margin-right: auto; */
}
nav a{
display: inline-block;
padding: 1% 0;
width: 15%;
border-radius: 10px;
text-align: center;
color:white;
}
.orange{
background: #FF764E;
margin-left: 12%;
}
.blue{
background: #5ED3EB;
margin: 0 12%;
}
.yellow{
background: #FFCD69;
margin-right:12%;
}

/*TITLE STYLES*/
.titles{
text-align: center;
position: relative;
}
.left, .right {
display: inline-block;
}
.left{
width: 30%;
margin-left: 5%;
}
.left img{
border-radius: 50%;
}
.right{
width: 55%;
margin-left: 5%;
}
.right div{
position:absolute;
top: 25%;
}
.right p{
margin-top: 2%;
max-width: 80%;
margin-left: auto;
margin-right: auto;
}

/* PARAGRAPH STYLES */
.paras{
background-color:lightcoral;
color: white;
margin: 5%;
text-align: center;
}
.paras p{
margin: 1% 10% 1% 10%;
}

/* ICON SECTION STYLES */
.icons{
margin: 5%;
text-align: center;
}
.icons img{
max-width: 10%;
}
.icons p{
font-size: 1rem;
max-width:30%;
margin-left: auto;
margin-right: auto;
line-height:1.2;
}

/* PANORAMA STYLES */
.panorama {
background-image: url("assets/footer_img.jpg");
margin-top:0;
margin-bottom:0;
min-height: 200px;
background-size: cover;
background-position:top; /* Center the image */
background-repeat: no-repeat;
}

/* FOOTER STYLES */
footer{
background-color: rgb(211, 204, 182);
}
82 changes: 55 additions & 27 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 your CSS stylesheet -->

<!--FONTS FROM GOOOGLE-->
<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 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.

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

<section class="titles">
<div class="left">
<img src="assets/header_img.jpg" alt="a picture of Yosemite">
</div>
<div class="right">
<div>
<h1>Yosemite Park Guide</h1>
<p>Come explore California’s beautiful wilderness.</p>
<p>Always open. Reservations are not available or required to enter the park.</p>
</div>
</div>
</section>

<section class="paras">
<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>

"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).
<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="icons">
<div>
<img src="https://image.flaticon.com/icons/svg/2979/2979348.svg" alt="fire">
<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. <span>Check for current fire restrictions.</span></p>
</div>
<div>
<img src="https://image.flaticon.com/icons/svg/820/820374.svg" alt="camping">
<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>
</div>
</section>

"footer_img.png"


Plan your Visit
Learn about the Park
Get Involved

<section class="panorama">
<!-- <img src="assets/footer_img.jpg" alt="an epic view"> -->
</section>

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