From d6b1a4ec6c82e18b8c9ed811adc9d4de8c14551c Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 12 Oct 2021 07:50:28 -0400 Subject: [PATCH 1/3] Define global site padding. --- theme.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme.json b/theme.json index f7a4c209..a27ada45 100644 --- a/theme.json +++ b/theme.json @@ -195,7 +195,8 @@ } }, "spacing": { - "blockGap": "1.5rem" + "blockGap": "1.5rem", + "padding": "max(1.25rem, 5vw)" }, "typography": { "fontFamily": "var(--wp--preset--font-family--system-font)", From cedb5d7fc9ca50f11617a81d03e8347fce913013 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 12 Oct 2021 07:50:36 -0400 Subject: [PATCH 2/3] Remove unnecessary padding from templates. --- block-template-parts/footer.html | 4 ++-- block-templates/404.html | 6 +++--- block-templates/index.html | 6 +++--- block-templates/page-home.html | 4 ++-- block-templates/page.html | 6 +++--- block-templates/single.html | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/block-template-parts/footer.html b/block-template-parts/footer.html index 6a83627c..299ea9fc 100644 --- a/block-template-parts/footer.html +++ b/block-template-parts/footer.html @@ -1,5 +1,5 @@ - -
+ +

Proudly Powered by WordPress

diff --git a/block-templates/404.html b/block-templates/404.html index 9ccd9dac..1b2c6fbd 100644 --- a/block-templates/404.html +++ b/block-templates/404.html @@ -1,7 +1,7 @@ - + - -
+ +

404

diff --git a/block-templates/index.html b/block-templates/index.html index 45f0ee9c..4e6c6a76 100644 --- a/block-templates/index.html +++ b/block-templates/index.html @@ -1,7 +1,7 @@ - + - -
+ +
diff --git a/block-templates/page-home.html b/block-templates/page-home.html index 15a5050c..7ebeee04 100644 --- a/block-templates/page-home.html +++ b/block-templates/page-home.html @@ -1,7 +1,7 @@ - -
+ +
diff --git a/block-templates/page.html b/block-templates/page.html index 5906598b..322a3f69 100644 --- a/block-templates/page.html +++ b/block-templates/page.html @@ -1,7 +1,7 @@ - + - -
+ +
diff --git a/block-templates/single.html b/block-templates/single.html index 0538a4a3..9078107f 100644 --- a/block-templates/single.html +++ b/block-templates/single.html @@ -1,7 +1,7 @@ - + - -
+ +
From 81b3d05862c6d85bfd61bbb4e64cc7608c5f29a7 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 12 Oct 2021 07:57:40 -0400 Subject: [PATCH 3/3] Template part edits. --- block-template-parts/header-large-dark.html | 4 ++-- block-template-parts/header.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/block-template-parts/header-large-dark.html b/block-template-parts/header-large-dark.html index 1f850256..c56bc2cc 100644 --- a/block-template-parts/header-large-dark.html +++ b/block-template-parts/header-large-dark.html @@ -1,5 +1,5 @@ - -