From c93ef7663c2b36750292b9fb4eeb910af7a13f1c Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 29 Sep 2016 11:42:39 +0800 Subject: [PATCH] update resource page style --- site/theme/static/resource.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/theme/static/resource.less b/site/theme/static/resource.less index 90ed64c746..262acdfeea 100644 --- a/site/theme/static/resource.less +++ b/site/theme/static/resource.less @@ -20,7 +20,8 @@ } .resource-card:hover { - box-shadow: 0 1px 6px rgba(100, 100, 100, .2); + box-shadow: 0 3px 8px #d3ddeb; + border-color: transparent; } .resource-card:hover .resource-card-title { @@ -58,8 +59,8 @@ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; - line-height: 1; - margin-bottom: 8px; + line-height: 1.2; + margin-bottom: 6px; } .resource-card-description {