From fa3b64f818ad5b6178c454e2d669ee008cb8a3b7 Mon Sep 17 00:00:00 2001 From: XPoet Date: Mon, 9 Nov 2020 15:24:05 +0800 Subject: [PATCH] style: optimize gitalk comment plugin style --- source/css/layout/_partial/comment/gitalk.styl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/source/css/layout/_partial/comment/gitalk.styl b/source/css/layout/_partial/comment/gitalk.styl index 4ed24d8..478e3cc 100644 --- a/source/css/layout/_partial/comment/gitalk.styl +++ b/source/css/layout/_partial/comment/gitalk.styl @@ -5,9 +5,6 @@ $gt-color-loader := #999999 $gt-color-error := #ff3860 $gt-color-hr := #E9E9E9 $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-link-active := #333333 $gt-color-btn := #ffffff @@ -375,11 +372,9 @@ $gt-size-avatar-mobi := em(32px) flex: 1 margin-left: em(20px) padding: em(12px) em(16px) - background-color: $gt-color-comment-bg + background-color: var(--magic-background-color) overflow: auto transition: all ease 0.25s - //&:hover - // box-shadow: 0 em(10px) em(60px) 0 darken($gt-color-comment-bg, 2%) +mobile() margin-left: em(14px) padding: em(10px) em(12px)