From 0b03c8360b6a8e07cdf74ac5729981f4788fdd1b Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Mon, 4 Jan 2016 01:40:58 +0900 Subject: [PATCH] fix anchor style --- browser/styles/main/index.styl | 2 +- browser/styles/mixins/marked.styl | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/browser/styles/main/index.styl b/browser/styles/main/index.styl index b28d6069..95e3eac5 100644 --- a/browser/styles/main/index.styl +++ b/browser/styles/main/index.styl @@ -31,7 +31,7 @@ div, span, a, button, input, textarea a color brandColor &:hover - color darken(brandColor, 15%) + color lighten(brandColor, 5%) &:visited color brandColor diff --git a/browser/styles/mixins/marked.styl b/browser/styles/mixins/marked.styl index acd91d1d..a11892f5 100644 --- a/browser/styles/mixins/marked.styl +++ b/browser/styles/mixins/marked.styl @@ -1,4 +1,18 @@ marked() + a + color brandColor + text-decoration none + padding 5px + border-radius 5px + margin -5px + transition 0.1s + &:hover + color lighten(brandColor, 5%) + text-decoration underline + background-color alpha(#FFC95C, 0.3) + transform scale(1.1) + &:visited + color brandColor hr border-top none border-bottom solid 1px borderColor