-
Notifications
You must be signed in to change notification settings - Fork 0
/
80-footer.html
108 lines (98 loc) · 3.26 KB
/
80-footer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<html>
<head>
<!-- Add the link to the font awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/Vazirmatn-font-face.css" rel="stylesheet" type="text/css" />
<style>
/* Style the footer with a dark background, white text and some padding */
*{
font-family: vazirmatn;
direction: rtl;
}
footer {
background-color: #333333;
color: white;
padding: 20px;
}
/* Style the links in the footer with a lighter color */
footer a {
color: #cccccc;
text-decoration: none;
}
/* Add hover effects to the links in the footer */
footer a:hover {
color: #ffffff;
}
/* Style the logo in the footer with a border and some margin */
footer .logo {
border: 1px solid white;
margin: 10px;
}
/* Use flexbox to create a responsive layout for the footer */
footer .container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
/* Use media queries for responsiveness */
@media (max-width: 600px) {
footer .container {
flex-direction: column;
}
}
/* Style the address and contact details in the footer with an icon and some margin */
footer .address, footer .contact {
display: flex;
align-items: center;
margin: 10px;
}
footer .address i, footer .contact i {
margin-right: 10px;
}
/* Style the useful links in the footer with a horizontal list */
footer .links {
display: flex;
flex-direction: column;
list-style-type: none;
margin: 10px;
}
footer .links li {
margin-right: 10px;
}
footer .social li {
margin-right: 10px;
}
</style>
</head>
<body>
<!-- Add the footer element with a container div inside -->
<footer>
<div class="container">
<!-- Add the logo image with a link to the home page -->
<a href="index.html"><img src="logo.png" alt="Logo" class="logo"></a>
<!-- Add the address and contact details to the footer with font awesome icons -->
<div class="address">
<i class="fas fa-map-marker-alt"></i>
<p>البرز، فردیس، فلکه دوم، پلاک 31</p>
</div>
<div class="contact">
<i class="fas fa-phone"></i>
<p>(026) 456-7890</p>
</div>
<!-- Add some useful links to the footer with a horizontal list -->
<ul class="links">
<li><a href="about.html">اتحادیه</a></li>
<li><a href="services.html">بیوتی کالر</a></li>
<li><a href="contact.html">فروشگاه بهار</a></li>
</ul>
<!-- Add some social media icons to the footer with a horizontal list -->
<ul class="social" style="list-style-type: none; display: flex; margin: 0 10px;">
<li><a href="#"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-instagram"></i></a></li>
</ul>
</div>
</footer>
</body>
</html>