Skip to content

Commit 5703068

Browse files
authored
made some gap between main section and footer section and fill gap of button (#561)
1 parent e107ed8 commit 5703068

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h1 class="main-heading">Awesome GitHub Profile READMEs</h1>
143143

144144
</div>
145145
<footer id="Contact" class="footer-2">
146-
<div class="footer-container">
146+
<div class="footer-container" >
147147
<div class="footer-content">
148148
<div class="footer-info">
149149
<img src="assets/recode.png" alt="Recode-Hive logo" class="footer-logo">

styles/styles.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ body {
1212
margin: 0 auto;
1313
padding: 20px;
1414
text-align: center;
15+
margin-bottom: 400px;
1516
}
1617

1718
.main-heading {
@@ -285,6 +286,7 @@ body.dark-mode ::-webkit-scrollbar-button {
285286
margin: 0 auto;
286287
padding: 20px;
287288
text-align: center;
289+
margin-bottom: 700px;
288290
}
289291

290292
.main-heading {
@@ -584,16 +586,20 @@ body.dark-mode .navbar-link:hover {
584586
}
585587

586588
.footer-container {
587-
max-width: 1200px;
588-
margin: 0 auto;
589-
padding: 0 1rem;
589+
padding: 5px 20px; /* Smaller padding */
590+
margin: 0;
591+
font-size: 12px; /* Small font */
592+
line-height: 1.5;
593+
margin-bottom: 95px;
594+
margin-top: -80px;
590595
}
591596

592597
.footer-content {
593598
display: flex;
594599
flex-wrap: wrap;
595600
justify-content: space-between;
596-
padding: 2rem 0;
601+
padding: 5px 20px;
602+
margin-bottom: 3px;
597603
}
598604

599605
.footer-info {
@@ -614,6 +620,7 @@ body.dark-mode .navbar-link:hover {
614620
flex: 1 1 300px;
615621
max-width: 400px;
616622
margin-right: 60px;
623+
617624
}
618625

619626
.footer-logo {
@@ -678,11 +685,13 @@ body.dark-mode .navbar-link:hover {
678685
.footer-bottom {
679686
border-top: 1px solid rgba(255, 255, 255, 0.1);
680687
padding: 1rem 0;
688+
margin-top: -90px;
681689
}
682690

683691
.footer-copyright {
684692
text-align: center;
685693
font-size: 0.875rem;
694+
margin-top: 50px;
686695
}
687696

688697
/* Dark mode styles */

0 commit comments

Comments
 (0)