Skip to content

Commit

Permalink
Merge pull request #34 from kmpaul/main
Browse files Browse the repository at this point in the history
Visual niceties
  • Loading branch information
Kevin Paul authored Jan 12, 2022
2 parents 1ad2652 + b675341 commit 528c4d0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 41 deletions.
31 changes: 0 additions & 31 deletions sphinx_pythia_theme/docs-navbar.html

This file was deleted.

2 changes: 1 addition & 1 deletion sphinx_pythia_theme/footer-extra.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{%- if theme_extra_footer %}
<div class="container-fluid footer-extra">
<div class="container">
<div class="container-xl">
<div class="row">
<p class="m-0">
{{ theme_extra_footer }}
Expand Down
2 changes: 1 addition & 1 deletion sphinx_pythia_theme/footer-info.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="container-fluid footer-info">
<div class="container">
<div class="container-xl">
<div class="d-flex justify-content-center">
<p class="py-1 m-0">
{%- if show_copyright %}
Expand Down
12 changes: 7 additions & 5 deletions sphinx_pythia_theme/footer-logos.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{%- if theme_footer_logos %}
<div class="container-fluid footer-logos">
<div class="row d-flex flex-wrap align-items-center">
{%- for key in theme_footer_logos %}
<div class="d-flex col-lg-3 col-md-4 col-sm-6 p-2 mx-auto">
<img alt="{{ key }}" src="{{ pathto(theme_footer_logos[key], 1) }}" style="width: 100%">
<div class="container-xl">
<div class="row d-flex flex-wrap align-items-center">
{%- for key in theme_footer_logos %}
<div class="d-flex col-lg-3 col-md-4 col-sm-6 p-2 mx-auto">
<img alt="{{ key }}" src="{{ pathto(theme_footer_logos[key], 1) }}" style="width: 100%">
</div>
{%- endfor %}
</div>
{%- endfor %}
</div>
</div>
{%- endif %}
2 changes: 1 addition & 1 deletion sphinx_pythia_theme/footer-menu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% if theme_footer_menu %}
<div class="container-fluid footer-menu pt-4">
<div class="container">
<div class="container-xl">
<div class="row justify-content-center">
{% for column in theme_footer_menu %}
{% set col_title = column.get('title', '') %}
Expand Down
2 changes: 1 addition & 1 deletion sphinx_pythia_theme/static/sphinx-pythia-theme.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/scss/_pydata-sphinx-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
}

.prev-next-area {
margin: 2rem 0 0 0;
margin: 2rem auto 0 auto;
border-top: 1px solid rgba(var(--spt-color-gray-300), 1);
max-width: $document-width;
i {
font-size: 1.1rem;
color: rgba(var(--spt-color-gray-600), 1);
Expand Down

0 comments on commit 528c4d0

Please sign in to comment.