forked from pydata/pydata-sphinx-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_icon-links.scss
54 lines (45 loc) · 1006 Bytes
/
_icon-links.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/**
* Icon links in the navbar
*/
#navbar-icon-links {
i {
&.fa-brands,
&.fa-regular,
&.fa-solid {
vertical-align: middle;
font-style: normal;
font-size: var(--pst-font-size-icon);
}
/* Social media buttons */
&.fa-square-twitter:before {
color: #55acee;
}
&.fa-square-gitlab:before {
color: #548;
}
&.fa-bitbucket:before {
color: #0052cc;
}
}
img.icon-link-image {
height: 1.5em;
border-radius: 0.2rem;
}
li:first-child a {
padding-left: 0;
}
a span {
display: flex;
align-items: center;
}
// inline the element in the navbar as long as they fit and use display block when collapsing
// One breakpoint less than $breakpoint-sidebar-primary.
// See variables/_layout.scss for more info.
@include media-breakpoint-down(lg) {
flex-direction: row;
// Use Bootstrap padding for these nav links to get the spacing right
a {
padding: 0rem 0.5rem;
}
}
}