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
35 changes: 17 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,23 @@ Follow these steps to set up and work on your project:

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
- [ ] Header image and text side by side
- [ ] Centered content and margins around content
- [ ] Footer image positioning
- [x] Link your CSS stylesheet in the `index.html` and impliment a CSS reset
- [x] Markup html semantically, such that it can be styled according to the given desktop image
- [x] Color the background of items in the navigation bar and footer with the following colors:
- [x] Plan your Visit: `#FF764E`
- [x] Learn About the Park: `#5ED3EB`
- [x] Get Involved: `#FFCD69`
- [x] Change all font colors and styles according to design file
- [x] Yosemite Park Guide font is called Chelsea Market and can be found on [google fonts](https://fonts.google.com/specimen/Chelsea+Market)
- [x] All other text is Roboto Mono, also available on [google fonts](https://fonts.google.com/specimen/Roboto+Mono)
- [x] Color the background of the main text body with `#DDB9A3`
- [x] Bold the words "current fire restrictions" and "park entrance fee" according to the design file
- [x] 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:
- [x] A round image in the header
- [x] Round corners on navigation and footer items
- [x] Header image and text side by side
- [x] Centered content and margins around content
- [x] Footer image positioning

**Throughout your design you should avoid static units (pixels), and should instead use responsive units wherever possible.**

Expand Down
197 changes: 197 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
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 {

/* font-family: inherit; */
font-weight: inherit;
font-style: inherit;
font-size: 100%;
/* outline: 0; */
/* padding: 0; */
border: 0;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
/*background: white;*/
line-height: 1;
color: black;
}
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: "" "";
}

.container{
width: 100%;
border: 0px solid black;

}

/* This is my work below */

html{
font-size:62.5%;
}

a {
margin-left: 50px;
}

p {
text-align: center;
vertical-align: auto;
}

a:link {
text-decoration: none;
}

.links {

display: inline-block;
width: 99%;
height: 20vh;
font-family: 'Roboto Mono', monospace;
text-align:center;
}
.links1 {

display: inline-block;
width: 99%;
text-align: center;
vertical-align: center;
height: 20vh;
font-family: 'Roboto Mono', monospace;
background-color: #F9E7DC;
}

.circle{
border-radius:50%;
width: 25%;

}

.center{
width: 15%;
height: 40vh;
}

.center2{
width: 15%
height: 40vh;
}

.section{
display:inline-block;
width: 50%;
height: 300px;
position: absolute;
left: 30%;
top: 30%;
font-family: 'Roboto Mono', monospace;
font-size: 2rem;
text-align: center;

}

h1{
text-align: center;
font-size: 5rem;
font-family: 'Chelsea Market', cursive;
}
.section2{

width: 85%;
height: 300px;
align-items: center;
margin: 50px;
background-color: #DDB9A3;
color: white;
font-size: 2.5rem;
font-family: 'Roboto Mono', monospace;


}

.footer{
width: 99%;
height: 40vh;

}

.fire{
text-align: center;
width: 50%;
margin-left: 25%;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;
}

.bus{

text-align: center;
width: 50%;
margin-left: 25%;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;
}

.button1{

display:inline-block;
width:200px;
text-align:center;
padding:2% 0;
border-radius:10px;
margin:0 auto;
background-color: #FF764E;
color: white;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;

}

.button2{

background-color: #5ED3EB;
display:inline-block;
width:200px;
text-align:center;
padding:2% 0;
border-radius:10px;
color: white;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;
}

.button3{

display:inline-block;
background-color: #FFCD69;
width: 200px;
text-align:center;
padding:2% 0;
border-radius:10px;
color: white;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;
}
76 changes: 49 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,57 @@
<html lang="en">
<head>
<!-- Link your CSS stylesheet -->

<link rel="stylesheet" href="index.css">
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
</head>
<body>
Plan your Visit
Learn about the Park
Get Involved


"header_img.jpg"
Yosemite Park Guide
Come explore California’s beautiful wilderness.

<body class="container">
<div class="links">
<a class="button1" href="url">Plan your Vist</a>
<a class="button2" href="url">Learn about the Park</a>
<a class="button3" href="url">Get Involved</a>
</div>


<img src="./assets/header_img.jpg" class="circle" alt="Yosemite"></img>
<section class="section">
<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.

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
</p>
</section>

<section class="section2">
<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="fire">
<img src="https://image.flaticon.com/icons/svg/2979/2979348.svg" class=center></img>
<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 current <b>fire restrictions</b>.
</p>
</section>

<section class="bus">
<img src="https://image.flaticon.com/icons/svg/820/820374.svg" class=center></img>
<p>We strongly recommend that you make reservations for lodging, camping, and backpacking. You can pay the <b>park entrance fee</b> upon arrival (there's no need to pay it in advance).
</p>
</section>


<img src="./assets/footer_img.jpg" class="footer"></img>

<footer class="links1">
<div class="links1">
<a href="url" class="button1">Plan your Vist</a>
<a href="url" class="button2">Learn about the Park</a>
<a href="url" class="button3">Get Involved</a>
</div>
</footer>

</body>
</html>