Cottage: Update CSS classes (#8003)
* Remove references to font family not used in the theme * Update theme.json Remove references to Source Sans font, not included in the theme (I believe this was a leftover from development process).
This commit is contained in:
parent
48e75bc6bc
commit
d539dcde60
5 changed files with 12 additions and 24 deletions
|
@ -18,8 +18,8 @@
|
|||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|60","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|40"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group alignwide has-base-color has-text-color has-link-color"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","letterSpacing":"0px"}},"fontSize":"small","fontFamily":"source-sans-3"} -->
|
||||
<p class="has-source-sans-3-font-family has-small-font-size" style="font-style:normal;font-weight:400;letter-spacing:0px"><?php esc_html_e('Featured', 'cottage');?></p>
|
||||
<div class="wp-block-group alignwide has-base-color has-text-color has-link-color"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","letterSpacing":"0px"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="font-style:normal;font-weight:400;letter-spacing:0px"><?php esc_html_e('Featured', 'cottage');?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"lineHeight":"1.3"}},"fontSize":"xxx-large"} /--></div>
|
||||
|
|
|
@ -10,8 +10,8 @@ declare( strict_types = 1 );
|
|||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0.5rem","margin":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--60)">
|
||||
<!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"600","letterSpacing":"0px"}},"fontSize":"small","fontFamily":"source-sans-3"} -->
|
||||
<h2 class="wp-block-heading has-source-sans-3-font-family has-small-font-size" style="font-style:normal;font-weight:600;letter-spacing:0px"><?php echo esc_html__( 'Latest Posts', 'cottage' ); ?></h2>
|
||||
<!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"600","letterSpacing":"0px"}},"fontSize":"small"} -->
|
||||
<h2 class="wp-block-heading has-small-font-size" style="font-style:normal;font-weight:600;letter-spacing:0px"><?php echo esc_html__( 'Latest Posts', 'cottage' ); ?></h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:separator -->
|
||||
|
|
|
@ -14,8 +14,8 @@ declare( strict_types = 1 );
|
|||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"fontSize":"small","fontFamily":"source-sans-3"} -->
|
||||
<p class="has-source-sans-3-font-family has-small-font-size"><?php esc_html_e('Published by', 'cottage');?></p>
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size"><?php esc_html_e('Published by', 'cottage');?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:post-author-name {"isLink":true} /-->
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--secondary);border-top-width:1px;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:avatar {"size":56} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small","fontFamily":"source-sans-3"} -->
|
||||
<p class="has-source-sans-3-font-family has-small-font-size"><?php esc_html_e('Published by', 'cottage');?></p>
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size"><?php esc_html_e('Published by', 'cottage');?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:post-author-name {"isLink":true} /-->
|
||||
|
|
|
@ -441,19 +441,13 @@
|
|||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--source-sans-3)",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"letterSpacing": "normal",
|
||||
"lineHeight": "1.590909091"
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-content": {
|
||||
"css": "& p{margin:0;}& p+p{margin-top:1.75rem;}",
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--source-sans-3)",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"letterSpacing": "normal",
|
||||
"lineHeight": "1.590909091"
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-date": {
|
||||
|
@ -470,10 +464,7 @@
|
|||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--source-sans-3)",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"letterSpacing": "normal",
|
||||
"lineHeight": "1.590909091"
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-edit-link": {
|
||||
|
@ -490,10 +481,7 @@
|
|||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--source-sans-3)",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"letterSpacing": "normal",
|
||||
"lineHeight": "1.590909091"
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-reply-link": {
|
||||
|
|
Loading…
Reference in a new issue