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 @@
{
"html.autoClosingTags": false
}
Empty file added css/repeat.css
Empty file.
190 changes: 177 additions & 13 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,183 @@
* {
padding: 0;
margin: 0;
border: 0;
outline: 0;
box-sizing: border-box;
}
body {
font-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
}
h1 {
font-size: 4vw;
}
h2 {
font-size: 2.5vw;
}
h3 {
font-size: 1.5vw;
}

/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */
.header {
width: 100%;
padding: 1em;
}
.nav {
width: 100%;
display: flex;
justify-content: space-around;
font-size: 1.5vw;
}
.ul_div {
width: 70%;
align-self: center;
}
.ul_div ul {
display: flex;
justify-content: space-evenly;
}
.ul_div ul li {
list-style: none;
}
.nav_link {
color: rgb(41, 39, 39);
text-decoration: none;
}
.nav_link:hover {
color: orangered !important;
}
.logo img {
width: 5vw;
}
/* =============================Hero======================== */
.hero {
width: 100%;
height: 80vh;
background: url("../img/first-background.jpg");
background-size: cover;
background-position: center;
}

body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
.overlay_content {
padding-top: 10%;
width: 40%;
margin: 0 auto;
text-align: center;
color: white;

text-shadow: 0 0 20px black;
}
.overlay_content h3 {
color: rgb(218, 207, 207);
}
.overlay_btn {
padding: 1em;
background: rgb(255, 102, 0);
border-radius: 5px;
margin-top: 5%;
font-size: 1.5vw;
}

/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
* - When using Flexbox, remember the items you want to move around need to be inside a parent container set to 'display: flex'
*/
/* =================Custom <hr>==================== */
hr {
width: 80%;
border: 1px solid gray;
margin: 3% auto;
}
/* ============================Features Styles====================== */
.features {
width: 100%;
text-align: center;
margin-top: 10%;
}

.features h1 {
font-weight: 100;
}
.feature_item img {
width: 10vw;
margin-bottom: 20px;
}
.features_items {
width: 100%;
display: flex;
justify-content: space-evenly;
padding: 1em;
}
/* =====================================Request Styles============================ */
.request {
width: 100%;
display: flex;
margin-top: 8%;
}
.request_text_item {
width: -webkit-fill-available;
padding: 3em;
text-align: center;
}
.request_text_item h1 {
font-size: 3vw;
}
.request_text_item button {
padding: 1em;
font-size: 1.5em;
border-radius: 10px;
background: #e0633a;
color: white;
}
.request_text_item button:hover {
background: #ff5319;
}
.request_text_item {
background: rgba(224, 99, 58, 0.1);
}

/* ========================================Footer Styles======================================= */
.footer {
width: 100%;
text-align: center;
padding: 1em;
}
.icons_link {
padding: 1em;
border: 1px solid gray;
border-radius: 50%;
display: inline-block;
}
.icons_link img {
width: 30px;
}
.social_icons_div {
margin: 2%;
}
footer h4 {
color: gray;
}
/* ===================================store page=============================== */
.container {
display: flex;
flex-direction: column;
padding-right: 0px;
}
.col-1 {
border: 1px solid rgba(153, 150, 150, 0.8);
padding: 0px;
font-size: 30px;
text-align: left;
}
.input {
border: 1px solid gray;
}
.fieldset {
border: 0;
}
.col-1 {
display: flex;
flex-direction: column;
border: 0;
}
.form-row {
display: flex;
flex-direction: row;
}
Binary file added img/homepage-feature.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/store-image_by-andrew-neel-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 99 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,104 @@
<!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">
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Karma | HomePage</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>

<!-- 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>
<!-- ===================Header=================== -->
<header class="header">
<nav class="nav">
<div class="logo">
<img src="./img/karma-logo.svg" alt="logo" />
</div>
<div class="ul_div">
<ul class="nav_ul">
<li class="nav_li">
<a class="nav_link" href="#">How it Works</a>
</li>
<li class="nav_li"><a class="nav_link" href="#">Store</a></li>
<li class="nav_li"><a class="nav_link" href="#">Meet Karma</a></li>
<li class="nav_li"><a class="nav_link" href="#">Blog</a></li>
<li class="nav_li"><a class="nav_link" href="#">Help</a></li>
<li class="nav_li"><a class="nav_link" href="#">Login</a></li>
</ul>
</div>
</nav>
</header>
<!-- ====================Main============================= -->
<main class="main">
<section class="hero">

<div class="overlay_content">
<h1>Introducing to Karma</h1>
<h3>Bring WiFi with you, everywhere you go.</h3>
<br />
<button class="overlay_btn">Learn More</button>
</div>

</section>
<section class="features">
<h1>Everyone needs a little bit Karma</h1>
<br />
<div class="features_items">
<div class="feature_item">
<img src="./img/icon-devices.svg" alt="device" />
<h3>Internet for all devices</h3>
</div>
<div class="feature_item">
<img src="./img/icon-coffee.svg" alt="coffee" />
<h3>Boost your productivity</h3>
</div>

</body>
<div class="feature_item">
<img src="./img/icon-refill.svg" alt="refill" />
<h3>Pay as you go</h3>
</div>
</div>
</section>

<section class="request">
<div class="feature_requests_col request_img_item">
<img src="./img/homepage-feature.jpg" />
</div>
<div class="feature_requests_col request_text_item">
<h1>
<span style="color: #E0633A;">" </span>Wherever I am, I just don’t<br> worry about my connection <br>anymore! <span style="color: #E0633A;"> "</span>
</h3>
<button class="feature_requests_btn">Get Karma today</button>
</div>
</section>
</main>

<hr />
<!-- ==========================Footer======================== -->
<footer class="footer">
<h3>Join Us</h3>
<div class="social_icons_div">
<a class="icons_link" href="https://twitter.com"
><img src="./img/twitter-icon.svg" alt="twitter"
/></a>
<a class="icons_link" href="https://facebook.com"
><img src="./img/facebook-icon.svg" alt="twitter"
/></a>
<a class="icons_link" href="https://instagram.com"
><img src="./img/instagram-icon.svg" alt="twitter"
/></a>
</div>
<h4>Karma Mobility, Inc</h4>
</footer>
</body>
</html>
Loading