Skip to content

Commit d1da85c

Browse files
Merge pull request #700 from RahmaaEsmail/modify-footer-section
Update footer section
2 parents efe208a + f652430 commit d1da85c

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

assets/css/style.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,14 +1814,24 @@ footer {
18141814
}
18151815

18161816
.top-footer-text {
1817-
padding-bottom: 10px;
1817+
padding: 0 10px 10px;
18181818
}
18191819

18201820
.list-footer {
1821+
padding: 0;
1822+
width: 90%;
1823+
margin: 10px auto 0;
1824+
list-style-type:none ;
18211825
display: flex;
1822-
align-items: center;
1823-
justify-content: center;
18241826
flex-direction: row;
1827+
justify-content: center;
1828+
gap: 10px;
1829+
}
1830+
1831+
@media (max-width:300px) {
1832+
.list-footer {
1833+
flex-wrap: wrap;
1834+
}
18251835
}
18261836

18271837
.top-footer-text h1 {
@@ -1984,6 +1994,7 @@ footer {
19841994
}
19851995

19861996
.footer-copyright {
1997+
padding: 10px;
19871998
text-align: center;
19881999
margin-top: 20px;
19892000
color: rgba(229, 228, 232, 0.58);

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,12 +557,12 @@ <h1>CodeSetGo</h1>
557557
<span>a community made for the students and made by the students.</span>
558558
</center>
559559
</div>
560-
<div class="list-footer">
561-
<ul><a href="#about">About Us</a></ul>
562-
<ul><a href="#contact">Contact</a></ul>
563-
<ul><a href="#services">Services</a></ul>
564-
<ul><a href="">Licenses</a></ul>
565-
</div>
560+
<ul class="list-footer">
561+
<li><a href="#about">About Us</a></li>
562+
<li><a href="#contact">Contact</a></li>
563+
<li><a href="#services">Services</a></li>
564+
<li><a href="">Licenses</a></li>
565+
</ul>
566566
</div>
567567

568568
<div class="wrapper">

0 commit comments

Comments
 (0)