Update: 修改 valine 评论系统样式,使其跟网站主题色保持一致

This commit is contained in:
XPoet 2020-03-25 22:18:15 +08:00
parent d7b147a3be
commit 53543b83ff
3 changed files with 60 additions and 10 deletions

View File

@ -31,7 +31,7 @@ $description-font-size = 16px
.description { .description {
padding: 5px; padding: 10px;
font-size: $description-font-size; font-size: $description-font-size;
} }

View File

@ -1,8 +1,55 @@
@require '../variables.styl'
.valine-container { .valine-container {
#valine {
.vheader {
.vinput {
&:focus {
border-bottom: 1px solid $a-hover-color !important;
}
}
}
.vcontrol { .vcontrol {
.col-20 a { .col-20 a {
display: none; display: none;
} }
.col-80 {
button.vsubmit {
background: transparent !important;
color: $default-font-color !important;
border: 1px solid $default-font-color !important;
&:hover {
color: $a-hover-color !important;
border: 1px solid $a-hover-color !important;
}
}
}
}
.vlist {
.vcard {
.vhead {
.vnick {
&::before {
background: $a-hover-color !important;
}
color: $a-hover-color;
}
}
}
} }
.info { .info {
@ -10,4 +57,7 @@
display none display none
} }
} }
}
} }

View File

@ -53,7 +53,7 @@ $nav-selected-color = #4a4a4a
$a-color = #666 $a-color = #666
// a // a
$a-hover-color = #2273d8 $a-hover-color = #135bce
// //
$button-color = $default-font-color $button-color = $default-font-color