Skip to content

Commit

Permalink
Added feature to customize hover links color in footer (daattali#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorD90 authored Oct 10, 2021
1 parent 8c6dc0f commit c2bcdce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- Added Reddit in share options of posts (#815)
- Fixed bug where staticman didn't work jQuery slim version is used (#766)
- Fixed very long strings to wrap around the next line rather than go off-screen (#787)
- Added `footer-hover-col` config setting to customize the hover colour of links in the footer (#848)

## v5.0.0 (2020-09-15)

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ hover-col: "#0085A1"
footer-col: "#EAEAEA"
footer-text-col: "#777777"
footer-link-col: "#404040"
footer-hover-col: "#0085A1"

# Alternatively, the navbar, footer, and page background can be set to an image
# instead of colour
Expand Down
5 changes: 5 additions & 0 deletions assets/css/beautifuljekyll.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,11 @@ footer a {
color: {{ site.footer-link-col | default: "#404040" }};
}

footer a:hover,
footer a:focus {
color: {{ site.footer-hover-col | default: "#0085A1" }};
}

footer .list-inline {
margin: 0;
padding: 0;
Expand Down

0 comments on commit c2bcdce

Please sign in to comment.