Skip to content

Commit

Permalink
update scss accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed Jan 22, 2025
1 parent d2f1f7a commit 81866db
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions src/pydata_sphinx_theme/assets/styles/components/_icon-links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ul.navbar-icon-links {
list-style: none;

// Icons styling
i {
svg {
&.fa-brands,
&.fa-regular,
&.fa-solid {
Expand All @@ -44,18 +44,13 @@ ul.navbar-icon-links {
font-size: var(--pst-font-size-icon);
}

/* Social media buttons hard-code the brand color */
&.fa-square-twitter::before {
color: #55acee;
}
/* We no longer color the social media icons in their brand colors (makes a11y harder)
but this one is left in as an example in case we decide to go back to it someday:
&.fa-square-gitlab::before {
color: #548;
}

&.fa-bitbucket::before {
color: #0052cc;
&.fa-square-twitter {
color: #55acee;
}
*/
}

// Force images to be icon-sized
Expand Down

0 comments on commit 81866db

Please sign in to comment.