-
-
Notifications
You must be signed in to change notification settings - Fork 43
JiT update.... #64
base: master
Are you sure you want to change the base?
JiT update.... #64
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,17 @@ | ||||||
| * { | ||||||
| margin: 0; | ||||||
| padding: 0; | ||||||
| } | ||||||
|
|
||||||
| html{ | ||||||
| font-size: 62.5%; | ||||||
| } | ||||||
| /* We are using the 'Roboto' font from Google. This has already been added to your HTML header */ | ||||||
|
|
||||||
| body { | ||||||
| font-family: 'Roboto', sans-serif; | ||||||
| -webkit-font-smoothing: antialiased; | ||||||
| font-size: 1rem; | ||||||
| } | ||||||
|
|
||||||
| /** | ||||||
|
|
@@ -16,4 +24,230 @@ body { | |||||
| * - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex' | ||||||
| */ | ||||||
|
|
||||||
| /***************************************** H E A D E R S E C T I O N ****************************************** | ||||||
| * The header inclueds the log and navigation bar that is laid out using the flexbox layout | ||||||
| * | ||||||
| ****************************************************************************************************************/ | ||||||
|
|
||||||
| /* | ||||||
| * Let's pin our header to the top of the page | ||||||
| */ | ||||||
|
|
||||||
| header{ | ||||||
| position: fixed; | ||||||
| /* stop: 0px; */ | ||||||
| width: 100%; | ||||||
| background-color: #fff; | ||||||
| border-bottom: 1px solid #ddd; | ||||||
| /* soverflow: hidden; */ | ||||||
| } | ||||||
|
|
||||||
| .content-container{ | ||||||
| padding: 0 1.5008rem; | ||||||
| margin: 0 auto; | ||||||
| min-width: 60rem; | ||||||
| } | ||||||
|
|
||||||
| /* | ||||||
| * The layout container for the logo and navigation | ||||||
| */ | ||||||
|
|
||||||
| .header-layout{ | ||||||
| display: flex; | ||||||
| justify-content: space-between; | ||||||
| align-items: center; | ||||||
| height: 7rem; | ||||||
| } | ||||||
|
|
||||||
| /* | ||||||
| * The header Content | ||||||
| */ | ||||||
|
|
||||||
| img.logo { | ||||||
| height: 7rem; | ||||||
| width: 2.6rem;; | ||||||
| } | ||||||
|
|
||||||
| nav.menu { | ||||||
| /* float: right; */ | ||||||
| color: #838994; | ||||||
| font-size: 1.664rem; | ||||||
| /* | ||||||
| margin-top: 1.7rem; | ||||||
| margin-top: 2.752rem; | ||||||
| */ | ||||||
| } | ||||||
|
|
||||||
| nav.menu li { | ||||||
| display: inline-block; | ||||||
| margin-left: 2.5008rem; | ||||||
| } | ||||||
|
|
||||||
| nav.menu .selected{ | ||||||
| color: #4c5058; | ||||||
| font-weight: 500; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| /* | ||||||
| * Container for background photo, title and tagline | ||||||
| */ | ||||||
|
|
||||||
| .tag-container{ | ||||||
| background-image: url('../img/first-background.jpg'); | ||||||
| background-position: center bottom; | ||||||
| background-repeat: no-repeat; | ||||||
| background-size: cover; | ||||||
| height: 73.5008rem; | ||||||
| } | ||||||
|
|
||||||
| /* | ||||||
| * Lets layout out content using ye ole trust flexbox..... | ||||||
| */ | ||||||
| .tag-content{ | ||||||
| padding:0; | ||||||
| display: flex; | ||||||
| flex-direction: column; | ||||||
| align-items: center; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
| .tag-content h1{ | ||||||
| margin: 0; | ||||||
| margin-top: 28rem; | ||||||
| font-size: 5rem; | ||||||
| } | ||||||
|
|
||||||
| .tag-content h3{ | ||||||
| font-size: 2.5008rem; | ||||||
| margin-top: 2rem; | ||||||
| } | ||||||
|
|
||||||
| .tag-content h1, .tag-content h3 { | ||||||
| color: #fff; | ||||||
| font-weight: 300; | ||||||
| } | ||||||
|
|
||||||
| .tag-content button{ | ||||||
| margin-top: 2.5008rem; | ||||||
| width: 15.5008rem; | ||||||
| background-color: #f15a29; | ||||||
| border-color: #f15a29; | ||||||
| text-shadow: none; | ||||||
| border-style: none; | ||||||
| border-radius: 0.4rem; | ||||||
| padding: 1.6rem 0.9rem; | ||||||
| color: white; | ||||||
| font-size: 1.8rem; | ||||||
| box-sizing: border-box; | ||||||
| } | ||||||
|
|
||||||
| .benefits-container{ | ||||||
| display: flex; | ||||||
| justify-content: space-around; | ||||||
| text-align: center; | ||||||
| padding-bottom: 8rem; | ||||||
| } | ||||||
|
|
||||||
| .benefit img{ | ||||||
| width: 12.7rem; | ||||||
| height: 12.7rem; | ||||||
| } | ||||||
|
|
||||||
| #benefits{ | ||||||
| margin-top: 12.6rem; | ||||||
|
|
||||||
| } | ||||||
| #benefits h2{ | ||||||
| margin-top: 12.6rem; | ||||||
| font-size: 4.4rem; | ||||||
| font-weight: 300; | ||||||
| margin: 2.6rem 0 5rem; | ||||||
| text-align: center; | ||||||
| } | ||||||
| .benefit h3{ | ||||||
| font-size: 2.5008rem; | ||||||
| font-weight: 400; | ||||||
| margin: 4rem 0 3rem; | ||||||
| } | ||||||
| section.benefit{ | ||||||
| width: 33.3333333%; | ||||||
| } | ||||||
|
|
||||||
| footer{ | ||||||
| padding-bottom: 15rem; | ||||||
| } | ||||||
|
|
||||||
| footer hr{ | ||||||
| margin: 2.1008rem; | ||||||
| border-top: 1px solid #eaebec; | ||||||
| } | ||||||
|
|
||||||
| #social-media-container h5{ | ||||||
| margin: 2.1008; | ||||||
| } | ||||||
| #social-media-container h5{ | ||||||
| font-size: 1.6rem; | ||||||
| font-weight: 400; | ||||||
| text-align: center; | ||||||
| } | ||||||
| .social-media-layout{ | ||||||
| display: flex; | ||||||
| justify-content: center; | ||||||
| } | ||||||
|
|
||||||
| .social-media{ | ||||||
| border-radius: 2rem; | ||||||
| width: 4rem; | ||||||
| height: 4rem; | ||||||
| margin: 2rem 5px; | ||||||
| border: 1px solid #eaebec; | ||||||
| padding: 1rem 0; | ||||||
| text-align: center; | ||||||
| box-sizing: border-box; | ||||||
| } | ||||||
|
|
||||||
| #social-media-container .twitter { | ||||||
| color: #55acee; | ||||||
| } | ||||||
| #social-media-container .facebook { | ||||||
| color: #4c66a4; | ||||||
| } | ||||||
| #social-media-container .instagram { | ||||||
| color: #3f729b; | ||||||
| } | ||||||
|
|
||||||
| .fa{ | ||||||
|
||||||
| font-family: FontAwesome; | ||||||
| font-size: 1.4rem; | ||||||
| } | ||||||
|
|
||||||
| #social-media-container .content-container .copyright{ | ||||||
| text-align: center; | ||||||
| font-size: 1.44rem; | ||||||
| font-weight: 300; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
| @media (min-width: 76.8em) { | ||||||
| .content-container { | ||||||
| width: 73.6em; | ||||||
| sbackground-color: red; | ||||||
|
||||||
| sbackground-color: red; | |
| background-color: red; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Leroy uses this instead of commenting.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -16,6 +16,63 @@ | |||||
| <!-- Add your HTML markup here --> | ||||||
| <!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc --> | ||||||
| <!-- All the images you need are in the 'img' folder --> | ||||||
|
|
||||||
| <header> | ||||||
| <div class="content-container"> | ||||||
| <div class="header-layout"> | ||||||
| <img class="logo" src="img/karma-logo.svg" alt="Karma logo"> | ||||||
| <nav class="menu"> | ||||||
| <ul> | ||||||
| <li class="selected">Meet Karma</li> | ||||||
| <li>How it Works</li> | ||||||
| <li>Store</li> | ||||||
| <li>Blog</li> | ||||||
| <li>Help</li> | ||||||
| <li>Login</li> | ||||||
| </ul> | ||||||
| </nav> | ||||||
| </div> | ||||||
| </div> | ||||||
| </header> | ||||||
| <div id="container"> | ||||||
| <div class="tag-container"> | ||||||
| <div class="content-container tag-content"> | ||||||
| <h1 id="title">Introducing Karma</h1> | ||||||
| <h3 id="tagline">Bring WiFi with you, everywhere you go.</h3> | ||||||
| <button>Learrn More</button> | ||||||
| </div> | ||||||
| </div> | ||||||
| <main id=benefits> | ||||||
|
||||||
| <main id=benefits> | |
| <main id="benefits"> |
missing double quotations :)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the empty h4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove any unnecessary / commented code before submitting a PR.