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
95 changes: 94 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
}
};

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


body {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.nav-bar {
display: flex;
justify-content: space-between;
padding: 0 20px;
overflow: hidden;
}

.nav-link {
color: #030101;
display: block;
font-size: 15px;
float: left;
padding: 16px;
text-align: center;
text-decoration: none;
}

.nav-link:hover {
color: #ec7f4c
}

.intro {
color: white;
background-image: url("../img/first-background.jpg");
background-repeat: no-repeat;
background-size: cover;
align-items: center;
flex-direction: column;
justify-content: center;
height: 800px;
display: flex;
}

button {
background-color: #ec7f4c;
border-radius: 4px;
border: none;
color: white;
padding: 10px 20px;
margin-top: 30px;
}

h1 {
font-size: 50px;
}

.main-information {
text-align: center;
margin-top: 30px;
}

.information {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}

.display-icon {
width: auto;
align-items: center;
padding: 50px;
}

.footer{
display: flex;
flex-direction: column;
align-items: center;
color: rgb(92, 92, 92);
}

.footer icon{
display: flex;
padding: 0px;
}

.icon-image{
width: 15px;
padding: 0.8rem;
}

.social-media-icon{
border: 1px solid rgb(114, 113, 113);
text-align: center;
border-radius: 70%;
margin: 0.5rem;
}
59 changes: 55 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,60 @@
</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 -->
<div class="nav-bar">
<a href=""><img src="favicon.ico" alt=""></a>
<nav id="nav-bar">
<ul class="links">
<a class="nav-link" href="#Karma">Meet Karma</a>
<a class="nav-link" href="#Works">How it Works</a>
<a class="nav-link" href="#Store">Store</a>
<a class="nav-link" href="#Blog">Blog</a>
<a class="nav-link" href="#Help">Help</a>
<a class="nav-link" href="#Login">Login</a>
</ul>
</nav>
</div>

<div class="intro">
<h1>Introducing Karma</h1>
<p class="intro-top">Bring WIFI with you, everywhere you go.</p>
<a href="#Learn-more"><button>Learn More</button></a>
</div>

<div class="main-information">
<h2>Everyone needs a little Karma. </h2>
</div>
<div class="information">
<div class="display-icon">
<img class="icon" src="./img/icon-devices.svg" alt="various-devices">
<p>Internet for all devices.</p>
</div>

<div class="display-icon">
<img class="icon" src="./img/icon-coffee.svg" alt="coffee">
<p>Boost your productivity</p>
</div>

<div class="display-icon">
<img class="icon" src="./img/icon-refill.svg" alt="Refill">
<p>Pay as You Go</p>
</div>
</div>
</body>

<footer>
<div class = "footer">
<h3>Join us on</h3>
<div class="social-media-icons">
<icon>
<div class= "social-media-icon"><a href = ""><img src="img/twitter-icon.svg" alt = "" class = "icon-image"></a></div>
<div class= "social-media-icon"><a href = ""><img src="img/facebook-icon.svg" alt = "" class = "icon-image"></a></div>
<div class= "social-media-icon"><a href = ""><img src="img/instagram-icon.svg"alt = "" class = "icon-image" ></a></div>
</icon>
</div>
<h4>Karma Mobility, Inc</h4>
</div>
</footer>


</body>
</html>