From 0c71eb7246cb2f84be39062cb13fce71ab0cd795 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 24 Aug 2018 09:17:31 +0800 Subject: [PATCH] update valine css --- source/less/_main.less | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/source/less/_main.less b/source/less/_main.less index 5d2b4c3..ad0b542 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -46,6 +46,37 @@ background: lighten(@theme-bg-header, 20%); } } + blockquote{ + + border-left: 4px solid @theme-bg-quote; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + border-right: 1px solid transparent; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + .enable-trans(); + &:hover{ + border-left: 8px solid @theme-bg-quote; + border-top-left-radius: 8px; + border-bottom-left-radius: 8px; + border-right: 1px solid fade(@theme-bg-quote, 50%); + border-top: 1px solid fade(@theme-bg-quote, 50%); + border-bottom: 1px solid fade(@theme-bg-quote, 50%); + } + } + a{ + color: @theme-text-link; + .enable-trans(); + &:hover { + color: @theme-text-highlight; + text-decoration: underline; + } + &:active { + color: darken(@theme-text-highlight, 25%); + } + } } } @@ -214,7 +245,7 @@ padding-right: @gap; width:~"calc(100% - 0 * @{gap})"; } - + img { max-width: 100%; }