From e19190ca68d1cf3f60cd92d4363d4610d268c48c Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 11 May 2015 12:11:38 +0930 Subject: [PATCH] Make link styles more obvious --- less/forum/discussion.less | 13 +++++++++++++ less/lib/variables.less | 1 + 2 files changed, 14 insertions(+) diff --git a/less/forum/discussion.less b/less/forum/discussion.less index bd3e81cec..5fec2ecfa 100644 --- a/less/forum/discussion.less +++ b/less/forum/discussion.less @@ -219,6 +219,19 @@ .post-body { font-size: 14px; line-height: 1.6em; + + & p, & ul, & ol, & blockquote { + margin-bottom: 1em; + } + & a { + border-bottom: 1px solid @fl-body-secondary-color; + font-weight: 600; + + &:hover { + text-decoration: none; + border-color: @link-hover-color; + } + } } .post.is-hidden { & .post-header, & .post-header a, & .post-user h3, & .post-user h3 a { diff --git a/less/lib/variables.less b/less/lib/variables.less index 2bfca83a5..9cc5c13e1 100644 --- a/less/lib/variables.less +++ b/less/lib/variables.less @@ -108,6 +108,7 @@ @zindex-pane: @zindex-navbar-fixed + 5; @zindex-alerts: @zindex-modal + 10; +@link-color: saturate(@fl-primary-color, 10%); @link-hover-color: @link-color; // ---------------------------------