From 2ac15db91b61aeec4c43f16d82938e47ad70eea9 Mon Sep 17 00:00:00 2001 From: David Lapshin Date: Thu, 2 May 2024 21:50:24 +0300 Subject: [PATCH] Improve the look of drafted post entries --- sass/_blog-list.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sass/_blog-list.scss b/sass/_blog-list.scss index a1ad6b7..6c66edf 100644 --- a/sass/_blog-list.scss +++ b/sass/_blog-list.scss @@ -3,9 +3,19 @@ position: relative; &.draft { + scale: 0.95; + opacity: 0.6; + transition: var(--transition); outline: 2px dashed var(--fg-muted-2); - outline-offset: 0.5rem; + outline-offset: 1rem; border-radius: 1rem; + + &:hover { + scale: 1; + opacity: 1; + outline: 2px dashed transparent; + outline-offset: 0; + } } .draft-badge,