-
-
Notifications
You must be signed in to change notification settings - Fork 42
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{ | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. better to create your own classname rather than setting styles directly on fontawsome class. Also I'm not sure you need to set the font-family |
||||||
| 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; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems to be a typo here
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think Leroy uses this instead of commenting. |
||||||
| } | ||||||
| } | ||||||
|
|
||||||
| @media (min-width: 99.2em) { | ||||||
| .content-container { | ||||||
| width: 96rem; | ||||||
| sbackground-color: blue; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||||||
| } | ||||||
| } | ||||||
|
|
||||||
| @media (min-width: 120rem) { | ||||||
| .content-container { | ||||||
| width: 60%; | ||||||
| sbackground-color: green; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
missing double quotations :) |
||||||
| <h2>Everyone needs a little Karma</h2> | ||||||
| <div class="benefits-container content-container"> | ||||||
| <section class="benefit"> | ||||||
| <img src="img/icon-devices.svg" alt="Karma supports Internet for all devices"> | ||||||
| <h3>Internet for all devices</h3> | ||||||
| </section> | ||||||
| <section class="benefit"> | ||||||
| <img src="img/icon-coffee.svg" alt="Karma Boosts your productivity"> | ||||||
| <h3>Boost your productivity</h3> | ||||||
| </section> | ||||||
| <section class="benefit"> | ||||||
| <img src="img/icon-refill.svg" alt="Karma supports Pay as You Go"> | ||||||
| <h3>Pay as You Go</h3> | ||||||
| </section> | ||||||
| </div> | ||||||
| </main> | ||||||
| <footer> | ||||||
| <h4></h4> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove the empty |
||||||
| <section id="social-media-container"> | ||||||
| <div class="content-container"> | ||||||
| <hr> | ||||||
| <h5>Join us on</h5> | ||||||
| <div class="social-media-layout"> | ||||||
| <div class="social-media twitter fa fa-twitter"></div> | ||||||
| <div class="social-media facebook fa fa-facebook"></div> | ||||||
| <div class="social-media instagram fa fa-instagram"></div> | ||||||
| </div> | ||||||
| <div class="copyright">© Karma Mobility, Inc.</iv> | ||||||
| </div> | ||||||
| </section> | ||||||
| </footer> | ||||||
| </div> | ||||||
| </body> | ||||||
| </html> | ||||||
| </html> | ||||||
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.