From 2b73b5468037587a9b7a9bfab3fbcf31d73738b2 Mon Sep 17 00:00:00 2001 From: madhusudhand Date: Tue, 24 May 2022 13:58:29 +0530 Subject: [PATCH] curator: add recent-posts pattern --- curator/patterns/recent-posts.php | 22 ++++++++++++++++++++++ curator/style.css | 7 +++++++ 2 files changed, 29 insertions(+) create mode 100644 curator/patterns/recent-posts.php diff --git a/curator/patterns/recent-posts.php b/curator/patterns/recent-posts.php new file mode 100644 index 0000000000..7943f8c7bd --- /dev/null +++ b/curator/patterns/recent-posts.php @@ -0,0 +1,22 @@ + + + +
+
+ + + +
+ +
+ +
+
+ \ No newline at end of file diff --git a/curator/style.css b/curator/style.css index df43466051..313fe9d06e 100644 --- a/curator/style.css +++ b/curator/style.css @@ -152,6 +152,13 @@ a:not( background-color: var(--wp--preset--color--tertiary); } +/* + * Post template block + */ +.wp-block-post-template .wp-block-post { + margin-top: 0.5rem; +} + /* * Alignment styles, borrowed from Twenty Twenty-Two.