diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 843122fd2..d605f20a4 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -17,38 +17,37 @@
-
-
{{ _('Versions') }}
+

{{ _('Versions') }}

+
-
-
{{ _('Downloads') }}
-
PDF
-
ePub
-
HTML
-
-
- {#- Translators: The phrase "Read the Docs" is not translated #} -
{{ _('On Read the Docs') }}
-
- {{ _('Project Home') }} -
-
- {{ _('Builds') }} -
-
-
-
Debug
-
Swap badge position
-
+ + +

{{ _('Downloads') }}

+ + + {#- Translators: The phrase "Read the Docs" is not translated #} +

{{ _('On Read the Docs') }}

+ + +

Debug

+
{%- endif %} diff --git a/sphinx_rtd_theme/versions.html b/sphinx_rtd_theme/versions.html index bab969e64..95a085d47 100644 --- a/sphinx_rtd_theme/versions.html +++ b/sphinx_rtd_theme/versions.html @@ -7,28 +7,26 @@
-
-
{{ _('Versions') }}
+

{{ _('Versions') }}

+
-
-
{{ _('Downloads') }}
+ + +

{{ _('Downloads') }}

+
-
+ + +

{{ _('On Read the Docs') }}

+
+
  • {{ _('Project Home') }}
  • +
  • {{ _('Builds') }}
  • +
    {% endif %} diff --git a/src/sass/_theme_badge.sass b/src/sass/_theme_badge.sass index b24ec10f4..c42e4d4ce 100644 --- a/src/sass/_theme_badge.sass +++ b/src/sass/_theme_badge.sass @@ -51,7 +51,7 @@ margin: 20px 0 padding: 0 border-top: solid 1px lighten($menu-background-color, 5%) - dd + li display: inline-block margin: 0 a @@ -85,6 +85,9 @@ padding: 0 $base-line-height / 4 display: block text-align: center + h3 + margin-bottom: 0 + color: $nav-caption +media($tablet) .rst-versions