tweak single blog post template
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Aadil Ayub 2024-07-01 19:10:22 +05:00
parent ec4d4af09b
commit c0abdc84cb
2 changed files with 17 additions and 3 deletions

View File

@ -239,4 +239,16 @@ a.wp-block-tiptip-hyperlink-group-block {
.blog-post-content blockquote.wp-block-quote { .blog-post-content blockquote.wp-block-quote {
margin-inline-start: -2em; margin-inline-start: -2em;
}
@media (max-width: 1079px) {
.blog-post-content .wp-block-image {
margin-inline: -42px;
}
}
@media (min-width: 1080px) {
.blog-post-content .wp-block-image {
margin-inline: -55px;
}
} }

View File

@ -3,8 +3,8 @@
<div class="wp-block-column" style="flex-basis:19.05%"></div> <div class="wp-block-column" style="flex-basis:19.05%"></div>
<!-- /wp:column --> <!-- /wp:column -->
<!-- wp:column {"width":"","style":{"border":{"left":{"color":"var:preset|color|black","width":"1px"},"top":[],"right":[],"bottom":[]}}} --> <!-- wp:column {"width":"","style":{"border":{"left":{"width":"0px","style":"none"},"top":[],"right":[],"bottom":[]}}} -->
<div class="wp-block-column" style="border-left-color:var(--wp--preset--color--black);border-left-width:1px"> <div class="wp-block-column" style="border-left-style:none;border-left-width:0px">
<!-- wp:group {"metadata":{"name":"Header"},"style":{"spacing":{"blockGap":"0","padding":{"bottom":"0"},"margin":{"bottom":"0"}},"border":{"bottom":{"color":"var:preset|color|black","width":"16px"},"top":{"width":"0px","style":"none"},"right":{"color":"var:preset|color|black","width":"1px"},"left":{"color":"var:preset|color|black","width":"1px"}}},"className":"post-header","layout":{"type":"default"}} --> <!-- wp:group {"metadata":{"name":"Header"},"style":{"spacing":{"blockGap":"0","padding":{"bottom":"0"},"margin":{"bottom":"0"}},"border":{"bottom":{"color":"var:preset|color|black","width":"16px"},"top":{"width":"0px","style":"none"},"right":{"color":"var:preset|color|black","width":"1px"},"left":{"color":"var:preset|color|black","width":"1px"}}},"className":"post-header","layout":{"type":"default"}} -->
<div class="wp-block-group post-header" <div class="wp-block-group post-header"
style="border-top-style:none;border-top-width:0px;border-right-color:var(--wp--preset--color--black);border-right-width:1px;border-bottom-color:var(--wp--preset--color--black);border-bottom-width:16px;border-left-color:var(--wp--preset--color--black);border-left-width:1px;margin-bottom:0;padding-bottom:0"> style="border-top-style:none;border-top-width:0px;border-right-color:var(--wp--preset--color--black);border-right-width:1px;border-bottom-color:var(--wp--preset--color--black);border-bottom-width:16px;border-left-color:var(--wp--preset--color--black);border-left-width:1px;margin-bottom:0;padding-bottom:0">
@ -61,7 +61,9 @@
<!-- /wp:column --> <!-- /wp:column -->
<!-- wp:column {"width":"66.66%"} --> <!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-author-biography /--></div> <div class="wp-block-column" style="flex-basis:66.66%">
<!-- wp:post-author-biography {"style":{"typography":{"lineHeight":"1.6"}},"fontSize":"small","fontFamily":"roboto-serif"} /-->
</div>
<!-- /wp:column --> <!-- /wp:column -->
</div> </div>
<!-- /wp:columns --> <!-- /wp:columns -->