diff --git a/docs/source/_templates/_static/css/ignite_theme.css b/docs/source/_templates/_static/css/ignite_theme.css index 0c90f920b285..656a7d308ffe 100644 --- a/docs/source/_templates/_static/css/ignite_theme.css +++ b/docs/source/_templates/_static/css/ignite_theme.css @@ -161,3 +161,10 @@ article.pytorch-article div.highlight pre { font-style: italic; font-weight: bold; } + +/* Footer */ + +footer table { + width: 100%; + margin-bottom: 1rem; +} diff --git a/docs/source/_templates/footer.html b/docs/source/_templates/footer.html index e607dd5ee687..f8d971de5628 100644 --- a/docs/source/_templates/footer.html +++ b/docs/source/_templates/footer.html @@ -32,45 +32,55 @@ {% endif %}
-

- {%- if show_copyright %} - {%- if hasdoc('copyright') %} - {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} - {%- else %} - {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} - {%- endif %} - {%- endif %} + + + + + +
+

+ {%- if show_copyright %} + {%- if hasdoc('copyright') %} + {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} + {%- else %} + {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} + {%- endif %} + {%- endif %} - {%- if build_id and build_url %} - {% trans build_url=build_url, build_id=build_id %} - - Build - {{ build_id }}. - - {% endtrans %} - {%- elif commit %} - {% trans commit=commit %} - - Revision {{ commit }}. - - {% endtrans %} - {%- elif last_updated %} - {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} - {%- endif %} + {%- if build_id and build_url %} + {% trans build_url=build_url, build_id=build_id %} + + Build + {{ build_id }}. + + {% endtrans %} + {%- elif commit %} + {% trans commit=commit %} + + Revision {{ commit }}. + + {% endtrans %} + {%- elif last_updated %} + {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} + {%- endif %} +

- {%- if show_netlify_badge %} - {% trans %} - Deploys by Netlify -
- {% endtrans %} - {%- endif %} - - {%- if show_sphinx %} - {% trans %} - Built with Sphinx using a theme provided by Read the Docs. - {% endtrans %} - {%- endif %} -

+ {%- if show_sphinx %} + {% trans %} +
+ Built with Sphinx using a theme provided by Read the Docs. +
+ {% endtrans %} + {%- endif %} +
+ {%- if show_netlify_badge %} + {% trans %} +
+ Deploys by Netlify +
+ {% endtrans %} + {%- endif %} +

{%- block extrafooter %} {% endblock %}