diff --git a/blockbase/404.php b/blockbase/404.php new file mode 100644 index 0000000000..435003c93c --- /dev/null +++ b/blockbase/404.php @@ -0,0 +1,24 @@ + + +
+

+ +

+ + '); ?> +
+ + - - -
- - -

Oops! That page can’t be found.

- - - -

It looks like nothing was found at this location. Maybe try a search?

- - - -
- - - diff --git a/blockbase/block-templates/search.html b/blockbase/block-templates/search.html index 778e793c22..969faf0ad7 100644 --- a/blockbase/block-templates/search.html +++ b/blockbase/block-templates/search.html @@ -3,10 +3,6 @@
- -

Results:

- -
diff --git a/blockbase/sass/base/_alignment.scss b/blockbase/sass/base/_alignment.scss index 9e25291db9..827de38cc1 100644 --- a/blockbase/sass/base/_alignment.scss +++ b/blockbase/sass/base/_alignment.scss @@ -31,3 +31,10 @@ .aligncenter { text-align: center; } + +// Mimick the Gutenberg-generated rules of the layout container on the 404 template +.container-404 { + max-width: var(--wp--custom--layout--content-size); + margin-left: auto !important; + margin-right: auto !important; +} \ No newline at end of file diff --git a/blockbase/style.css b/blockbase/style.css index 0e00c17612..928984e713 100644 --- a/blockbase/style.css +++ b/blockbase/style.css @@ -7,7 +7,7 @@ Description: Blockbase is a simple theme that supports full-site editing. It com Requires at least: 5.7 Tested up to: 5.7 Requires PHP: 5.7 -Version: 1.1.0 +Version: 1.1.1 License: GNU General Public License v2 or later License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE Text Domain: blockbase diff --git a/blockbase/theme.json b/blockbase/theme.json index 1864cc6255..58cdb2aa8b 100644 --- a/blockbase/theme.json +++ b/blockbase/theme.json @@ -198,6 +198,9 @@ } } }, + "layout": { + "contentSize": "620px" + }, "list": { "spacing": { "padding": { diff --git a/quadrat/block-templates/404.html b/quadrat/block-templates/404.html deleted file mode 100644 index 674fa7fa93..0000000000 --- a/quadrat/block-templates/404.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -
- - -

Oops! That page can’t be found.

- - - -

It looks like nothing was found at this location. Maybe try a search?

- - - -
- - - diff --git a/quadrat/block-templates/search.html b/quadrat/block-templates/search.html index e156ce75e3..fca2ad5874 100644 --- a/quadrat/block-templates/search.html +++ b/quadrat/block-templates/search.html @@ -3,10 +3,6 @@
- -

Results:

- - diff --git a/quadrat/child-theme.json b/quadrat/child-theme.json index 34c6140663..792b78a4e1 100644 --- a/quadrat/child-theme.json +++ b/quadrat/child-theme.json @@ -173,6 +173,9 @@ "fontSize": "min(max(28px, 5vw), 38px)" } }, + "layout": { + "contentSize":"664px" + }, "line-height": { "body": 1.7 }, diff --git a/quadrat/theme.json b/quadrat/theme.json index 4eb28a816e..3c29e25cd4 100644 --- a/quadrat/theme.json +++ b/quadrat/theme.json @@ -250,6 +250,9 @@ } } }, + "layout": { + "contentSize": "664px" + }, "list": { "spacing": { "padding": {