Skip to content

Commit

Permalink
MAINT: rename icons section to avoid adblock filtering (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz authored Mar 29, 2023
1 parent 0e2c573 commit 52c3362
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/theme-css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ blockquote p {
max-width: 50vw;
}

.social-media-icons {
.community-icons {
width: 100%;
}
}
Expand All @@ -308,12 +308,12 @@ svg.icon {
width: 1.5rem;
}

#footer .social-media-icons {
#footer .community-icons {
/* Icon size slightly enlargened for footer */
font-size: 2.3em;
}

#footer .social-media-icons a {
#footer .community-icons a {
display: inline-block;
}

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="footer-actions">
{{ partial "footer_actions.html" . }}
<nav class="level is-mobile">
<div class="social-media-icons">
<div class="community-icons">
{{- range $socialMedia }}
<a class="level-item" href="{{ .link }}" aria-label="{{ .link }}">
{{if .icon -}}
Expand Down

0 comments on commit 52c3362

Please sign in to comment.