From 70f566ef63343025e2d5d54e89f730c98a5b9eeb Mon Sep 17 00:00:00 2001 From: Ben Klein Date: Mon, 12 Apr 2021 22:53:47 +0000 Subject: [PATCH] client/css/post-main-view: dark uses box-shadow --- client/css/post-main-view.styl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/css/post-main-view.styl b/client/css/post-main-view.styl index 48f3c158..e643dfbd 100644 --- a/client/css/post-main-view.styl +++ b/client/css/post-main-view.styl @@ -27,7 +27,7 @@ padding: 0.3em 0 text-align: center vertical-align: middle - transition: background 0.2s linear + transition: background 0.2s linear, box-shadow 0.2s linear &:not(.inactive):hover background: lighten($main-color, 90%) i @@ -45,6 +45,14 @@ .post-content margin: 0 +.darktheme .post-view + >.sidebar + nav.buttons + article + a:not(.inactive):hover + background: unset + box-shadow: inset 0 0 0 0.3em $main-color + @media (max-width: 800px) .post-view flex-wrap: wrap