From c0abdc84cb7481cfb1a994e2634c7b2fd3eb761b Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 1 Jul 2024 19:10:22 +0500 Subject: [PATCH] tweak single blog post template --- assets/css/custom.css | 12 ++++++++++++ templates/single.html | 8 +++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 814eb25..8d5a33f 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -239,4 +239,16 @@ a.wp-block-tiptip-hyperlink-group-block { .blog-post-content blockquote.wp-block-quote { 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; + } } \ No newline at end of file diff --git a/templates/single.html b/templates/single.html index 2796b26..e126d0f 100644 --- a/templates/single.html +++ b/templates/single.html @@ -3,8 +3,8 @@
- -
+ +
@@ -61,7 +61,9 @@ -
+
+ +