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
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
}
270 changes: 261 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,271 @@

/* We are using the 'Roboto' font from Google. This has already been added to your HTML header */

:root {
--grey-dark: #363434;
--grey: #adadad;
--orange:#f05a28;
--white: #fff;
}
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}


body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
max-width: 800px;
margin-left: 20%;
}

.logo {
width: 40px;
height: 40px;
display: block;
}

#header-rectangle{
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 5rem;
}

.navbar {
color:black;
display: flex;
justify-content: flex-end;
gap:20px;
position: flex;
}

.navbar a {
text-decoration: none;
color: var(--grey);
}
.navbar a:hover{ color: var(--orange);

}

.navbar a:nth-child(1){
color: black;
}
.navbar a:nth-child(1):hover{
color: var(--orange);
}

#hero {
display: inline-block;
text-align: center;
background-image: url(/img/first-background.jpg);
background-size: cover;
background-repeat: no-repeat;
padding: 12rem 0;
color: var(--white);
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 2rem;
}

h1{
color: white;
font-size: 35px;
font-weight: 200;
text-align: center;
}

h3{ text-align: center;
font-size: 35px;
font-weight: 200;
margin-top: 60px;
}

h2{
margin-top: -2rem;
margin-bottom: 2rem;
color: white;
font-size: 30px;
font-weight: 50;
text-align: center;
}

#cards {
margin-top: 60px;
display: flex;
gap: 20px;
align-items: center;
gap: 75px;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-content: flex-start;
}

.directors {
height: 150px;
width: 220px;
border-radius: 20px;
padding-top: 15px;
padding-bottom: 15px;
}

p{
text-align: center;
font-family: Roboto;
font-size: 17px;
}

.btn{
text-decoration: none;
background-color: #E0633A;
padding: 1rem;
color: var(--white);
border-radius: 5px;
}

.btn:hover{
background-color: var(--grey-dark);
}

/* homepage extension */

#rectangle{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 841px;
height: 439px;
left: 599px;
top: 1758px;
background-color: rgba(224, 99, 58, 0.1);
}

/**
* 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'
*/
q{
width: 548px;
height:130px;
left: 755px;
top: 1854px;
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
font-size: 30px;
line-height: 45px;
color: #434242;
}

#homepagextension{
max-width: 800px;
margin-top: 5rem;
display:flex;
flex-direction: row;
align-items: center;
}

.btn2{
text-decoration: none;
background-color: #E0633A;
padding: 1rem;
color: var(--white);
border-radius: 5px;
}

.btn2:hover{
background-color: var(--grey-dark);
}

.footer-icons{
display: flex;
gap: 20px;
align-items: center;
gap: 35px;
flex-direction: row;
justify-content: center;
}

h4{
text-align: center;
margin-top: 30px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-img1{
width: 30px;
}

.footer-img2{
width: 30px;
}
.footer-img3{
width: 30px;
border: 0;
}
.c-site-footer{
text-align: center;
}


/* store page styling */
.store-page{
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
height: 100%;

}
.form-container{
display: inline-flex;
flex-direction: flex;
border: #f05a28 solid;

}


.form-image{
border: lime solid;
width: 100%;
height: 100%;
background-image: url(/level-2/store-image_by-andrew-neel-unsplash.jpg);
background-repeat: no-repeat;
background-size: cover;
padding: 50%;
}
.formheader{
color: var(--orange);
}


.clientnames{
display: flex;
flex-direction: row;
width: 100%;
padding: 1rem;
gap: 2px;
}


.name1{
height: 53px;
width: 235px;
left: 122px;
top: 451px;
border-radius: 4px;
}
.name2{
height: 53px;
width: 235px;
left: 122px;
top: 451px;
border-radius: 4px;
}

.fieldset{
border: none;
}
76 changes: 76 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,82 @@
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>

<body>

<header>
<div id="header-rectangle">
<img class="logo" src="/img/karma-logo.svg" alt="logo of karma-logo">

<nav class="navbar" aria-label="site links" id="navlinks">

<a href="#"><strong>Meet Karma</strong> </a> <br>
<a href="#">How it Works</a>
<a href="store.html">Store</a>
<a href="#">Blog</a>
<a href="#">Help</a>
<a href="#">Log in</a>

</nav>
</div>
</header>

<main>

<section id="hero">
<h1> Introducing Karma </h1>
<h2>Bring WiFi with you, wherever you go.</h2>
<a href="#" class="btn">Learn More</a>
</section>


<div id="h3">
<h3>Everyone needs a little Karma</h3>
</div>

<div id="cards">

<div>
<img class="directors" src="/img/icon-devices.svg" alt="electronic devices">
<p>Internet for all devices</p>
</div>

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

<div>
<img class="directors" src="/img/icon-refill.svg" alt="fuel refill image">
<p>Pay as you go</p> </div>

</div>

<section id="homepagextension">
<img src="./level-2/homepage-feature.png" alt="a lady sitting and laughing"> </img>
<div id="rectangle">
<q>Wherever I am, I just don’t <br>worry about my connection<br> anymore!</q>
<br> <br>
<a class="btn2" href="store.html">Get Karma Today</a>
</div>
</section>
</main>
<footer class="footer"><hr>
<h4 justify: center;>Join our Social Media:</h4>
<br> <br>
<div class="footer-icons">
<i class="footer-icon1">
<a href="#">
<img src="img/twitter-icon.svg" class="footer-img1"> </a> </i>
<i class="footer-icon2"> <a href="#"><img src="img/facebook-icon.svg" class="footer-img2">
</a> </i>
<i> <a href="#" class="footer-icon3"> <img src="img/instagram-icon.svg" class="footer-img3">
</a></i>
</div>
<br> <br>
<section class="c-site-footer">&copy Karma Mobility, Inc: 2022
</footer>

<body>

<!-- Add your HTML markup here -->
Expand Down
Loading