Skip to content

Commit

Permalink
better variables author sass
Browse files Browse the repository at this point in the history
  • Loading branch information
sebousan committed Feb 13, 2023
1 parent 0da721b commit 82819d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions assets/sass/components/_author.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ article.author
@extend .person

aside.author
--bs-card-bg: #{$light}
--bs-card-border-width: 0
@extend .card
background-color: $light
.media
padding-left: $card-spacer-x
padding-top: $card-spacer-y
margin-bottom: calc(#{$card-spacer-y} / -2)
background-color: transparent
margin-bottom: calc(var(--bs-card-spacer-y) / -1)
padding-left: var(--bs-card-spacer-x)
padding-top: var(--bs-card-spacer-y)
&::before
content: none
> *
position: relative
height: auto
margin-bottom: .5em
position: relative
width: auto
.description
@extend .small
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hugolify-theme-posts-authors",
"version": "1.0.3",
"version": "1.0.4",
"homepage": "https://www.hugolify.com",
"repository": "https://github.com/hugolify/hugolify-theme-posts-authors",
"bugs": {
Expand Down

0 comments on commit 82819d2

Please sign in to comment.