Skip to content
Open
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
93 changes: 93 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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'
*/
.header{
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
height: 5rem;
margin-bottom: 1rem;
margin-top: 1rem;
}

.nav-list{display:flex;
flex-direction: row;
list-style: none;
}

.nav-item{padding: 0.5rem;}

.nav-link{font-weight: 400;
text-decoration: none;
padding: 0.5rem;
color: darkgrey;}

.hero{background-image: url( https://github.com/CodeYourFuture/HTML-CSS-Module-Project/blob/master/img/first-background.jpg?raw=true);
color:white;
padding:6rem;
text-align: center;
}

.hero h1{font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-bottom:1rem;
font-size:1.8rem;
text-align: center;
margin-top: 5rem;

}

.hero p{font-size:1.2rem;
margin-bottom: 1rem;
text-align: center;
}

.hero button{color:white;
background-color: #c05326;
font-family: Arial, Helvetica, sans-serif;
font-size:1rem;
padding:0.8rem;
margin-bottom: 6rem;
background-size: cover;
;
}


.h1{margin-bottom:1rem;
margin-top:5rem;
text-align: center;}

.icons {display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
column-gap: 5rem;}


.footer{
border-top: 1px solid #e5e6e4;
margin: 1rem 5rem;
}
h4 {
font-weight: lighter;
text-align: center;
font-size: 0.75rem;
}
.contact{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
column-gap: 1.3em;
}
.contact-logo{
width: auto;
height: 0.8rem;
border: 0.13rem solid #e5e6e4;
border-radius: 50%;
padding: 0.5rem;



}
.footer-end{
text-align: center;
color: #c5c3c6;
font-size: 0.70rem;
}

54 changes: 50 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,56 @@
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<header class="header">
<img src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/karma-logo.svg" width="40" height="40">
<nav>
<ul class="nav-list">
<li class="nav-item">
<a class="nav-link" href="#">Meet Karma</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">How It Works</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Store</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Help</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Login</a>
</li></ul>
</nav>
</header>
<section class="hero">
<h1>Introducing Karma</h1>
<p>Bring WiFi with you,everywhere you go.</p>
<button>Learn More</button>

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


</section>
<h1 class="h1">Everyone needs a little Karma</h1>
<section class="icons">
<div> <img class="icon-img" src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-devices.svg" alt="internet icon" width="100">
<p class="menu">Internet for all devices</p></div>
<div><img class="icon-img" src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-coffee.svg" alt="coffee icon" width="100">
<p class="menu">Boost your productivity</p></div>
<div><img class="icon-img" src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/icon-refill.svg" alt="refill icon" width="100">
<p class="menu">Pay as You Go</p></div>
</section>

<div class="footer"></div>
<h4>Join us on</h4>
<section class="contact">
<div><img class="contact-logo" src="https://raw.githubusercontent.com/OlhaDanylevska/HTML-CSS-Module-Project/3582b6b7a0fef7533856c51feef4eba1cc20adeb/img/twitter-icon.svg" alt="twitter-logo" width="40" ></div>
<div><img class="contact-logo" src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/facebook-icon.svg" alt="facebook logo" width="40"></div>
<div><img class="contact-logo" src="https://raw.githubusercontent.com/CodeYourFuture/HTML-CSS-Module-Project/2eafd55a92f7931f2ce6d3264a4ea98a9488dc7e/img/instagram-icon.svg" alt="instragram logo" width="40"></div>
</section>
<div class="footer-end">
<p>©Karma Mobility.Inc.</p>
</div>
</body>
</html>