From 2bb2d30495c4c1eb540c3e0c4dabb824bf02fc5d Mon Sep 17 00:00:00 2001 From: Robert Harris Date: Thu, 16 Nov 2023 13:50:52 -0800 Subject: [PATCH 1/2] set max-width on footer, align to content, buttons equal size --- public/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/style.css b/public/style.css index 582f055d6..49c5670da 100644 --- a/public/style.css +++ b/public/style.css @@ -48,8 +48,7 @@ body { margin: 0; } -#observablehq-main, -#observablehq-footer { +#observablehq-main { margin: 2rem auto; max-width: 1152px; } @@ -60,6 +59,7 @@ body { #observablehq-footer { display: block; + max-width: 640px; margin-top: 10rem; font: 12px var(--sans-serif); color: var(--theme-foreground-faint); @@ -67,7 +67,7 @@ body { #observablehq-footer nav { display: grid; - grid-template-columns: 1fr 2fr; + grid-template-columns: 1fr 1fr; column-gap: 1rem; margin-bottom: 1rem; } From 7ce9cf9bc00bc47d90e45481775af27885b93aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Fri, 17 Nov 2023 05:53:58 +0100 Subject: [PATCH 2/2] fix --- public/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 49c5670da..183f7248a 100644 --- a/public/style.css +++ b/public/style.css @@ -48,7 +48,8 @@ body { margin: 0; } -#observablehq-main { +#observablehq-main, +#observablehq-footer { margin: 2rem auto; max-width: 1152px; } @@ -59,7 +60,6 @@ body { #observablehq-footer { display: block; - max-width: 640px; margin-top: 10rem; font: 12px var(--sans-serif); color: var(--theme-foreground-faint); @@ -67,6 +67,7 @@ body { #observablehq-footer nav { display: grid; + max-width: 640px; grid-template-columns: 1fr 1fr; column-gap: 1rem; margin-bottom: 1rem;