Skip to content

Commit 8ca4339

Browse files
Merge pull request sahil-sagwekar2652#137 from Avdhesh-Varshney/footer
[GSSoC'23] Styling Footer Section ✔️
2 parents 80b1d75 + 11c67a0 commit 8ca4339

File tree

2 files changed

+121
-8
lines changed

2 files changed

+121
-8
lines changed

css/style.css

Lines changed: 104 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,112 @@ html {
182182

183183

184184

185-
/* Footer Style */
186-
187-
footer {
188-
margin-top: auto;
185+
/* Footer Style */
186+
187+
footer {
188+
margin-top: auto;
189+
background-color: #000;
190+
padding-top: 40px;
191+
color: #fff;
192+
}
193+
194+
.footer-content {
195+
display: flex;
196+
align-items: center;
197+
justify-content: center;
198+
flex-direction: column;
199+
text-align: center;
200+
}
201+
202+
.footer-content h3 {
203+
font-size: 2.1rem;
204+
font-weight: 500;
205+
text-transform: capitalize;
206+
line-height: 3rem;
207+
margin-top: 10px;
208+
}
209+
210+
.footer-content p {
211+
max-width: 500px;
212+
margin: 10px auto;
213+
line-height: 28px;
214+
font-size: 14px;
215+
color: #cacdd2;
216+
}
217+
218+
.socials{
219+
list-style: none;
220+
display: flex;
221+
align-items: center;
222+
justify-content: center;
223+
margin: 1rem 0 3rem 0;
224+
}
225+
226+
.socials li{
227+
margin: 0 10px;
228+
}
229+
230+
.socials a{
231+
text-decoration: none;
232+
color: #fff;
233+
border: 1.1px solid white;
234+
padding: 10px;
235+
font-size: 1.2rem;
236+
border-radius: 50%;
237+
transition: all .3s ease;
238+
}
239+
240+
.socials a i{
241+
font-size: 1.1rem;
242+
width: 40px;
243+
transition: color .4s ease;
244+
}
245+
246+
.socials a:hover i{
247+
color: aqua;
248+
}
249+
250+
.footer-bottom{
251+
background: #000;
252+
padding-top: 20px;
253+
padding-bottom: 30px;
254+
text-align: center;
255+
}
256+
257+
.tweet:hover {
258+
color: white;
259+
background: rgb(0, 140, 255);
260+
}
261+
262+
.mail:hover {
263+
color: salmon;
264+
background: white;
265+
}
266+
267+
.git:hover {
268+
color: black;
269+
background: white;
270+
}
271+
272+
.in:hover {
273+
color: #04669A;
274+
background: white;
275+
}
276+
277+
.youtube:hover {
278+
color: red;
279+
background: white;
280+
}
281+
282+
@media (max-width:500px) {
283+
.footer-menu ul{
284+
display: flex;
285+
margin-top: 10px;
286+
margin-bottom: 20px;
189287
}
288+
}
190289

191-
/* ENDS ------------->>>>>>>>> */
290+
/* ENDS ------------->>>>>>>>> */
192291

193292
/* Scroll Button Style */
194293

index.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.17/dist/tailwind.min.css" rel="stylesheet">
7+
<script defer src="https://use.fontawesome.com/releases/v6.2.1/js/all.js"></script>
78
<link href="css/style.css" rel="stylesheet">
89
<link rel="stylesheet" href="./css/contributors.css">
910
<title>GitHub Automation Scripts 🤖</title>
@@ -192,13 +193,26 @@ <h1 class="text-xl font-semibold mb-4">License</h1>
192193
</pre>
193194
</div>
194195
</main>
196+
195197
<div class="contributors">
196198
<h1>Our Valuable Contributors</h1>
197199
<div id="contributor"></div>
198200
</div>
199-
<footer class="bg-gray-200 py-4">
200-
<div class="container mx-auto px-4">
201-
<p class="text-sm text-gray-600">© 2023 GitHub Automation Scripts 🤖. All rights reserved.</p>
201+
202+
<footer class="py-4">
203+
<div class="container mx-auto px-4 footer-content">
204+
<h3>GITHUB AUTOMATION SCRIPTS 🤖</h3>
205+
<p>Bash and Python scripts to automate your Git & GitHub workflow. Made by using only standard python libraries.</p>
206+
</div>
207+
<ul class="socials">
208+
<li><a class="tweet" href="https://twitter.com/sagwekar_sahil"><i class="fa-brands fa-twitter"></i></a></li>
209+
<li><a class="mail" href="malito: sahilss2652@gmail.com"><i class="fa-solid fa-envelope"></i></a></li>
210+
<li><a class="youtube" href="https://www.youtube.com/@SahilSagwekar"><i class="fa-brands fa-youtube"></i></a></li>
211+
<li><a class="in" href="https://www.linkedin.com/in/sahil-sagwekar-0b955b223/"><i class="fa-brands fa-linkedin"></i></a></li>
212+
<li><a class="git" href="https://github.com/sahil-sagwekar2652"><i class="fa-brands fa-github"></i></a></li>
213+
</ul>
214+
<div class="footer-bottom">
215+
<p class="text-sm">© 2023 GitHub Automation Scripts 🤖. All rights reserved.</p>
202216
</div>
203217
</footer>
204218

0 commit comments

Comments
 (0)