Compare commits

...

3 Commits

Author SHA1 Message Date
222fdc5a60 adjust header spacing 2024-05-30 18:58:59 +05:00
c042d48cec style header nav 2024-05-30 18:57:56 +05:00
c4b0512471 style post titles 2024-05-30 18:57:48 +05:00
3 changed files with 31 additions and 9 deletions

View File

@ -1 +1 @@
<!-- wp:pattern {"slug":"header"} /-->
<!-- wp:pattern {"slug":"/header"} /-->

View File

@ -1,15 +1,17 @@
<?php
/**
* Title: Header
* Slug: header
* Title: header
* Slug: /header
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:image {"width":"auto","height":"112px","sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full is-resized"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/logo.svg" alt="" class="" style="width:auto;height:112px" /></figure>
<!-- /wp:image -->
</div>
<figure class="wp-block-image aligncenter size-full is-resized"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/logo.svg" alt="" style="width:auto;height:112px"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group -->
<!-- wp:navigation {"textColor":"black","className":"main-header-nav","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"0"}},"fontSize":"medium","fontFamily":"instrument-sans"} /--></div>
<!-- /wp:group -->

View File

@ -604,6 +604,26 @@
"lineHeight": "1.45"
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--black)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--black)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-sans-condensed)",
"fontSize": "var(--wp--preset--font-size--huge)",
"fontStyle": "normal",
"fontWeight": "700",
"letterSpacing": "-1.12px",
"lineHeight": "1.0"
}
},
"core/quote": {
"color": {
"text": "var(--wp--preset--color--black)"
@ -625,7 +645,7 @@
}
}
},
"css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}",
"css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}",
"elements": {
"caption": {
"color": {