Skip to content

Commit 61e67c6

Browse files
committed
only apply larger icon font in icon links nav
1 parent 833abcd commit 61e67c6

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
{
7373
"name": "PyPI",
7474
"url": "https://pypi.org/project/pydata-sphinx-theme",
75-
"icon": "fab fa-python",
75+
"icon": "fas fa-box",
7676
}
7777
],
7878
"use_edit_page_button": True,

pydata_sphinx_theme/static/css/index.4eb26a98c046fa117c2b75e31c15adbb.css renamed to pydata_sphinx_theme/static/css/index.d0e3ef91ef9ba09c5d60c16b604721c4.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pydata_sphinx_theme/static/webpack-macros.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
{% macro head_pre_bootstrap() %}
1919
<link href="{{ pathto('_static/css/theme.css', 1) }}" rel="stylesheet" />
20-
<link href="{{ pathto('_static/css/index.4eb26a98c046fa117c2b75e31c15adbb.css', 1) }}" rel="stylesheet" />
20+
<link href="{{ pathto('_static/css/index.d0e3ef91ef9ba09c5d60c16b604721c4.css', 1) }}" rel="stylesheet" />
2121
{% endmacro %}
2222

2323
{% macro head_js_preload() %}
24-
<link rel="preload" as="script" href="{{ pathto('_static/js/index.3edd59071b60732de7f5.js', 1) }}">
24+
<link rel="preload" as="script" href="{{ pathto('_static/js/index.c8d081dbdbc4fffeb613.js', 1) }}">
2525
{% endmacro %}
2626

2727
{% macro body_post() %}
28-
<script src="{{ pathto('_static/js/index.3edd59071b60732de7f5.js', 1) }}"></script>
28+
<script src="{{ pathto('_static/js/index.c8d081dbdbc4fffeb613.js', 1) }}"></script>
2929
{% endmacro %}

src/scss/index.scss

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -425,16 +425,25 @@ table.field-list {
425425
color: #e83e8c;
426426
}
427427

428-
/* Social media buttons */
428+
/* Icon Links */
429429

430-
i {
431-
&.fab {
432-
vertical-align: middle;
433-
font-style: normal;
434-
font-size: 1.5rem;
435-
line-height: 1.25;
430+
#navbar-icon-links {
431+
i {
432+
&.fa,
433+
&.fab,
434+
&.far,
435+
&.fas{
436+
vertical-align: middle;
437+
font-style: normal;
438+
font-size: 1.5rem;
439+
line-height: 1.25;
440+
}
436441
}
442+
}
443+
444+
/* Social media buttons */
437445

446+
i {
438447
&.fa-github-square:before {
439448
color: #333;
440449
}

0 commit comments

Comments
 (0)