Skip to content

Commit 1d57837

Browse files
fix responsive Description should be aligned to the center (#1379)
1 parent bb3a4ae commit 1d57837

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ <h6 class="footer-heading">GET INVOLVED</h6>
235235
</div>
236236
</div>
237237
<div class="footer-description">
238-
<h5>We focus on quality content for the right people at the right time. What we are trying to do is help you
238+
<h5>We focus on quality content for the right people at the right time. What we are trying to do is help you
239239
brand personal skills through GitHub readme.md, listing the best profiles, and giving you the opportunity to
240-
list your profile to the world 🌎.</h5>
240+
list your profile to the world.</h5>
241241
<a href="https://stream.recodehive.com/github" class="footer-button">Explore</a>
242242
</div>
243243
</div>

styles/styles.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ body.dark-mode .navbar-link:hover {
677677

678678
.footer-description {
679679
flex: 1 1 300px;
680-
max-width: 300px;
680+
max-width: 500px;
681681
margin-right: 30px;
682682
}
683683

@@ -750,7 +750,7 @@ body.dark-mode .navbar-link:hover {
750750
}
751751

752752
.footer-button:hover {
753-
background-color: #333;
753+
background-color: #1371af;
754754
}
755755

756756
.footer-bottom {
@@ -834,7 +834,9 @@ body.dark-mode .footer-button:hover {
834834
}
835835

836836
.footer-description {
837-
margin-right: 0;
837+
max-width: 600;
838+
text-align: center;
839+
margin: 0 auto;
838840
}
839841
}
840842

@@ -1252,7 +1254,17 @@ body.dark-mode .side-icons a {
12521254
}
12531255

12541256
.footer-description {
1255-
max-width: 80%;
1257+
max-width: 600;
1258+
text-align: center;
1259+
margin: 0 auto;
1260+
}
1261+
}
1262+
1263+
@media (max-width: 1106px) {
1264+
.footer-description {
1265+
max-width: 600;
1266+
text-align: center;
1267+
margin: 0 auto;
12561268
}
12571269
}
12581270

0 commit comments

Comments
 (0)