From ef41dfca4cc8ee211e27e4e27edd96eb50bb0606 Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Mon, 4 Jan 2016 17:48:10 +0900 Subject: [PATCH] fix hover animation of anchor in md --- browser/styles/mixins/marked.styl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/browser/styles/mixins/marked.styl b/browser/styles/mixins/marked.styl index a11892f5..8decfca9 100644 --- a/browser/styles/mixins/marked.styl +++ b/browser/styles/mixins/marked.styl @@ -1,16 +1,18 @@ marked() + font-size 14px a color brandColor text-decoration none - padding 5px + padding 0 5px border-radius 5px margin -5px - transition 0.1s + transition .1s + display inline-block &:hover color lighten(brandColor, 5%) text-decoration underline background-color alpha(#FFC95C, 0.3) - transform scale(1.1) + transform scale(1.2) &:visited color brandColor hr