Skip to content

Commit

Permalink
💄 优化作者页面的样式冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Dec 28, 2022
1 parent d3ecbb4 commit acba1ac
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
26 changes: 13 additions & 13 deletions assets/dist/style/libs.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/dist/style/style.min.css

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions assets/style/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ a:hover {
margin-bottom: 15px;

@avatar-wh:150px;
.bg {
&>.bg {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
height: 280px;
Expand All @@ -1910,13 +1910,13 @@ a:hover {
}
}
}
.info{
&>.info{
padding-left: @avatar-wh + 30px;
padding-top: var(--pk-g-basic-distance);
height: 100px;
background-color: var(--pk-bg-box);
}
.data{
.author-tab-data{
background-color: var(--pk-bg-box);
padding: var(--pk-g-basic-distance);
.data-header{
Expand All @@ -1942,8 +1942,8 @@ a:hover {
}
}
.data-content{
.posts{
.post-item{
#posts{
.post-item,.post-item-card-box{
box-shadow: none !important;
}
}
Expand Down
2 changes: 1 addition & 1 deletion author.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="row row-cols-1 mt15">
<div class="col-lg-<?php pk_hide_sidebar_out('12', '8') ?> col-md-12
<?php pk_open_box_animated('animated fadeInLeft') ?> ">
<div class="data">
<div class="author-tab-data">
<div class="data-header">
<div class="item cur">
文章 <span class="c-sub fs12"><?php echo count_user_posts(get_the_author_meta('ID')) ?></span>
Expand Down

0 comments on commit acba1ac

Please sign in to comment.