From 832bd7e27cd2c4125fa5a345f9e5e50811eee381 Mon Sep 17 00:00:00 2001 From: Kevin Klukowski Date: Wed, 28 Oct 2020 11:47:47 -0400 Subject: [PATCH 1/8] begin work before class --- index.css | 15 +++++++++++++++ index.html | 8 ++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/index.css b/index.css index e69de29bb..ba11a225d 100644 --- a/index.css +++ b/index.css @@ -0,0 +1,15 @@ +li { + display: inline; +} + +#one { + background-color: coral; +} + +#two { + background-color: blue; +} + +#three { + background-color: navy; +} diff --git a/index.html b/index.html index 6fd71e4a1..83f7254c7 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,12 @@ - + - Plan your Visit - Learn about the Park - Get Involved +
  • Plan your Visit
  • +
  • Learn about the Park
  • +
  • Get Involved
  • "header_img.jpg" From 9bda4af851b860c0da498b088e6225747272bb71 Mon Sep 17 00:00:00 2001 From: Kevin Klukowski Date: Wed, 28 Oct 2020 11:51:41 -0400 Subject: [PATCH 2/8] add image tag before class --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 83f7254c7..c074a0198 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@
  • Get Involved
  • - "header_img.jpg" + Yosemite Image Yosemite Park Guide Come explore California’s beautiful wilderness. Always open. Reservations are not available or required to enter the park. From 1ab0b860a5d0bbb6fa7a9c379c648dcbc0e5212d Mon Sep 17 00:00:00 2001 From: Kevin Klukowski Date: Wed, 28 Oct 2020 16:10:01 -0400 Subject: [PATCH 3/8] make changes to images --- index.css | 25 ++++++++++++++++++------- index.html | 30 ++++++++++++++++++------------ 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/index.css b/index.css index ba11a225d..16c0f58c1 100644 --- a/index.css +++ b/index.css @@ -1,15 +1,26 @@ -li { - display: inline; + + nav a{ + margin: 0 auto; } -#one { + + +nav .one { background-color: coral; } -#two { - background-color: blue; +nav .two { + background-color: teal; } -#three { - background-color: navy; +nav .three { + background-color: yellow; } + +.mtn { + border-radius: 50%; + width: 20%; + margin: 10px 10px; + display: inline-block; +} + diff --git a/index.html b/index.html index c074a0198..66b07881d 100644 --- a/index.html +++ b/index.html @@ -6,24 +6,30 @@ -
  • Plan your Visit
  • -
  • Learn about the Park
  • -
  • Get Involved
  • - - - Yosemite Image - Yosemite Park Guide - Come explore California’s beautiful wilderness. - Always open. Reservations are not available or required to enter the park. - +
    + + + Yosemite Image + +

    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" From bc7ddf899aaf908d66809989eb7a7d959b04755f Mon Sep 17 00:00:00 2001 From: Kevin Klukowski Date: Wed, 28 Oct 2020 16:37:02 -0400 Subject: [PATCH 4/8] continue to add css --- index.css | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++- index.html | 28 +++++++++++----------- 2 files changed, 82 insertions(+), 14 deletions(-) diff --git a/index.css b/index.css index 16c0f58c1..0f8131096 100644 --- a/index.css +++ b/index.css @@ -1,9 +1,38 @@ - nav a{ + html { + font-size: 62.5%; + } + + body { + font-size:1.6rem; + line-height:1.5; + color:#4f4f4f; + } + + .navone{ margin: 0 auto; + width: 50%; + align-items: center; } +.navtwo { + margin: 0 auto; + width: 100%; + align-items: center; + background-color: #ffdab9; +} +h1 { + display: inline-block; + text-align: center; + margin: 0 auto; +} + +h2 { + font-size: 2rem; + text-align: center; + background-color: wheat; +} nav .one { background-color: coral; @@ -24,3 +53,40 @@ nav .three { display: inline-block; } +.fire { + width: 20%; + margin: 0 auto; +} + +.truck { + width: 20%; + margin: 0 auto; + padding: 2%; +} + +.footer { + width: 100%; + margin: 0 auto; + height: 300px; +} + +.footone { + background-color: coral; + border-radius: 20%; + padding: 2%; + font-size: 2rem; +} + +.foottwo { + background-color: teal; + border-radius: 20%; + padding: 2%; + font-size: 2rem; +} + +.footthree { + background-color: yellow; + border-radius: 20%; + padding: 2%; + font-size: 2rem; +} \ No newline at end of file diff --git a/index.html b/index.html index 66b07881d..adfbf18ec 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@
    -
    - 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. +

    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. + 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.

    - - 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. + +

    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.

    - - 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). + +

    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 + From 1ff2b69561d9185be2380ab4389f27dc30ac7404 Mon Sep 17 00:00:00 2001 From: Kevin Klukowski Date: Wed, 28 Oct 2020 17:00:50 -0400 Subject: [PATCH 5/8] thinks almost there, added lots of css --- index.css | 30 ++++++++++++++++++++++++------ index.html | 9 +++++---- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/index.css b/index.css index 0f8131096..03eea6ad6 100644 --- a/index.css +++ b/index.css @@ -10,20 +10,20 @@ } .navone{ + display: block; margin: 0 auto; width: 50%; - align-items: center; + padding: 2% 0% 2% 0%; } .navtwo { + display: block; margin: 0 auto; - width: 100%; - align-items: center; - background-color: #ffdab9; + width: 50%; } h1 { - display: inline-block; + display: block; text-align: center; margin: 0 auto; } @@ -31,13 +31,18 @@ h1 { h2 { font-size: 2rem; text-align: center; - background-color: wheat; } nav .one { background-color: coral; } +.pone { + background-color: burlywood; + color: cornsilk; + text-align: center; +} + nav .two { background-color: teal; } @@ -54,17 +59,25 @@ nav .three { } .fire { + display: block; width: 20%; margin: 0 auto; } .truck { + display: block; width: 20%; margin: 0 auto; padding: 2%; } +footer { + background-color: peachpuff; + padding-top: 3%; + padding-bottom: 3%; +} .footer { + display: block; width: 100%; margin: 0 auto; height: 300px; @@ -74,12 +87,16 @@ nav .three { background-color: coral; border-radius: 20%; padding: 2%; + text-decoration: none; font-size: 2rem; + color: white: + } .foottwo { background-color: teal; border-radius: 20%; + text-decoration: none; padding: 2%; font-size: 2rem; } @@ -87,6 +104,7 @@ nav .three { .footthree { background-color: yellow; border-radius: 20%; + text-decoration: none; padding: 2%; font-size: 2rem; } \ No newline at end of file diff --git a/index.html b/index.html index adfbf18ec..9ede15a6b 100644 --- a/index.html +++ b/index.html @@ -22,19 +22,20 @@

    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. - +

    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.

    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.

    -

    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).

    +

    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).

    + -