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 {
padding: 5px;
padding: 10px;
font-size: $description-font-size;
}

View File

@ -1,13 +1,63 @@
@require '../variables.styl'
.valine-container {
.vcontrol {
.col-20 a {
display: none;
#valine {
.vheader {
.vinput {
&:focus {
border-bottom: 1px solid $a-hover-color !important;
}
}
}
.vcontrol {
.col-20 a {
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 {
.txt-right {
display none
}
}
}
.info {
.txt-right {
display none
}
}
}

View File

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