Skip to content

Commit

Permalink
修复文章页标签样式hover错误
Browse files Browse the repository at this point in the history
  • Loading branch information
hongweipeng committed Sep 21, 2022
1 parent 9c2f195 commit 03756df
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ img.avatar {
.m-nav .nav li ul{background-color:#404040;}

.post-article{background: #fff;margin-bottom: 10px;overflow: hidden;padding: 0.5rem 1rem 1rem;}
.post-article .title h2{font-size: 2rem}
.post-article h2.title{font-size: 2rem}
.post-article .title a{text-decoration: none;}
.post-article .title a:hover{transition: all 0.3s ease 0s;}
.post-article .edit {margin-left: 20px;color:#949494;font-size: 0.875rem;}
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<article class="post-article clearfix">
<section class="">
<div class="category-cloud"><?php $this->category(''); ?></div>
<div class="title">
<h2><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="article-header">
<h2 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
</div>
<hr>
<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<div class="col-md-8 pl-0 pr-0">
<div id="article-list">
<article class="post-article clearfix">
<div class="title">
<h2><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="article-header">
<h2 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<p class="post-big-info">
<span class="badge badge-skin"><i class="fa fa-fw fa-user"></i> <a href="<?php $this->author->permalink(); ?>" rel="author"><?php $this->author(); ?></a></span>
<span class="badge badge-skin"><i class="fa fa-fw fa-calendar"></i> <?php $this->date('Y-m-d'); ?></span>
Expand Down
4 changes: 2 additions & 2 deletions post.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="pl-0 pr-0 col-md-<?php echo $hidden_sidebar? '12' : '8' ?>">
<div id="article-list">
<article class="post-article clearfix">
<div class="title">
<h2><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="article-header">
<h2 class="title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<p class="post-big-info">
<span class="badge badge-skin"><i class="fa fa-fw fa-user"></i> <a href="<?php $this->author->permalink(); ?>" rel="author"><?php $this->author(); ?></a></span>
<span class="badge badge-skin"><i class="fa fa-fw fa-tags"></i> <?php $this->category(','); ?></span>
Expand Down

0 comments on commit 03756df

Please sign in to comment.