Skip to content

Commit a179bc5

Browse files
committed
Nagehan KARMA
1 parent 84048d9 commit a179bc5

File tree

2 files changed

+51
-30
lines changed

2 files changed

+51
-30
lines changed

css/style.css

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,40 @@ button{
9292
a{
9393
text-decoration: none;
9494
}
95-
footer, h3{
96-
text-align: center;
97-
font-size: 24px;
98-
}
99-
footer p{
100-
text-align: center;
101-
font-size: 12px;
102-
}
103-
.fa{
104-
padding: 20px;
105-
font-size: 50 px;
106-
width: 20px;
107-
text-align: center;
108-
text-decoration: none;
109-
margin: 10px;
110-
border-radius: 50%;
111-
display: inline;
112-
}
113-
.fa:hover{
114-
opacity: 0.7;
115-
}
116-
.fa-facebook{
117-
background: navy;
95+
footer {
96+
text-align: center;
97+
padding-bottom: 2rem;
98+
}
99+
.socials {
100+
display: flex;
101+
flex-direction: row;
102+
justify-content: center;
103+
}
104+
.articles {
105+
display: flex;
106+
justify-content: center;
107+
flex-direction: row;
108+
padding: 0.4rem 1rem;
109+
margin: 0rem 1rem 0rem 0rem;
110+
}
111+
article {
112+
display: flex;
113+
flex-direction: column;
114+
align-items: center;
115+
width: 33%;
116+
font-size: 0.75rem;
117+
}
118+
.karma-icons {
119+
width: 4rem;
120+
}
121+
.footer-link {
122+
margin: 0.25rem;
123+
}
124+
.socials-icon {
125+
max-width: 0.55rem;
126+
padding: 0.45rem;
127+
border: #d8d9dc solid 1px;
128+
border-radius: 50%;
129+
opacity: 0.85;
118130
}
119131
}

index.html

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ <h1>Introducing Karma</h1>
3636
<!-- All the images you need are in the 'img' folder -->
3737
<article class="services">
3838
<h2>Everyone needs a little karma</h2>
39+
<section class="articles">
40+
<article>
41+
<img class="karma-icons" src="img/icon-devices.svg" alt="devices">
42+
<p>Internet for all devices</p>
43+
</article>
3944
<div class="container">
4045
<div class="icon">
4146
<a href="#" >
@@ -51,12 +56,16 @@ <h2>Everyone needs a little karma</h2>
5156
</div>
5257
</div>
5358
</article>
54-
</body>
5559
<footer>
56-
<h3>Join us on</h3>
57-
<a href="#" class="fa-facebook"></a>
58-
<a href="#" class="fa-twitter"></a>
59-
<a href="#" class="fa-instagram"></a>
60-
<p>&copy Karma Mobility, Inc.</p>
61-
</footer>
60+
<hr>
61+
<h5>Join us on</h5>
62+
<section class="socials">
63+
<a class="footer-link" href="#"><img class="socials-icon" src="img/twitter-icon.svg" alt="twitter"></a>
64+
<a class="footer-link" href="#"><img class="socials-icon" src="img/facebook-icon.svg" alt="facebook"></a>
65+
<a class="footer-link" href="#"><img class="socials-icon" src="img/instagram-icon.svg" alt="instagram"></a>
66+
</section>
67+
<p class="signature">@Karma Mobility Inc.</p>
68+
</footer>
69+
</body>
70+
6271
</html>

0 commit comments

Comments
 (0)