Skip to content

Commit

Permalink
V3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liaocp666 committed Jan 8, 2025
1 parent 8339f54 commit 437eed8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions assets/main/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ a:hover, a:focus, a:focus-visible {
display: block;
max-width: 100%;
height: auto;
margin-bottom: 36px;
}

#post-content .tags {
Expand Down Expand Up @@ -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));
}
Expand All @@ -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;
}
}
2 changes: 1 addition & 1 deletion template-parts/index-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<article class="card border-0 py-3 col-12 block" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="d-flex column-gap-2 overflow-hidden">
<div class="card-body p-0 d-flex flex-column justify-content-between row-gap-1">
<h3 class="card-title fs-4 fw-normal" itemprop="headline">
<h3 class="card-title fs-5 fw-normal" itemprop="headline">
<a href="<?php $this->permalink(); ?>"
title="<?php $this->title(); ?>"><?php $this->title(); ?></a>
</h3>
Expand Down
2 changes: 1 addition & 1 deletion template-parts/post-default.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<article class="card border-0 py-3 col-12 border-bottom border-light-subtle mb-3 pb-4" id="post-article" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="d-flex column-gap-2">
<div class="card-body p-0 d-flex flex-column justify-content-between row-gap-1 overflow-hidden">
<h1 class="card-title fs-2" itemprop="headline"><?php $this->title(); ?></h1>
<h1 class="card-title fs-3" itemprop="headline"><?php $this->title(); ?></h1>
<p class="card-text pb-3">
<small class="text-body-tertiary">
<?php if ($this->is('post')): ?>
Expand Down

0 comments on commit 437eed8

Please sign in to comment.