Skip to content

Commit

Permalink
fix 评论
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Jul 2, 2024
1 parent 8449fd3 commit 01a1272
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</g>
</svg><?php $this->commentsNum(_t('0'), _t('1'), _t('%d')); ?>
</h3>
<ol class="commentlist sulliComment--list"></ol>
<ol class="commentlist"></ol>
<?php if ($comments->have()): ?>
<?php $comments->listComments(); ?>
<?php
Expand Down
34 changes: 3 additions & 31 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1263,10 +1263,6 @@ html {
width: auto
}

.comment-form .submit:hover {
background-color: var(--farallon-text-light)
}

.comment-form p {
margin-bottom: 15px
}
Expand All @@ -1278,7 +1274,6 @@ html {
.comment-form .comment-notes,
.comment-form .logged-in-as {
font-size: 12px;
color: var(--farallon-text-gray)
}

.comment-reply-title {
Expand All @@ -1295,7 +1290,7 @@ html {
}

.commentlist {
border-top: 1px solid var(--farallon-border-color-light);
border-top: 1px solid var(--theme);
list-style: none;
padding-top: 10px
}
Expand All @@ -1307,7 +1302,6 @@ html {
.commentlist .comment-respond {
margin-top: 20px;
padding: 20px;
background-color: var(--farallon-background-gray);
border-radius: 5px
}

Expand All @@ -1326,7 +1320,7 @@ html {
}

.comment.parent {
border-bottom: 1px solid var(--farallon-border-color-light)
border-bottom: 1px solid var(--theme)
}

.comment.parent:last-child {
Expand All @@ -1347,7 +1341,7 @@ html {
}

.comment-body:hover .avatar {
box-shadow: 0 0 3px 0 var(--farallon-hover-color)
box-shadow: 0 0 3px 0
}

.comment--avatar {
Expand All @@ -1367,21 +1361,11 @@ html {
}

.comment--author .comment-reply-link svg {
fill: var(--farallon-text-gray);
width: 15px;
height: 15px
}

.comment--author .comment-reply-link:hover svg {
fill: var(--farallon-hover-color)
}

.comment--author a {
color: var(--farallon-main-color)
}

.comment--author a:hover {
color: var(--farallon-hover-color);
text-decoration: underline
}

Expand All @@ -1391,10 +1375,6 @@ html {
flex: auto
}

.comment--time {
color: var(--farallon-text-light)
}

.comment-meta {
display: flex;
align-items: center
Expand All @@ -1413,17 +1393,12 @@ div.cancel-comment-reply.cancel-comment-reply-link {
word-wrap: break-word !important;
overflow-wrap: break-word !important;
white-space: normal !important;
color: var(--farallon-text-light)
}

.comment-content a {
text-decoration: underline
}

.comment-content a:hover {
color: var(--farallon-hover-color)
}

.children {
margin-left: 0;
padding-bottom: 10px
Expand Down Expand Up @@ -1482,7 +1457,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {
margin-right: 5px;
position: relative;
transform: translate3d(0, 1px, 0);
fill: var(--farallon-text-color)
}

.comment-respond {
Expand All @@ -1495,7 +1469,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {

.comment-form-cookies-consent label {
font-size: 14px;
color: var(--farallon-text-gray);
display: flex;
align-items: center;
position: relative
Expand All @@ -1519,7 +1492,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {
}

.comment-form-cookies-consent input:checked+label::after {
background-color: var(--farallon-main-color);
border-radius: 100%;
content: "";
position: absolute;
Expand Down

0 comments on commit 01a1272

Please sign in to comment.