forked from iamrahulmahato/master-web-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.css
306 lines (244 loc) · 7.04 KB
/
footer.css
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
/* General styles for the footer */
footer {
background-color: #f7f7f7; /* Light gray background */
/* padding: 30px 15px; */
text-align: center;
color: #000;
font-family: Arial, sans-serif;
height: auto;
width: 100vw;
/* border: 1px solid black; */
height: 70vh;
margin: 0;
}
.dark-change{
color:white !important;
background-color: black;
}
.footer-content {
display: flex;
justify-content: space-between; /* Use space-between for horizontal alignment */
justify-content: space-evenly;
align-items: flex-start;
padding-bottom: 20px;
border-bottom: 1px solid #eaeaea;
/* border:1px solid black; */
width:100%;
}
.footer-section {
flex: 1;
/* border:1px solid black; */
margin: 0 15px;
}
.footer-section h3 {
margin-bottom: 15px;
color: #000;
font-size: 18px;
font-weight: bold;
}
.footer-section p {
color: #666;
font-size: 14px;
}
/* Quick Links styling */
.footer-section ul {
list-style: none;
padding: 0;
display: flex; /* Change to flex for horizontal layout */
flex-wrap: wrap; /* Allow wrapping */
justify-content: space-between; /* Space items evenly */
}
.footer-section ul li {
margin: 0 10px; /* Horizontal margin between links */
}
.footer-section ul li a {
text-decoration: none;
color: #000;
font-size: 14px;
transition: color 0.3s ease;
}
/* Hover effect on links */
.footer-section ul li a:hover {
color: #f8c5c5;
}
/* Subscribe form */
.newsletter form {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.newsletter input[type="email"] {
padding: 10px;
width: 70%;
border: 1px solid #ddd;
border-radius: 5px;
margin-right: 10px;
}
.newsletter button {
padding: 10px 20px;
background-color: #f8c5c5;
color: #000;
border: none;
border-radius: 5px;
cursor: pointer;
transform: translateY(-8px);
transition: background-color 0.3s ease;
}
/* Hover effect on the subscribe button */
.newsletter button:hover {
background-color: #e59e9e; /* A darker shade for hover effect */
}
/* Footer bottom section */
.footer-bottom {
padding-top: 10px;
padding-bottom: 10px; /* Add some bottom padding */
background-color: #eaeaea; /* Background color for the footer bottom */
text-align: center; /* Center the text */
margin-top: 20px; /* Add margin to prevent overlap */
/* border:5px solid red; */
color:white;
}
.footer-bottom p {
margin: 0; /* Remove default margin */
color: #666; /* Dark gray color for the text */
font-size: 14px; /* Font size */
font-family: Arial, sans-serif; /* Font family */
}
/* Mobile view adjustments */
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
align-items: center;
}
.footer-section ul {
flex-direction: column; /* Stack links vertically on smaller screens */
}
.footer-section ul li {
margin: 5px 0; /* Adjust margin for vertical alignment */
}
}
.footer-bottom .social-icons a {
margin: 0 8px;
color: #000; /* Default color */
font-size: 20px;
transition: color 0.3s ease;
}
/* Hover effects for each social media icon */
.footer-bottom .social-icons a:hover {
color: #000; /* Default hover color */
}
/* Specific hover colors for each icon */
.footer-bottom .social-icons .fab.fa-facebook-f:hover {
color: #3b5998; /* Facebook Blue */
}
.footer-bottom .social-icons a:hover .fab.fa-twitter {
color: #1da1f2; /* Twitter Blue */
}
.footer-bottom .social-icons a:hover .fab.fa-instagram {
color: #e1306c; /* Instagram Red */
}
.footer-bottom .social-icons a:hover .fab.fa-linkedin-in {
color: #0077b5; /* LinkedIn Blue */
}
.footer-bottom .social-icons a:hover .fab.fa-youtube {
color: #ff0000; /* YouTube Red */
}
.footer-bottom .social-icons a:hover .fab.fa-pinterest {
color: #e60023; /* Pinterest Red */
}
.footer-bottom .social-icons a:hover .fab.fa-snapchat-ghost {
color: #fffc00;; /* Snapchat Yellow */
}
.gridbox {
list-style: none; /* Remove bullet points */
padding: 0; /* Remove default padding */
display: grid; /* Use grid for layout */
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
gap: 15px; /* Space between items */
}
.gridbox li {
text-align: center; /* Center text */
}
.gridbox a {
text-decoration: none; /* Remove underline */
color: #000; /* Default text color */
font-size: 14px; /* Adjust font size */
transition: color 0.3s ease, text-decoration 0.3s ease; /* Transition effects */
}
/* Hover effect for links */
.gridbox a:hover {
color: #f8c5c5; /* Change color on hover */
text-decoration: underline; /* Add underline on hover */
}
.social-media a {
margin: 0 10px; /* Adjusts horizontal spacing between icons */
}
.social-media {
display: flex; /* Aligns icons in a row */
justify-content: center; /* Centers the icons */
}
.social-media a {
margin: 0 10px; /* Adjusts horizontal spacing between icons */
color: white; /* Change color as needed */
text-decoration: none; /* Removes underline from links */
}
.social-media a:hover {
color: #007bff; /* Change color on hover */
}
.share-section {
display: flex; /* Align buttons in a row */
justify-content: center; /* Center the buttons */
margin-top: 20px; /* Space above the buttons */
}
button {
background-color: #007bff; /* Blue background for buttons */
color: white; /* Text color */
border: none; /* Removes border */
border-radius: 5px; /* Rounds corners */
padding: 10px 20px; /* Padding for buttons */
margin: 0 10px; /* Space between buttons */
cursor: pointer; /* Changes cursor to pointer on hover */
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
button:hover {
background-color: #0056b3; /* Darker blue on hover */
}
/* =========================================FOOTER DARK THEME=============================================*/
/* Footer content and footer bottom for dark theme */
[data-theme="dark"] .footer-content,
[data-theme="dark"] .footer-bottom {
background-color: #121212;
color: white;
/* border-top: 1px solid #333; */
}
[data-theme="dark"] .footer-content{
border-top:1px solid #333;
}
/*Footer content heading color */
[data-theme="dark"] .footer-content h3,
[data-theme="dark"] .footer-section h3 {
background-color: #121212;
color: white;
/* border-top: 1px solid #333; */
}
[data-theme="dark"] .footer-section img{
filter: invert(100%);
}
/* Dark theme specific link colors */
[data-theme="dark"] .footer-section ul li a,
[data-theme="dark"] .footer-links-bottom a,
[data-theme="dark"] .footer-bottom p {
color: #aaa;
}
[data-theme="dark"] .footer-section ul li a:hover,
[data-theme="dark"] .footer-links-bottom a:hover {
color: #f8c5c5;
}
/* Dark mode styling for social icons */
[data-theme="dark"] .social-icons a {
color: #aaa;
}
[data-theme="dark"] .social-icons a:hover {
color: #f8c5c5;
}