diff --git a/Day-2 Task/assets/css/style.css b/Day-2 Task/assets/css/style.css index 0dc84e7..c990200 100644 --- a/Day-2 Task/assets/css/style.css +++ b/Day-2 Task/assets/css/style.css @@ -204,6 +204,8 @@ h1, h2, h3, h4, h5, h6 { #hero { width: 100%; height: 100vh; + text-align: center; + padding-top: 300px; background: url("../img/hero-bg.jpg") top center; background-size: cover; } @@ -224,29 +226,25 @@ h1, h2, h3, h4, h5, h6 { z-index: 2; min-width: 300px; } - #hero h1 { - margin: 0 0 10px 0; + margin: 50 50 50 50; font-size: 64px; font-weight: 700; line-height: 56px; color: #fff; } - #hero p { color: #fff; margin-bottom: 50px; font-size: 26px; font-family: "Poppins", sans-serif; } - #hero p span { color: #fff; padding-bottom: 4px; letter-spacing: 1px; border-bottom: 3px solid #149ddd; } - @media (min-width: 1024px) { #hero { background-attachment: fixed; @@ -306,7 +304,6 @@ section { bottom: 0; left: 0; } - .section-title p { margin-bottom: 0; } @@ -357,7 +354,7 @@ section { .facts .count-box i { display: block; /* Ugly Font Size */ - font-size: 500px; + font-size: 30px; color: #149ddd; float: left; } diff --git a/Day-2 Task/index.html b/Day-2 Task/index.html index df09ed5..36a103a 100644 --- a/Day-2 Task/index.html +++ b/Day-2 Task/index.html @@ -163,7 +163,7 @@