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
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,6 @@ Follow these steps to set up and work on your project:
### Task 2: Minimum Viable Product

Once your repository is set up, practice what you learned today to style the site according to the given design. Your complete project should look similar to the desktop image. You should take the following actions, at a minimum:

- [ ] Link your CSS stylesheet in the `index.html` and impliment a CSS reset
- [ ] Markup html semantically, such that it can be styled according to the given desktop image
- [ ] Color the background of items in the navigation bar and footer with the following colors:
- [ ] Plan your Visit: `#FF764E`
- [ ] Learn About the Park: `#5ED3EB`
- [ ] Get Involved: `#FFCD69`
- [ ] Change all font colors and styles according to design file
- [ ] Yosemite Park Guide font is called Chelsea Market and can be found on [google fonts](https://fonts.google.com/specimen/Chelsea+Market)
- [ ] All other text is Roboto Mono, also available on [google fonts](https://fonts.google.com/specimen/Roboto+Mono)
- [ ] Color the background of the main text body with `#DDB9A3`
- [ ] Color the background of the footer with `#F9E7DC`
- [ ] Bold the words "current fire restrictions" and "park entrance fee" according to the design file
- [ ] Apply box model properties (content, padding, margin, and border) to all content such that your webpage matches the design file. This will include at least:
- [ ] A round image in the header
- [ ] Round corners on navigation and footer items
Expand Down
Binary file added android-chrome-192x192.png
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 android-chrome-512x512.png
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 apple-touch-icon.png
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 favicon-16x16.png
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 favicon-32x32.png
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 favicon.ico
Binary file not shown.
200 changes: 200 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
/*#region css reset*/
/* 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;
}
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;
}

html {
font-size: 62.5%;
}
body {
font-family: 'Roboto Mono', monospace;
width: 100%;
box-sizing: border-box;
font-size: 2.5rem;
}
/*#endregion*/

/*#region nav*/
nav a {
font-size: 2.5rem;
font-weight: 100;
line-height: 2.5rem;
display: inline-block;
color: white;
text-decoration: none;
width: 13%;
text-align: center;
padding: 0.75vw 1vw 0.75vw 1vw;
border-radius: 25px;
margin: 2% 2% 2% 12%;
}

nav a:active {
visibility: hidden;
}

nav a:hover{
animation: bold 1s;
}

@keyframes bold {
100% {font-weight: 700}
}

.visit {
background-color: #FF764E;
}

.learn {
background-color: #5ED3EB;
}

.involve {
background-color: #FFCD69;
word-spacing: 3vw;
}
/*#endregion*/

/*#region intro*/
.header-img {
margin: 4% 5%;
width: 24%;
border-radius: 50%;
}

.header-img:hover {
animation: roll 3s;
}


@keyframes roll {
100% {
transform: rotate(360deg);
}
}

.intro {
display: inline-block;
vertical-align: top;
max-width: 60%;
margin-left: -0.5%;
}

h1 {
font-size: 7rem;
font-family: 'Chelsea Market', cursive;
margin-top: 12%;
margin-bottom: 3%;
}

.intro p {
margin-top: 5%;
text-align: center;
}

.padding {
margin-left: 15%;
width: 60%;
}
/*#endregion*/

/*#region main*/
.history {
background-color: #DDB9A3;
color: white;
text-align: center;
line-height: 3rem;
margin: 0% 2% 2% 2%;
}
.history p {
padding: 1% 0;
}
.fireAndResv {
text-align: center;
width: 25%;
margin-left: 35%;
font-size: 2rem;
padding-bottom: 5%;
}

.icon {
width: 10vw;
}

.fire:hover {
animation: pulse 0.75s infinite;
}

@keyframes pulse {
50% {transform: scale(1.2, 1.2)}
100% {transform: scale(1, 1)}
}

.rv:hover {
animation: drive 2s;
}

@keyframes drive {
100% {margin-right: 90%;}
}

.fire-restrictions, .fee {
font-weight: bold;
}
/*#endregion*/

footer {
background-color: #F9E7DC;
}

.footer-img {
object-fit: cover;
object-position: top;
width: 100%;
max-height: 25vw;
}
71 changes: 43 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,50 @@
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Roboto+Mono:wght@100;400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</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

<header>
<nav>
<a href="" class="visit">Plan your Visit</a>
<a href="" class="learn">Learn About the Park</a>
<a href="" class="involve">Get Involved</a>
</nav>
<section>
<img src="assets/header_img.jpg" alt="mountain valley at sunset" class="header-img">
<div class="intro">
<h1>Yosemite Park Guide</h1>
<p>Come explore California’s beautiful wilderness.</p>
<p class="padding">Always open. Reservations are not available or required to enter the park.</p>
</div>
</section>
</header>
<main>
<section class="history">
<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>
</section>
<section class="fireAndResv">
<img src="https://image.flaticon.com/icons/svg/2979/2979348.svg" alt="icon of a campfire" class="icon 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. Check for <span class="fire-restrictions">current fire restrictions</span>.</p>
</section>
<section class="fireAndResv">
<img src="https://image.flaticon.com/icons/svg/820/820374.svg" alt="icon of an rv" class="icon rv">
<p>We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the <span class="fee">park entrance fee</span> upon arrival (there's no need to pay it in advance).</p>
</section>
</main>
<footer>
<img src="assets/footer_img.jpg" alt="view of the park from above" class="footer-img">
<nav>
<a href="" class="visit">Plan your Visit</a>
<a href="" class="learn">Learn about the Park</a>
<a href="" class="involve">Get Involved</a>
</nav>
</footer>
</body>
</html>
1 change: 1 addition & 0 deletions site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}