Skip to content

Commit fc7dac0

Browse files
committed
Home page: drop divider-bars markup; show footer-bars; +1.5rem above callouts
- index.md: remove the .home-divider-bars block entirely (now that we're keeping it hidden, no need for the markup or the inline Admin link inside .bar-light — Admin lives in the .footer-bar-teal again). - .page-home .footer-bars { display: none } removed, so the dark/teal bars shown on every other page now also appear at the bottom of the home page above the institutional logos. Spacing above + below the bars inherits the existing .site-footer rules, matching research/ and the rest. - .home-callouts: margin-top 0 -> 1.5rem so 'what we do' / mission / 'we strive' has a line of breathing room beneath the banner.
1 parent 7a21c71 commit fc7dac0

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

assets/css/style.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ hr { border: 0; border-top: 1px dotted $text-faint; margin: 2rem 0; }
343343
gap: 1.5rem;
344344
align-items: start;
345345
max-width: 1022px;
346-
margin: 0 auto 2.5rem;
346+
/* ~1 line of breathing room above the "what we do" row, matching the
347+
spacing-above-text we have on the interior pages. */
348+
margin: 1.5rem auto 2.5rem;
347349
padding: 0 1rem;
348350
}
349351

@@ -905,9 +907,10 @@ details.show-more {
905907
background-image: url("{{ '/assets/images/site/public/footer_bar_teal.png' | relative_url }}");
906908
}
907909

908-
/* Home page already has decorative bars between hero and content; suppress the
909-
footer pair so the home doesn't look top-heavy with bars. */
910-
.page-home .footer-bars { display: none; }
910+
/* Footer bars are now shown on the home page too — the home divider
911+
bars between hero and callouts have been removed, so the footer
912+
bars are the only horizontal divider above the institutional logos
913+
(matching every other page). */
911914

912915
.institutional-logos {
913916
display: flex;

index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ slug: home
99
<div class="home-banner" role="img" aria-label="Das Lab — RNA fold and function from scratch"></div>
1010
</div>
1111

12-
<div class="home-divider-bars">
13-
<div class="bar-dark"></div>
14-
<div class="bar-light">
15-
<a class="footer-admin home-admin" href="https://github.com/DasLab/DasLab.github.io/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Admin</a>
16-
</div>
17-
</div>
18-
1912
<div class="home-callouts">
2013
<p class="home-callout-left">what <br class="callout-break"><span class="accent">we do</span></p>
2114
<p class="home-mission">

0 commit comments

Comments
 (0)