Skip to content

Commit d10cede

Browse files
committed
add inline style
1 parent 94067b0 commit d10cede

File tree

4 files changed

+72
-24
lines changed

4 files changed

+72
-24
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5502
3+
}

css/style.css

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@ height: 4.375rem;
4343
margin-left: 1.563rem;
4444
}
4545
.topnav .link li.active{
46-
color: #4c5058;
46+
color: #333;
4747
font-weight: 500;
4848
}
4949
.topnav .link li:hover{
5050
cursor: pointer;
5151
color: #333333;
5252
}
53+
5354
.introduction {
5455
background-image: url("../img/first-background.jpg");
5556
background-size: cover;
@@ -121,11 +122,21 @@ a {
121122
height: 50px;
122123
width: 50px;
123124
}
124-
.mobile {
125-
height: 30px;
126-
width: 30px;
125+
126+
.ever {
127+
align-items: center;
128+
justify-content: center;
129+
text-align: center;
130+
color: #838994;
131+
132+
127133
}
128-
.twitter {
134+
.inc {
135+
text-align: center;
136+
font-size: 0.8rem;
137+
color: #838994;
138+
}
139+
/*.twitter {
129140
height: 30px;
130141
width: 30px;
131142
}
@@ -143,12 +154,11 @@ a {
143154
justify-content: center;
144155
text-align: center;
145156
color: #838994;
157+
margin-top: 20px;
146158
}
147-
.inc {
148-
text-align: center;
149-
font-size: 0.8rem;
150-
color: #838994;
151-
}
159+
160+
.
161+
}*/
152162

153163
/**
154164
* Add your custom styles below

index.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@
1111
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
1212
</head>
1313
<body>
14-
15-
1614
<nav class="topnav">
17-
1815
<div class="content">
1916
<ul class="link">
20-
<li class="active">Meet Karma</li>
17+
<li class="active"><a href="index.html">Meet Karma</a></li>
2118
<li>How it Works</li>
22-
<li>Store</li>
19+
<li><a href="store.html">Store</a></li>
2320
<li>Blog</li>
2421
<li>Help</li>
2522
<li>Log in</li>
@@ -36,8 +33,6 @@ <h3>Bring your wifi with you, everywhere you go</h3>
3633
<div class="button">
3734
<button class="halfbutton">Learn More</button>
3835
</div>
39-
40-
4136
</div>
4237
</section>
4338
<section class="device">
@@ -58,8 +53,6 @@ <h2>Everyone needs a little Karma</h2>
5853
<div class="admit">
5954
<img class="images" src="/img/icon-refill.svg" alt="icon-refill">
6055
<p>Pay as you go</p>
61-
</div>
62-
6356
</div>
6457
</div>
6558

@@ -68,11 +61,11 @@ <h2>Everyone needs a little Karma</h2>
6861
<section class="never">
6962
<div class="ever">
7063
<p>Join us on</p>
71-
72-
73-
<img class="twitter" src="/img/twitter-icon.svg" alt="twitter icon">
74-
<img class="facebook" src="/img/facebook-icon.svg" alt="facebook icon">
75-
<img class="instagram" src="/img/instagram-icon.svg" alt="instagram icon">
64+
65+
66+
<img src="/img/twitter-icon.svg" alt="twitter icon" width="30" height="30">
67+
<img src="/img/facebook-icon.svg" alt="facebook icon" width="30" height="30">
68+
<img src="/img/instagram-icon.svg" alt="instagram icon" width="30" height="30">
7669

7770
</div>
7871
</section>

store.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<header></header>
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<title>Karma</title>
8+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,300' rel='stylesheet' type='text/css'>
9+
<link rel="stylesheet" href="css/normalize.css">
10+
<link rel="stylesheet" href="css/style.css">
11+
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
12+
</head>
13+
<body>
14+
<nav class="topnav">
15+
<div class="content">
16+
<ul class="link">
17+
<li class="active"><a href="index.html">Meet Karma</a></li>
18+
<li>How it Works</li>
19+
<li><a href="store.html">Store</a></li>
20+
<li>Blog</li>
21+
<li>Help</li>
22+
<li>Log in</li>
23+
</ul>
24+
<img class="logo" src="img/karma-logo.svg" alt="karma-logo" width="26"/>
25+
</div>
26+
</nav>
27+
<section class="never">
28+
<div class="ever">
29+
<p>Join us on</p>
30+
31+
32+
<img src="/img/twitter-icon.svg" alt="twitter icon" width="30" height="30">
33+
<img src="/img/facebook-icon.svg" alt="facebook icon" width="30" height="30">
34+
<img src="/img/instagram-icon.svg" alt="instagram icon" width="30" height="30">
35+
36+
</div>
37+
</section>
38+
<footer class="inc">
39+
<p>@Karma Mobility,Inc</p>
40+
</footer>
41+
</body>
42+
</html>

0 commit comments

Comments
 (0)