diff --git a/assets/main/main.css b/assets/main/main.css index 1820aac..dad9b52 100644 --- a/assets/main/main.css +++ b/assets/main/main.css @@ -204,6 +204,7 @@ a:hover, a:focus, a:focus-visible { display: block; max-width: 100%; height: auto; + margin-bottom: 36px; } #post-content .tags { @@ -282,10 +283,6 @@ a:hover, a:focus, a:focus-visible { border: 0; } -#post-content h1 { - font-size: 2rem !important; -} - #right a { color: rgba(var(--link-color-second-rgba)); } @@ -307,4 +304,10 @@ a:hover, a:focus, a:focus-visible { .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1200px; } + #post-content h1, #post-content h2, #post-content h3 { + display: inline-block; + font-size: 1.5rem!important; + box-shadow: 0 -10px 0 0 rgba(var(--primary-bg-rgba)) inset; + padding: 0 5px; + } } diff --git a/template-parts/index-default.php b/template-parts/index-default.php index b0564d8..5754eb4 100644 --- a/template-parts/index-default.php +++ b/template-parts/index-default.php @@ -3,7 +3,7 @@
-

+

title(); ?>

diff --git a/template-parts/post-default.php b/template-parts/post-default.php index 77e6cb7..a4f8253 100644 --- a/template-parts/post-default.php +++ b/template-parts/post-default.php @@ -3,7 +3,7 @@
-

title(); ?>

+

title(); ?>

is('post')): ?>