Skip to content

Commit e5a4955

Browse files
authored
optimize the whole page (#65)
Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent e971392 commit e5a4955

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎assets/scss/common/_custom.scss‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,11 @@ $home-gap: clamp(2rem, 4.5vw, 3.5rem);
235235
// 1440, 43.2 to 32.4 at 1200, 28.8 to 21.6 on a phone. The floor is what keeps
236236
// the headline off the navbar on a narrow screen, so it comes down by the same
237237
// proportion rather than to nothing.
238-
padding-top: clamp(1.5rem, 3vw, 2.5rem);
238+
//
239+
// Then lowered again, roughly doubled: hard under the navbar, the headline and
240+
// everything after it read as pushed up against the top of the window. Rendered,
241+
// through the 0.9: about 78px at 1440, 65 at 1200, 36 on a phone.
242+
padding-top: clamp(2.5rem, 6vw, 5.5rem);
239243
padding-bottom: $home-gap;
240244
}
241245

0 commit comments

Comments
 (0)