Skip to content

Commit 46f3ea0

Browse files
Removed unnecessary empty spacing from hero and footer sections
1 parent e5079ac commit 46f3ea0

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

web-app/css/styles.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ body {
9696
color: var(--text-color);
9797
line-height: 1.6;
9898
transition: background-color var(--motion-duration) ease, color var(--motion-duration) ease;
99-
padding-bottom: 6rem;
99+
/* padding-bottom: 6rem; */
100100
}
101101

102102
#main-content {
@@ -232,14 +232,15 @@ body {
232232
/* ═══════════════════════════════════════
233233
HERO SECTION
234234
═══════════════════════════════════════ */
235-
.hero-section {
235+
/* .hero-section {
236236
position: relative;
237237
padding: 9rem 0;
238238
min-height: 520px;
239239
text-align: center;
240240
overflow: hidden;
241241
background: var(--hero-green-nav-bg);
242-
}
242+
} */
243+
243244

244245
/* Canvas fills the full hero */
245246
#boardCanvas {
@@ -433,6 +434,7 @@ body {
433434
z-index: 2;
434435
max-width: 800px;
435436
margin: 0 auto;
437+
padding-top: 15px;
436438
text-align: center;
437439
display: flex;
438440
flex-direction: column;
@@ -1639,7 +1641,7 @@ body {
16391641
/* Footer */
16401642
.footer {
16411643
background: var(--surface-color);
1642-
padding: 1rem 0;
1644+
padding: 0rem 0;
16431645
text-align: center;
16441646
border-top: 1px solid var(--border-color);
16451647
position: fixed;

web-app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ <h1>
611611

612612
<main id="main-content" tabindex="-1">
613613
<!-- Hero Section -->
614-
<section class="hero-section" aria-label="Welcome">
614+
<!-- <section class="hero-section" aria-label="Welcome"> -->
615615
<div class="hero-background color-bends-container" aria-hidden="true"></div>
616616
<div class="hero-code-snippets" aria-hidden="true">
617617
<span class="code-snippet snippet-one">score += 1</span>
@@ -673,7 +673,7 @@ <h2 class="hero-title">Learn Python the Fun Way!</h2>
673673
</button>
674674
</div>
675675
</div>
676-
</section>
676+
<!-- </section> -->
677677

678678
<!-- ── Projects Grid ──────────────────────────────────────── -->
679679
<section class="projects-section" aria-label="Projects">

0 commit comments

Comments
 (0)