diff --git a/assets/hb/modules/blog/scss/_authors.scss b/assets/hb/modules/blog/scss/_authors.scss new file mode 100644 index 00000000..b43bf797 --- /dev/null +++ b/assets/hb/modules/blog/scss/_authors.scss @@ -0,0 +1,15 @@ +.hb-blog-term-profile, +.hb-blog-term-author { + .hb-social { + color: var(--#{$prefix}body-color); + + &:hover { + color: var(--#{$prefix}primary); + } + } +} + +.hb-blog-term-img { + height: 100px; + width: 100px; +} diff --git a/assets/hb/modules/blog/scss/_sidebar.scss b/assets/hb/modules/blog/scss/_sidebar.scss index f753f8f7..e82d9a0f 100644 --- a/assets/hb/modules/blog/scss/_sidebar.scss +++ b/assets/hb/modules/blog/scss/_sidebar.scss @@ -25,6 +25,12 @@ @include top-offset(sticky); } + + .hb-module { + &:last-child { + margin-bottom: 0 !important; + } + } } .hb-blog-main { diff --git a/assets/hb/modules/blog/scss/_terms.scss b/assets/hb/modules/blog/scss/_terms.scss index 91989927..be7ace2a 100644 --- a/assets/hb/modules/blog/scss/_terms.scss +++ b/assets/hb/modules/blog/scss/_terms.scss @@ -42,19 +42,3 @@ $hb-terms-colors: ($warning, $success, $danger); } } } - -.hb-blog-term-profile, -.hb-blog-term-author { - .hb-social { - color: var(--#{$prefix}body-color); - - &:hover { - color: var(--#{$prefix}primary); - } - } -} - -.hb-blog-term-img { - height: 100px; - width: 100px; -} diff --git a/assets/hb/modules/blog/scss/index.scss b/assets/hb/modules/blog/scss/index.scss index 33fe5ec1..1d9c7b89 100644 --- a/assets/hb/modules/blog/scss/index.scss +++ b/assets/hb/modules/blog/scss/index.scss @@ -1,4 +1,5 @@ @import "archives"; +@import "authors"; @import "home"; @import "post"; @import "sidebar"; diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 4d617445..161289cc 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -18,7 +18,7 @@ {{ partial "hb/modules/pagination/index" .Paginator }} {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-end" "Page" .) }} -
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 198ff025..5b37dac4 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,7 +1,7 @@ {{- define "main" }} -