Skip to content

Commit fe7d670

Browse files
authored
Merge pull request #26 from Bryson69/main
Add footer section
2 parents b3fd12e + c893156 commit fe7d670

File tree

2 files changed

+38
-33
lines changed

2 files changed

+38
-33
lines changed

assets/css/styles.css

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
:root {
2828
--big-font-size: 5rem;
2929
--h2-font-size: 2rem;
30+
--h4-font-size: 1.25rem;
3031
--normal-font-size: 1rem;
3132
--small-font-size: .875rem;
3233
}
@@ -472,44 +473,16 @@ img {
472473

473474

474475
/*========== FOOTER ==========*/
475-
476476
.footer__container {
477-
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
478-
row-gap: 2rem;
479-
}
480-
481-
.footer__logo {
482-
font-size: var(--h3-font-size);
483-
color: var(--first-color);
484-
font-weight: var(--font-semi-bold);
485-
}
486-
487-
.footer__description {
488-
display: block;
489-
font-size: var(--small-font-size);
490-
margin: .25rem 0 var(--mb-3);
491-
}
492-
493-
.footer__social {
494-
font-size: 1.5rem;
495-
color: var(--title-color);
496-
margin-right: var(--mb-2);
477+
display: flex;
478+
margin: 15px;
497479
}
498480

499481
.footer__title {
500-
font-size: var(--h2-font-size);
482+
font-size: var(--h4-font-size);
501483
color: var(--title-color);
502484
margin-bottom: var(--mb-2);
503-
}
504-
505-
.footer__link {
506-
display: inline-block;
507-
color: var(--text-color);
508-
margin-bottom: var(--mb-1);
509-
}
510-
511-
.footer__link:hover {
512-
color: var(--first-color);
485+
letter-spacing: 1px;
513486
}
514487

515488
.footer__copy {

index.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,40 @@ <h3>someones name</h3><br><span>Moderator</span>
302302

303303

304304
<!--========== FOOTER ==========-->
305+
<!--========== FOOTER ==========-->
306+
305307
<footer class="footer section bd-container">
306-
<p class="footer__copy">&#169; 2021 SurPath. All right reserved</p>
308+
<div class="footer__container bd-grid">
309+
310+
<div class="footer__content">
311+
<h3 class="footer__title">Follow Us</h3>
312+
</div>
313+
314+
<div class="footer__content">
315+
<h3 class="footer__title">Privacy</h3>
316+
</div>
317+
318+
<div class="footer__content">
319+
<h3 class="footer__title">Code of Conduct</h3>
320+
</div>
321+
322+
<div class="footer__content">
323+
<h3 class="footer__title">LOGO</h3>
324+
</div>
325+
326+
<div class="footer__content">
327+
<h3 class="footer__title">Contribution guidlines</h3>
328+
</div>
329+
330+
<div class="footer__content">
331+
<h3 class="footer__title">Blog</h3>
332+
</div>
333+
334+
<div class="footer__content">
335+
<h3 class="footer__title">Training</h3>
336+
</div>
337+
</div>
338+
<p class="footer__copy">&#169; 2021 SurPath Hub. All right reserved</p>
307339
</footer>
308340

309341
<!--===== SCROLL JS =====-->

0 commit comments

Comments
 (0)