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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
155 changes: 153 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

/* 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;
}


/**
* Add your custom styles below
*
Expand All @@ -16,4 +16,155 @@ body {
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/

nav {
height: 60px;
width: 100%;
}

img.logo {
width: 20px;
height: auto;
margin: 15px 0 0 80px;
}

nav ul {
float: right;
margin: 0 0;
}

nav ul li {
display: inline;
line-height: 60px;
margin: 5px 5px;
}

nav ul li a {
color: #AEB1B8;
padding: 5px 10px;
text-decoration: none;
}

nav ul li .active {
font-weight: 500;
color: #6B6D73;
}

a:hover {
color: #f05a29;
transition: 0.5s;
}

.hamburge {
background-color: transparent;
cursor: pointer;
border: 0px;
font-size: 20px;
display: none;
float: right;
margin: 15px 40px 0 0;
}

.hamburger:focus {
outline: none;
}

main {
width: 100%;
}

.intro div {
background: url("../img/first-background.jpg");
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: auto;
text-align: center;
padding: 20%;
background-size: cover;
background-position: right;
}

.intro button {
padding: 0 30px;
height: 40px;
background-color: #E0633A;
border-radius: 7px;
border: 0px;
}

.titel {
margin: 40px;
padding: 10px;
align-items: center;
text-align: center;
color: #4E4F51;
}

.article div {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: flex-start;
}

.article .box {
width: 200px;
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 18;
}

hr {
border: 0;
clear: both;
display: block;
width: 96%;
background-color: #EEE;
height: 1px;
margin: 10px;
}

footer {
display: flex;
flex-direction: column;
justify-content: center;
margin: 40px;
align-items: center;
}

footer .icons {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: 0;
padding: 0;
}

.icon {
display: flex;
justify-content: center;
align-items: center;
width: 20px;
margin: 10px;
padding: 10px;
border-radius: 50%;
border: 1px solid #eee;
}

@media (max-width: 780px) {
.hamburge {
display: block;
}
nav ul {
display: none;
}
.article div {
flex-direction: column;
}
}
83 changes: 77 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,90 @@
<!DOCTYPE html>
<html lang="en">

<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">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>

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


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



<img class="logo" src="img/karma-logo.svg" alt="karma-logo" width="33px">
<button class="hamburge" id="hamburge">
<img src="img/menu-hamburger.svg" alt="hamburger" >
</button>
<ul class="links">
<ul class="links">
<li><a href="#" class="active">Meet Karma</a></li>
<li><a href="#">How it Works</a></li>
<li><a href="#">Store</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Login</a></li>
</ul>
</ul>

</nav>
</header>

<main>
<section class="intro">
<div>
<h1>Introducing Karma</h1>
<p>Bring WIFI with you, everywhere you go.</p>
<button>Learn More</button>
</div>
</section>

<div class=titel>
<h1>Everyone needs a little Karma.</h1>
</div>

<section class="article">

<div class="content">
<div class="box">
<img class="imgs" src="img/icon-devices.svg" alt="devices" />
<p>Internet for all devices</p>
</div>
<div class="box">
<img class="imgs" src="img/icon-coffee.svg" alt="coffee" />
<p>Boost your productivity</p>
</div>
<div class="box">
<img class="imgs" src="img/icon-refill.svg" alt="refill" />
<p>Pay as you go</p>
</div>
</article>
</section>

</main>

<footer>
<hr />
<p>Join us on</p>
<div class="icons">
<img class="icon" src="img/twitter-icon.svg" alt="twitter" />
<img class="icon" src="img/facebook-icon.svg" alt="facebook" />
<img class="icon" src="img/instagram-icon.svg" alt="instagram" />
</div>
<p>&copy; Karma Mobility, Inc.</p>
</footer>



</body>
</html>

</html>