style: optimize gitalk comment plugin style

This commit is contained in:
XPoet 2020-11-09 15:24:05 +08:00
parent 77892feeaa
commit fa3b64f818
1 changed files with 1 additions and 6 deletions

View File

@ -5,9 +5,6 @@ $gt-color-loader := #999999
$gt-color-error := #ff3860 $gt-color-error := #ff3860
$gt-color-hr := #E9E9E9 $gt-color-hr := #E9E9E9
$gt-color-input-border := rgba(0,0,0,0.1) $gt-color-input-border := rgba(0,0,0,0.1)
$gt-color-input-bg := #f6f6f6
$gt-color-comment-bg := #f9f9f9
$gt-color-comment-adminbg := #f6f9fe
$gt-color-comment-txt := #333333 $gt-color-comment-txt := #333333
$gt-color-link-active := #333333 $gt-color-link-active := #333333
$gt-color-btn := #ffffff $gt-color-btn := #ffffff
@ -375,11 +372,9 @@ $gt-size-avatar-mobi := em(32px)
flex: 1 flex: 1
margin-left: em(20px) margin-left: em(20px)
padding: em(12px) em(16px) padding: em(12px) em(16px)
background-color: $gt-color-comment-bg background-color: var(--magic-background-color)
overflow: auto overflow: auto
transition: all ease 0.25s transition: all ease 0.25s
//&:hover
// box-shadow: 0 em(10px) em(60px) 0 darken($gt-color-comment-bg, 2%)
+mobile() +mobile()
margin-left: em(14px) margin-left: em(14px)
padding: em(10px) em(12px) padding: em(10px) em(12px)