diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-03-30 21:54:41 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-03-30 21:54:41 +0800 |
| commit | 00ae0a50937ba4810018793b2b26a9bf52b36300 (patch) | |
| tree | 36855dab88e70bb3bb9b844085eafb1e5b03e89e /assets/css/main/comment.css | |
| parent | ef908c79dbab19c283dbc22f022c5c59000eddb0 (diff) | |
✉️ Perf: 优化评论框样式
Diffstat (limited to 'assets/css/main/comment.css')
| -rw-r--r-- | assets/css/main/comment.css | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/assets/css/main/comment.css b/assets/css/main/comment.css index 3eadc49..e5fff71 100644 --- a/assets/css/main/comment.css +++ b/assets/css/main/comment.css @@ -188,7 +188,7 @@ }
.comment-textarea {
width: 100%;
- border: 1px dashed #ddd;
+ border: none;
max-width: 100%;
}
.comment-input input {
@@ -198,19 +198,16 @@ resize: none;
outline: none;
padding: 10px 5px;
- border-bottom: 1px dashed #ddd;
transition: .2s;
-}
-.comment-input input:hover {
- border-bottom: 1px dashed #000;
-}
-.comment-textarea:hover{
- border: 1px dashed #000;
+ margin-top: 10px;
}
.comment-input input,
.comment-textarea {
background: none;
outline: none;
+ background-color: rgb(248,248,248);
+ border-radius: 3px;
+ padding: 8px 10px
}
#comment-form label {
|
