Skip to content
Closed
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
100 changes: 94 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,99 @@

/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
/* 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-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
}

nav {
display: flex;
color: gray;
}

nav ul {
text-decoration: none;
list-style: none;
}

nav ul li {
display: inline;
padding: 5px;
margin: 5px;
}

nav ul li:hover {
color: black;
cursor: pointer;
}

.nav-bar {
background-color: white;
width: 100%;
text-align: center;
align-items: center;
border-bottom: 1px solid black;
position: fixed;
padding-top: 15px;
}

.logo {
margin-left: 20%;
float: left;
height: auto;
width: auto;
padding: 10px;
max-width: 40px;
max-height: 40px;
}
.nav-bar ul li:first-child {
color: black;
}

.slide1 {
width: 100%;
height: auto;
text-align: center;
vertical-align: top;
}

#learn-more {
font-size: 25px;
color: white;
background-color: #f05a29;
border-radius: 5px;
border: none;
height: 60px;
width: 200px;
}

.little-karma {
width: 1000px;
}

#little-karma {
width: 25%;
text-align: center;
display: flex;
flex-direction: row;
align-content: space-around;
}

#slide2 {
display: flex;
text-align: center;
flex-direction: row;
background-color: blanchedalmond;
}

#get-karma-today {
font-size: 25px;
color: white;
background-color: #f05a29;
border-radius: 5px;
border: none;
height: 60px;
width: 200px;
align-self: flex-end;
}

/**
Expand All @@ -15,5 +105,3 @@ body {
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/


86 changes: 75 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,83 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Karma</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,500,300"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<header>
<nav>
<div class="nav-bar">
<img class="logo" src="./img/karma-logo.svg" alt="Karma logo" />
<ul>
<li><a href="#"></a>Meet Karma</li>
<li><a href="#"></a>How it Works</li>
<li><a href="#"></a>Store</li>
<li><a href="#"></a>Blog</li>
<li><a href="#"></a>Help</li>
<li><a href="#"></a>Login</li>
</ul>
</div>
</nav>
</header>

<section>
<div class="slide1">
<img src="./img/first-background.jpg" alt="first-background" />
<h1>Introducing Karma</h1>
<h2>Bring WiFi with you, everywhere you go.</h2>
<button id="learn-more">Learn More</button>
</div>
</section>

<section id="little-karma">
<div class="little-karma">
<h1>Everyone needs a Little Karma.</h1>
</div>
<div class="flexbox-devices">
<img id="devices" src="./img/icon-devices.svg" alt="device logo" />
<h2>Internet for all devices</h2>
</div>
<div class="flexbox-coffee">
<img id="coffee" src="./img/icon-coffee.svg" alt="coffee" />
<h2>Boost your productivity</h2>
</div>
<div class="flexbox-refill">
<img id="refill" src="./img/icon-refill.svg" alt="refill" />
<h2>Pay as You Go</h2>
</div>
</section>

<section id="slide2">
<img class="woman" src="./additional/feature-img.png" alt="woman" />
<h1>Where I am, Ijust don't worry about my connection anymore !</h1>
<button id="get-karma-today">Get Karma today</button>
</section>

<footer>
<hr />
<h2>Join us on</h2>
<div class="icon-container">
<div id="icon-border">
<i class=""></i>
</div>
</div>
</footer>

<!-- 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 -->

</body>
</body>
</html>