Skip to content

Commit

Permalink
Customize <hr> style in dark mode
Browse files Browse the repository at this point in the history
This reverts commit 1180517b9d082a47d224caf25ccd26817d0bc4e6.
  • Loading branch information
danguita committed Jul 25, 2023
1 parent c69f713 commit b15c676
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion source/assets/stylesheets/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,17 @@ html {
}

hr {
border-bottom: $base-border;
border-bottom: 1px solid $base-border-color;
border-left: 0;
border-right: 0;
border-top: 0;
box-sizing: content-box;
height: 0;
margin: 0 0 $base-spacing;

@include dark-color-scheme {
border-color: $base-border-color--dark;
}
}

img,
Expand Down
1 change: 0 additions & 1 deletion source/assets/stylesheets/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ $base-font-size: 16px;
$base-line-height: 1.5;

$base-spacing: 1.5rem;
$base-border: 1px solid $base-border-color;

// Headings
$heading-font-family: $font-family-monospace;
Expand Down

0 comments on commit b15c676

Please sign in to comment.