Skip to content

Commit

Permalink
smaller line height
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Sep 24, 2021
1 parent f25a07d commit ad82501
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pydata_sphinx_theme/_templates/prev-next.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<a class='left-prev' id="prev-link" href="{{ prev.link|e }}" title="{{ _('previous page')}}">
<i class="fas fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">{{ _("previous") }}</p>
<p class="prev-next-subtitle">{{ _("Previous") }}</p>
<p class="prev-next-title">{{ prev_title or prev.title }}</p>
</div>
</a>
{%- endif %}
{%- if next %}
<a class='right-next' id="next-link" href="{{ next.link|e }}" title="{{ _('next page')}}">
<div class="prev-next-info">
<p class="prev-next-subtitle">{{ _("next") }}</p>
<p class="prev-next-subtitle">{{ _("Next") }}</p>
<p class="prev-next-title">{{ next_title or next.title }}</p>
</div>
<i class="fas fa-angle-right"></i>
Expand Down

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pydata_sphinx_theme/static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

{% macro head_pre_bootstrap() %}
<link href="{{ pathto('_static/css/theme.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.a6b4cf70a86b6e360c0e7a41453f57f9.css', 1) }}" rel="stylesheet">
<link href="{{ pathto('_static/css/index.66fed9a9545f346acbb042e1100de198.css', 1) }}" rel="stylesheet">
{% endmacro %}

{% macro head_js_preload() %}
<link rel="preload" as="script" href="{{ pathto('_static/js/index.3fb10fcb92f005a2548e.js', 1) }}">
<link rel="preload" as="script" href="{{ pathto('_static/js/index.2695b9dcc2f42fc8b540.js', 1) }}">
{% endmacro %}

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.3fb10fcb92f005a2548e.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.2695b9dcc2f42fc8b540.js', 1) }}"></script>
{% endmacro %}
3 changes: 2 additions & 1 deletion src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ nav.bd-links {
}

i {
font-size: 1.5em;
font-size: 1.2em;
}

a {
Expand All @@ -425,6 +425,7 @@ nav.bd-links {
color: rgba(var(--pst-color-link), 1);
font-weight: 600;
font-size: 1.1em;
line-height: 1.3em;
}

&:hover p.prev-next-title {
Expand Down

0 comments on commit ad82501

Please sign in to comment.