From dc4b9ccd3ac13b220b63bd4b0a942cee20e4aa3c Mon Sep 17 00:00:00 2001 From: BlueSlug Date: Thu, 21 Apr 2022 01:02:22 -0400 Subject: [PATCH] feat: refine article contents styling --- src/assets/styles/components/_article-contents.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/assets/styles/components/_article-contents.scss b/src/assets/styles/components/_article-contents.scss index 5f5eec40..3ebbd988 100644 --- a/src/assets/styles/components/_article-contents.scss +++ b/src/assets/styles/components/_article-contents.scss @@ -1,7 +1,15 @@ .article-contents { background-color: $sectionBGColour; - border: 0.3125rem solid $articleContentsBorderColour; + border: 0.125rem dashed $articleContentsBorderColour; margin-block: 3rem; + padding: 0.1875rem; + + &[open], + &:focus, + &:hover { + border: 0.3125rem solid $articleContentsBorderColour; + padding: 0; + } &[open] { padding-block-end: 1rem;