From 1a8ff11522e92e70ccbf480349cc1a29fe655150 Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 11 Jun 2016 11:27:27 +0200 Subject: [PATCH] client/css: fix border around active post --- client/css/posts.styl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/css/posts.styl b/client/css/posts.styl index 1e058f6..ee7eaed 100644 --- a/client/css/posts.styl +++ b/client/css/posts.styl @@ -157,13 +157,15 @@ $safety-unsafe = #F3985F height: 100% margin: 0 outline-offset: -3px + &:hover background: $main-color .thumbnail opacity: .9 - a - box-shadow: 0 0 0 1px $main-color - a, .thumbnail + + &:hover a, a:active, a:focus + box-shadow: 0 0 0 1px $main-color + .thumbnail outline: 3px solid $main-color .post-list-header