Compare commits

...

3 Commits

Author SHA1 Message Date
02e177a99f tweak header on mobile
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-09 17:14:56 +05:00
272130fc19 tweak single post template on mobile 2024-07-09 17:11:30 +05:00
279cf1549b tweak single blog template on mobile 2024-07-09 17:10:00 +05:00
4 changed files with 153 additions and 140 deletions

View File

@ -236,7 +236,7 @@ a.wp-block-tiptip-hyperlink-group-block {
margin-block: 1em;
font-family: var(--wp--preset--font-family--instrument-sans);
letter-spacing: -0.4px;
font-size: 38px;
font-size: 38px !important;
}
.blog-post-content blockquote.wp-block-quote {
@ -247,6 +247,15 @@ a.wp-block-tiptip-hyperlink-group-block {
.blog-post-content .wp-block-image {
margin-inline: -42px;
}
.blog-post-content blockquote.wp-block-quote {
margin-inline-start: -1.5rem;
}
.blog-post-content h2.wp-block-heading {
margin-inline: auto;
padding-inline-start: .5em;
}
}
@media (min-width: 1080px) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -8,10 +8,14 @@
*/
?>
<!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- 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 {"lightbox":{"enabled":false},"scale":"cover","sizeSlug":"full","linkDestination":"custom","align":"center"} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- 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"}}},"className":"pcss-e34cc91f","layout":{"type":"default"},"pcssAdditionalCss":"@media (max-width: 480px) {\n [block] {\n padding-top: 0 !important;\n }\n}","pcssAdditionalCssCompiled":"@media (width\u003c=480px){.pcss-e34cc91f{padding-top:0!important}}","pcssClassId":"pcss-e34cc91f"} -->
<div class="wp-block-group pcss-e34cc91f" 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 {"lightbox":{"enabled":false},"scale":"cover","sizeSlug":"full","linkDestination":"custom","align":"center","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"small":true,"medium":true}}}}]}} -->
<figure class="wp-block-image aligncenter size-full"><a href="/"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/logo.svg" alt="" style="object-fit:cover" /></a></figure>
<!-- /wp:image -->
<!-- wp:image {"sizeSlug":"full","linkDestination":"none","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"large":true}}}}]}} -->
<figure class="wp-block-image size-full"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/Justice-Equity-Technology-project.png" alt="" class="" /></figure>
<!-- /wp:image -->
</div>
<!-- /wp:group -->

View File

@ -1,8 +1,8 @@
<!-- wp:template-part {"slug":"header","theme":"jett-theme","area":"header"} /-->
<!-- wp:template-part {"slug":"header","area":"header"} /-->
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0","left":"0"},"margin":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-columns" style="margin-top:0;margin-bottom:0"><!-- wp:column {"width":"19.15%"} -->
<div class="wp-block-column" style="flex-basis:19.05%"></div>
<div class="wp-block-column" style="flex-basis:19.15%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"","style":{"border":{"left":{"width":"0px","style":"none"},"top":[],"right":[],"bottom":[]}}} -->
@ -24,12 +24,12 @@
<!-- /wp:paragraph -->
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}},"fontFamily":"commit-mono"} -->
<p class="has-commit-mono-font-family"
style="font-style:normal;font-weight:500">Words:</p>
<p class="has-commit-mono-font-family" style="font-style:normal;font-weight:500">Words:</p>
<!-- /wp:paragraph -->
<!-- wp:co-authors-plus/coauthors {"prefix":"","separator":" | ","lastSeparator":"","style":{"elements":{"link":{"color":{"text":"var:preset|color|black"}}},"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase"}},"textColor":"black","fontFamily":"instrument-sans-semicondensed"} -->
<div class="wp-block-co-authors-plus-coauthors has-black-color has-text-color has-link-color has-instrument-sans-semicondensed-font-family"
<div
class="wp-block-co-authors-plus-coauthors has-black-color has-text-color has-link-color has-instrument-sans-semicondensed-font-family"
style="font-style:normal;font-weight:700;text-transform:uppercase">
<!-- wp:co-authors-plus/name {"isLink":true} /--></div>
<!-- /wp:co-authors-plus/coauthors -->
@ -40,8 +40,7 @@
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:post-excerpt {"style":{"typography":{"lineHeight":"1.5"}},"fontFamily":"commit-mono"} /-->
</div>
<!-- wp:post-excerpt {"style":{"typography":{"lineHeight":"1.5"}},"fontFamily":"commit-mono"} /--></div>
<!-- /wp:group -->
<!-- wp:post-terms {"term":"post_tag","separator":"","className":"is-style-hashtags"} /-->
@ -53,8 +52,8 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0"}},"border":{"bottom":{"width":"16px"},"top":{"width":"0px","style":"none"},"right":{"width":"1px"},"left":{"width":"1px"}}},"className":"post-content-container","layout":{"type":"constrained","justifyContent":"left","contentSize":"640px","wideSize":""},"fontSize":"standard"} -->
<div class="wp-block-group post-content-container has-standard-font-size"
style="border-top-style:none;border-top-width:0px;border-right-width:1px;border-bottom-width:16px;border-left-width:1px;margin-top:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70"}}},"className":"pcss-39dde4d3","layout":{"type":"constrained"},"pcssAdditionalCss":"@media (max-width: 480px) {\n [block] {\n padding-inline: 1rem !important\n }\n}","pcssAdditionalCssCompiled":"@media (width\u003c=480px){.pcss-39dde4d3{padding-inline:1rem!important}}","pcssClassId":"pcss-39dde4d3"} -->
<div class="wp-block-group pcss-39dde4d3"
style="padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)">
<!-- wp:post-content {"style":{"typography":{"fontSize":"20px","lineHeight":"1.6"},"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"className":"blog-post-content","fontFamily":"roboto-serif"} /-->
</div>
@ -63,7 +62,8 @@
<!-- /wp:group -->
<!-- wp:group {"metadata":{"name":"post-bio-container"},"style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}},"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70","right":"var:preset|spacing|70"}}},"backgroundColor":"black","textColor":"white","className":"post-bio-container","layout":{"type":"constrained","contentSize":"640px","wideSize":"1480px"}} -->
<div class="wp-block-group post-bio-container has-white-color has-black-background-color has-text-color has-background has-link-color"
<div
class="wp-block-group post-bio-container has-white-color has-black-background-color has-text-color has-background has-link-color"
style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)">
<!-- wp:heading {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","fontSize":"x-large"} -->
<h2
@ -73,8 +73,7 @@
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"29%"} -->
<div class="wp-block-column" style="flex-basis:29%">
<!-- wp:co-authors-plus/coauthors {"prefix":""} -->
<div class="wp-block-column" style="flex-basis:29%"><!-- wp:co-authors-plus/coauthors {"prefix":""} -->
<div class="wp-block-co-authors-plus-coauthors">
<!-- wp:co-authors-plus/name {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"standard"} /-->
</div>
@ -110,7 +109,8 @@
<div class="wp-block-group has-black-background-color has-background"
style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)">
<!-- wp:heading {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"className":"is-style-gradient","fontSize":"xx-large","fontFamily":"instrument-sans"} -->
<h2 class="wp-block-heading has-text-align-center is-style-gradient has-instrument-sans-font-family has-xx-large-font-size"
<h2
class="wp-block-heading has-text-align-center is-style-gradient has-instrument-sans-font-family has-xx-large-font-size"
style="font-style:normal;font-weight:600">From The Blog</h2>
<!-- /wp:heading -->
</div>
@ -131,8 +131,8 @@
</div>
<!-- /wp:column -->
<!-- wp:column {"width":"","style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}}} -->
<div class="wp-block-column"
<!-- wp:column {"width":"","style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"className":"pcss-15b8963d","pcssAdditionalCss":"@media (max-width: 480px) {\n [block] {\n padding-inline: 1rem !important;\n padding-bottom: 1rem !important;\n }\n}","pcssAdditionalCssCompiled":"@media (width\u003c=480px){.pcss-15b8963d{padding-inline:1rem!important;padding-bottom:1rem!important}}","pcssClassId":"pcss-15b8963d"} -->
<div class="wp-block-column pcss-15b8963d"
style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--60)">
<!-- wp:post-date {"format":"M.j.y","style":{"typography":{"fontStyle":"normal","fontWeight":"700"},"spacing":{"padding":{"top":"var:preset|spacing|30"}}},"fontSize":"small","fontFamily":"commit-mono"} /-->
@ -168,4 +168,4 @@
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","theme":"jett-theme","area":"footer"} /-->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->