瀏覽代碼

Curator: add paragraph with quote block pattern (#6090)

* Add paragraph with quote block pattern.

* Adjust font weights of quote.

* Add spacer in right column.
Jeff Ong 3 年之前
父節點
當前提交
1680d3906c
共有 1 個文件被更改,包括 48 次插入0 次删除
  1. 48 0
      curator/patterns/paragraph-right-aligned-quote.php

+ 48 - 0
curator/patterns/paragraph-right-aligned-quote.php

@@ -0,0 +1,48 @@
+<?php
+/**
+ * Title: Paragraph with Right Aligned Quote
+ * Slug: curator/paragraph-quote
+ * Categories: featured, text
+ */
+?>
+
+<!-- wp:paragraph -->
+<p><?php echo esc_html__( 'Then warm the plate and wipe off the wax, or wash it off with spirits of turpentine, and rub the plate with fine dry whiting. The next instrument to proceed with is the graver; consisting of a blade of steel about three inches long, which is fixed in a convenient handle like an awl.', 'curator' ); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:columns {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
+<div class="wp-block-columns" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column -->
+<div class="wp-block-column"><!-- wp:paragraph -->
+<p><?php echo esc_html__( 'The form of the graver should be triangular, or between a triangle and lozenge, having two sides plane and the other round or swelled; and should taper regularly from the handle to the point, or nearly so, but the point must be ground off obliquely so that the edge may extend a little farther than the back; and the edge should rise a little rounding towards the point.', 'curator' ); ?></p>
+<!-- /wp:paragraph --></div>
+<!-- /wp:column -->
+
+<!-- wp:column -->
+<div class="wp-block-column"><!-- wp:separator -->
+<hr class="wp-block-separator has-alpha-channel-opacity"/>
+<!-- /wp:separator -->
+
+<!-- wp:columns -->
+<div class="wp-block-columns"><!-- wp:column {"width":"10px"} -->
+<div class="wp-block-column" style="flex-basis:10px"><!-- wp:paragraph {"fontSize":"x-large"} -->
+<p class="has-x-large-font-size"><em>“</em></p>
+<!-- /wp:paragraph --></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":""} -->
+<div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontStyle":"normal","fontWeight":"500"}},"fontSize":"x-large"} -->
+<p class="has-x-large-font-size" style="font-style:normal;font-weight:500;line-height:1.2">
+<em><?php echo esc_html__( 'Any portraits or other figures may be formed on the plate, with due proportion of light and shade.', 'curator' ); ?></em></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:paragraph {"fontSize":"small"} -->
+<p class="has-small-font-size"><?php echo esc_html( 'Unknown', 'curator' ); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:spacer {"height":"20px"} -->
+<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns -->