Pendant: Update category style per design (#5871)
This commit is contained in:
parent
fbfcb04a9a
commit
7f2f40a223
3 changed files with 10 additions and 6 deletions
|
@ -13,8 +13,10 @@
|
|||
|
||||
<!-- wp:column {"verticalAlignment":"bottom","width":"calc(1240px / 2)","style":{"spacing":{"padding":{"left":"var(--wp--custom--gap--horizontal)"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-bottom" style="padding-left:var(--wp--custom--gap--horizontal);flex-basis:calc(1240px / 2)"><!-- wp:group {"style":{"spacing":{"padding":{"top":"100px","bottom":"100px","right":"calc(var(--wp--custom--gap--horizontal)/2)"}}},"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group" style="padding-top:100px;padding-right:calc(var(--wp--custom--gap--horizontal)/2);padding-bottom:100px"><!-- wp:paragraph {"placeholder":"Content…","style":{"typography":{"textTransform":"uppercase"}},"fontSize":"x-small"} -->
|
||||
<p class="has-x-small-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Featured', 'pendant' ); ?></p>
|
||||
<div class="wp-block-group" style="padding-top:100px;padding-right:calc(var(--wp--custom--gap--horizontal)/2);padding-bottom:100px">
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase","letterSpacing":"0.1em","fontStyle":"normal","fontWeight":"500"}},"fontSize":"x-small"} -->
|
||||
<p class="has-x-small-font-size" style="font-style:normal;font-weight:500;text-transform:uppercase;letter-spacing:0.1em"><?php echo esc_html__( 'Featured', 'pendant' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":1,"style":{"typography":{"lineHeight":"1"}}} -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"50px","top":"40px"},"blockGap":"40px"}},"className":"has-text-align-center","layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group has-text-align-center" style="padding-top:40px;padding-bottom:50px"><!-- wp:post-terms {"term":"category","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"typography":{"textTransform":"uppercase"}}} /-->
|
||||
<div class="wp-block-group has-text-align-center" style="padding-top:40px;padding-bottom:50px"><!-- wp:post-terms {"term":"category","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image /-->
|
||||
|
||||
|
|
|
@ -224,7 +224,8 @@
|
|||
"core/categories": {
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--body-font)",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"fontSize": "var(--wp--preset--font-size--x-small)",
|
||||
"fontWeight": "500",
|
||||
"letterSpacing": "0.1em",
|
||||
"textTransform": "uppercase",
|
||||
"lineHeight": 2.3
|
||||
|
@ -305,8 +306,9 @@
|
|||
"typography": {
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "500",
|
||||
"letterSpacing": "3px",
|
||||
"fontSize": "var:preset|font-size|small"
|
||||
"letterSpacing": "0.1em",
|
||||
"fontSize": "var:preset|font-size|x-small",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue