Skip to content

Commit 2a30d40

Browse files
committed
Reduce some home page vertical whitespace
I don't think the min-height is needed now, and it looks actively bad when the font-size is small relative to the screen size. Also hand tweak the whitepace above and below the blog excerpts.
1 parent 5801790 commit 2a30d40

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

website/assets/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ p.big {
450450
max-width: var(--doc-max-width--landing);
451451
margin: 2rem auto;
452452
padding: 0 20px 0 20px;
453-
min-height: calc(100vh - 183px);
453+
/* min-height: calc(100vh - 183px); */
454454
}
455455

456456
.hero-header {

website/layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<div class="divider">
5959
{{ partial "svg-wave-divider.html"}}
6060
</div>
61-
<div class="blog-excerpts">
61+
<div class="blog-excerpts" style="padding-top: 2em; padding-bottom: 0em;">
6262
<h2>Recently Published</h2>
6363
<article class="doc">
6464
{{ $posts := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
@@ -68,7 +68,7 @@ <h2>Recently Published</h2>
6868

6969
{{/* This div is not really for pagination but the CSS does what we want and also I'm lazy */}}
7070
<div class="pagination-centered">
71-
<div class="pagination pagination-default" style="padding: 3em 0; opacity: 70%;">
71+
<div class="pagination pagination-default" style="padding: 2.5em 0 0 0; opacity: 70%;">
7272
{{/* Note the hard coded url here should match what's in website/config/_default/menu.toml) */}}
7373
<a href="/posts">More articles &hellip;</a>
7474
</div>

0 commit comments

Comments
 (0)