From 05194c1144fd6017561c22fee33c5dc1389db28b Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Thu, 12 Oct 2023 01:05:43 +0900 Subject: [PATCH 1/4] Submission: Remove the old design's style --- .../themes/wporg-showcase-2022/src/style/style.scss | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss index 581095fc..e0971c48 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss +++ b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss @@ -219,18 +219,6 @@ body.page-template-page-submit-confirmation .wp-site-blocks { color: var(--wp--preset--color--white); } -body.page-template-page-submit-confirmation, -body.page-template-page-submit { - - /* Adjust margin used to pull the header over the dots background when the font size changes. */ - @media (max-width: 599px) { - .wp-block-spacer.has-dark-dots-background, - .wp-block-spacer.has-blue-dots-background { - margin-bottom: -30px !important; - } - } -} - /* Add background to spacers. These are custom classes, not attached as block styles. */ .wp-block-spacer { &.has-dots-background, From deeb4aba1a5e0bd7baeef34bcdd6da6dab19acbb Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Thu, 12 Oct 2023 01:13:22 +0900 Subject: [PATCH 2/4] Remove Parent Cover Block. --- .../wporg-showcase-2022/patterns/log-in.php | 55 ++++++++----------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/patterns/log-in.php b/source/wp-content/themes/wporg-showcase-2022/patterns/log-in.php index 52c5bb02..00d20068 100644 --- a/source/wp-content/themes/wporg-showcase-2022/patterns/log-in.php +++ b/source/wp-content/themes/wporg-showcase-2022/patterns/log-in.php @@ -7,39 +7,32 @@ ?> - -
- -
- -
- -

- + +
+ +

+ - -

- + +

+ - -

Log in to your WordPress.org account to continue.', 'wporg' ) ), - esc_url( wp_login_url( home_url( '/' ) . 'submit-a-wordpress-site' ) ) - ); - ?>

- + +

Log in to your WordPress.org account to continue.', 'wporg' ) ), + esc_url( wp_login_url( home_url( '/' ) . 'submit-a-wordpress-site' ) ) + ); + ?>

+ - -
- -
- -
- -
- + +
+ +
+
+
- + From 7b57c5f03b0a2ead3eda3ebabf4667aafb315141 Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 17 Oct 2023 00:36:53 +0900 Subject: [PATCH 3/4] Change margin bottom of dot pattern to max 60 & min 40 --- .../themes/wporg-showcase-2022/templates/page-log-in.html | 4 ++-- .../themes/wporg-showcase-2022/templates/page-thanks.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/templates/page-log-in.html b/source/wp-content/themes/wporg-showcase-2022/templates/page-log-in.html index dc02b9fa..ffaf76b4 100644 --- a/source/wp-content/themes/wporg-showcase-2022/templates/page-log-in.html +++ b/source/wp-content/themes/wporg-showcase-2022/templates/page-log-in.html @@ -4,8 +4,8 @@
- - + +
diff --git a/source/wp-content/themes/wporg-showcase-2022/templates/page-thanks.html b/source/wp-content/themes/wporg-showcase-2022/templates/page-thanks.html index 231cbd2d..ee29f837 100644 --- a/source/wp-content/themes/wporg-showcase-2022/templates/page-thanks.html +++ b/source/wp-content/themes/wporg-showcase-2022/templates/page-thanks.html @@ -4,8 +4,8 @@
- - + + From b95a568a5725adf979e7ed6a8f3ea1cf2b52d7f9 Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:38:26 +0900 Subject: [PATCH 4/4] position the dot pattern centrally --- .../wp-content/themes/wporg-showcase-2022/src/style/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss index e0971c48..7a74c11d 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss +++ b/source/wp-content/themes/wporg-showcase-2022/src/style/style.scss @@ -224,7 +224,7 @@ body.page-template-page-submit-confirmation .wp-site-blocks { &.has-dots-background, &.has-dark-dots-background, &.has-blue-dots-background { - background-position: top left; + background-position: top center; background-repeat: repeat-x; background-size: auto; }