From 3215237925cc5ecc55f3134f1fa5f1e4acd601fa Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 19 Dec 2018 01:45:46 +0800 Subject: [PATCH] update --- source/less/_main.less | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/source/less/_main.less b/source/less/_main.less index 8bc5d8f..add213f 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -239,12 +239,25 @@ } font-size: @fontsize_small * .95; .aplayer{ + .enable-trans(); width: 65px; height: 65px; - border-radius: 100px; + border-radius: 100%; float: right; margin: 4px; - + box-shadow: @boxshadow_card_normal; + &:hover { + border-radius: 25%; + transform: scale(1.1); + box-shadow: @boxshadow_card_raised; + } + @media(max-width: @on_phone) { + &:hover { + border-radius: 100%; + transform: scale(1); + box-shadow: @boxshadow_card_normal; + } + } } .title { @@ -289,10 +302,10 @@ margin: 4px 4px 4px 0px; padding: 4px 8px 2px 6px; border-radius: 0.5*@border_radius_code_block; - border-left: 30px solid @theme_main; + border-left: 30px solid fade(@theme_main, 80%); padding-left: 2px; &:hover { - background: fade(@theme_main, 20%); + // background: fade(@theme_main, 20%); } i{ width: 30px;