File tree 2 files changed +7
-14
lines changed
src/pydata_sphinx_theme/assets/styles/components
2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,10 @@ Here are several examples:
134
134
135
135
.. code :: css
136
136
137
- i .fa-twitter- square :before {
137
+ svg .fa-square-twitter {
138
138
color : #55acee ;
139
139
}
140
140
141
- This has already been added for the brands that have *shortcuts * (:ref: `see below <icon-link-shortcuts >`).
142
-
143
141
Image icons
144
142
-----------
145
143
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ ul.navbar-icon-links {
35
35
list-style : none ;
36
36
37
37
// Icons styling
38
- i {
38
+ svg {
39
39
& .fa-brands ,
40
40
& .fa-regular ,
41
41
& .fa-solid {
@@ -44,18 +44,13 @@ ul.navbar-icon-links {
44
44
font-size : var (--pst-font-size-icon );
45
45
}
46
46
47
- /* Social media buttons hard-code the brand color */
48
- & .fa-square-twitter ::before {
49
- color : #55acee ;
50
- }
47
+ /* We no longer color the social media icons in their brand colors (makes a11y harder)
48
+ but this one is left in as an example in case we decide to go back to it someday:
51
49
52
- & .fa-square-gitlab ::before {
53
- color : #548 ;
54
- }
55
-
56
- & .fa-bitbucket ::before {
57
- color : #0052cc ;
50
+ &.fa-square-twitter {
51
+ color: #55acee;
58
52
}
53
+ */
59
54
}
60
55
61
56
// Force images to be icon-sized
You can’t perform that action at this time.
0 commit comments