Skip to content

Commit fbafb76

Browse files
committed
Made footer on index page look better
1 parent f1f6b0d commit fbafb76

File tree

3 files changed

+44
-17
lines changed

3 files changed

+44
-17
lines changed

css/footer.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
font-weight: 600;
1111
line-height: 1.5;
1212
text-align: center;
13-
14-
width: 100%;
1513
}
1614

1715
/* --------------------- */

css/pages/index/indexFooter.css

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
padding: 1% 20%;
77
}
88

9-
.footer-container p {
9+
.footer-container div {
10+
align-self: center;
1011
font-family: "Inter";
1112
font-size: 12px;
1213
font-weight: 600;
1314
line-height: 1.5;
1415

15-
width: 50%;
16+
width: auto;
17+
}
18+
19+
.left {
20+
margin-left: 5%;
21+
}
22+
23+
.right {
24+
margin-left: auto;
1625
}
1726

1827
/* --------------------- */
@@ -21,31 +30,51 @@
2130

2231

2332
@media only screen and (max-width: 1600px) {
24-
.footer-container p {
25-
font-size: 10px;
33+
.footer-container div {
34+
font-size: 11px;
2635
}
2736
}
2837

2938
@media only screen and (max-width: 1250px) {
30-
.footer-container p {
31-
font-size: 9px;
39+
.footer-container div {
40+
font-size: 10px;
3241
}
3342
}
3443

3544
@media only screen and (max-width: 1020px) {
36-
.footer-container p {
37-
font-size: 8px;
45+
.footer-container div {
46+
font-size: 10px;
3847
}
3948
}
4049

4150
@media only screen and (max-width: 940px) {
42-
.footer-container p {
43-
font-size: 7px;
51+
.footer-container {
52+
padding: 1% 10%;
53+
}
54+
55+
.footer-container div {
56+
align-self: flex-start;
57+
font-size: 10px;
58+
width: auto;
59+
}
60+
61+
.footer-container {
62+
flex-direction: column;
63+
}
64+
65+
.left {
66+
margin-left: 18%;
67+
margin-bottom: 1%;
68+
}
69+
70+
.right {
71+
margin-left: 18%;
4472
}
4573
}
4674

4775
@media only screen and (max-width: 750px) {
48-
.footer-container p {
49-
font-size: 6px;
76+
77+
.footer-container div {
78+
font-size: 9px;
5079
}
5180
}

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ <h1>WITH SUPPORT FROM</h1>
8383
</div>
8484
</div>
8585
<!-- FOOTER -->
86-
<div class="footer-container" style="color: black;">
87-
<p>©️ 2022 JavaDiscord <br> JavaDiscord is not affiliated, associated, or endorsed with/by Discord or Oracle.</p>
88-
<p style="margin-left: 4px;">¹ Users that sent a message in the last month, data gathered from Discord's Insight page. <br> ² Data gathered from Discord's Insight page.</p>
86+
<div class="footer-container" style="color: black;">
87+
<div class="left">©️ 2022 JavaDiscord <br> JavaDiscord is not affiliated, associated, or endorsed with/by Discord or Oracle.</div>
88+
<div class="right">¹ Users that sent a message in the last month, data gathered from Discord's Insight page. <br> ² Data gathered from Discord's Insight page.</div>
8989
</div>
9090
<!-- Hamburger Menu JavaScript -->
9191
<script type="text/javascript">

0 commit comments

Comments
 (0)