From ede54dbf35cba7984c078e57a5537f6e5589861a Mon Sep 17 00:00:00 2001 From: Adriana Leites <45805842+adrianaleites@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:23:21 +0100 Subject: [PATCH 1/3] Poetry: add header small pattern - Add spacing sizes to the theme.json as in Twenty Twenty-Four theme. - Replace spacing with pixels values with spacing presets in header pattern. - Convert "Food for thoughts" to Heading 1, instead of Paragraph. - Convert "A collection of valuable thoughts by a very egocentric person." to Site Tagline block, instead of Paragraph. - Add header small pattern (note: added custom style in theme.json to define the align-items as baseline). - Replace header in 404, search and archive templates to use instead header small. --- poetry/parts/header-small.html | 1 + poetry/patterns/header-small.php | 31 +++++++++++++++++++ poetry/patterns/header.php | 26 ++++++++-------- poetry/templates/404.html | 2 +- poetry/templates/archive.html | 2 +- poetry/templates/search.html | 2 +- poetry/theme.json | 53 +++++++++++++++++++++++++++----- 7 files changed, 92 insertions(+), 25 deletions(-) create mode 100644 poetry/parts/header-small.html create mode 100644 poetry/patterns/header-small.php diff --git a/poetry/parts/header-small.html b/poetry/parts/header-small.html new file mode 100644 index 00000000..ac84109e --- /dev/null +++ b/poetry/parts/header-small.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/poetry/patterns/header-small.php b/poetry/patterns/header-small.php new file mode 100644 index 00000000..b14aeef4 --- /dev/null +++ b/poetry/patterns/header-small.php @@ -0,0 +1,31 @@ + + +
Food
for thoughts
A collection of valuable thoughts by a very egocentric person.
-