Skip to content

Commit

Permalink
feat: refine article contents styling
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSlug committed Apr 21, 2022
1 parent b014ae1 commit dc4b9cc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/assets/styles/components/_article-contents.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit dc4b9cc

Please sign in to comment.