diff options
| author | BigCoke233 <hi@guhub.cn> | 2020-03-30 22:15:10 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2020-03-30 22:15:10 +0800 |
| commit | c5c19e2f7c05e10aca4ba2e1e717db67af3a7df5 (patch) | |
| tree | 3c47989643b0f3a31af4bd47ac8b54b343033719 | |
| parent | 00ae0a50937ba4810018793b2b26a9bf52b36300 (diff) | |
:moon: 夜间模式和日落模式下评论框样式
| -rw-r--r-- | assets/css/main/themes.css | 10 | ||||
| -rw-r--r-- | includes/comments.php | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/assets/css/main/themes.css b/assets/css/main/themes.css index 47f5dc5..a6aa006 100644 --- a/assets/css/main/themes.css +++ b/assets/css/main/themes.css @@ -18,8 +18,8 @@ .body-dark,
.body-dark .post-qr,
.body-dark .login-form .btn {
- background:#4b4b4b;
- color:#fafafa
+ background: #4b4b4b;
+ color: #fafafa
}
.body-dark .login-form .btn {
background: rgb(70,70,70)!important;
@@ -351,8 +351,10 @@ .body-sepia .drawer-content,
.body-sepia .drawer-relative,
.body-sepia .drawer-icon,
-.body-sepia .post-qr {
- background: rgb(248,241,228)
+.body-sepia .post-qr,
+.body-sepia .comment-input input,
+.body-sepia .comment-textarea {
+ background: rgb(248,241,228)!important
}
.body-sepia .nav {
background: rgba(250,241,228,0.86);
diff --git a/includes/comments.php b/includes/comments.php index 89cd165..c873a04 100644 --- a/includes/comments.php +++ b/includes/comments.php @@ -88,7 +88,7 @@ echo $commentClass; <div class="comment-input">
<input type="text" name="author" id="author" class="text" placeholder="称呼*" value="<?php $this->remember('author'); ?>" required />
<input type="email" name="mail" id="mail" class="text" placeholder="邮箱*" value="<?php $this->remember('mail'); ?>"<?php if ($this->options->commentsRequireMail): ?> required<?php endif; ?> />
- <input type="url" name="url" id="url" class="text" placeholder="<?php _e('http://'); ?>" value="<?php $this->remember('url'); ?>"<?php if ($this->options->commentsRequireURL): ?> required<?php endif; ?> />
+ <input type="url" name="url" id="url" class="text" placeholder="<?php _e('http(s)://'); ?>" value="<?php $this->remember('url'); ?>"<?php if ($this->options->commentsRequireURL): ?> required<?php endif; ?> />
</div>
<?php endif; ?>
<!-- 输入要回复的内容 -->
|
