diff --git a/_shared_assets/themes/nextcloud_com/layout.html b/_shared_assets/themes/nextcloud_com/layout.html index c999603f1..e57f01e50 100644 --- a/_shared_assets/themes/nextcloud_com/layout.html +++ b/_shared_assets/themes/nextcloud_com/layout.html @@ -144,10 +144,16 @@
-
+

{{ project|e }}

+
+ Versions: + {%- for v in doc_versions %} + {{v}} + {%- endfor %} +
-
+
{% if theme_show_search %}
diff --git a/_shared_assets/themes/nextcloud_com/relations.html b/_shared_assets/themes/nextcloud_com/relations.html index f7cbd2af9..b4c4fe091 100644 --- a/_shared_assets/themes/nextcloud_com/relations.html +++ b/_shared_assets/themes/nextcloud_com/relations.html @@ -6,7 +6,7 @@ {%- endif %} @@ -14,7 +14,7 @@ {%- endif %} diff --git a/_shared_assets/themes/nextcloud_com/static/styles.css b/_shared_assets/themes/nextcloud_com/static/styles.css index 8f55a8c5c..81e9e72d9 100644 --- a/_shared_assets/themes/nextcloud_com/static/styles.css +++ b/_shared_assets/themes/nextcloud_com/static/styles.css @@ -975,7 +975,7 @@ img.desaturate { background-size: cover; -o-background-size: cover; /* border: 0px; */ - /* min-height: 450px; background-position: 35% 40%; */ + /* min-height: 450px; background-position: 35% 40%; */ position: relative; margin-left: 0px !important; margin-right: 0px !important; @@ -1020,7 +1020,7 @@ img.desaturate { @media (max-width: 767px) { .ft-everywhere-img { - /* height: auto; */ + /* height: auto; */ width: 20%; right: 5%; } @@ -1060,9 +1060,9 @@ img.desaturate { top: 30%; left: 45%; margin-top: 10px; - /* width: 0px; */ - /* height: 0px; */ - /* padding: 50%; */ + /* width: 0px; */ + /* height: 0px; */ + /* padding: 50%; */ } .youtube i { @@ -1129,11 +1129,6 @@ a.headerlink { #menu-support.menu ul ul ul { list-style-type: square; } -/* having a separator between each elements of the top list and - between above the top of the third level list */ -#menu-support.menu ul ul ul { - border-top: 1px solid #EFEFEF; -} .terminal-image { box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.3); @@ -1203,3 +1198,15 @@ li > dl > dt { background: #ddd; border-radius: 50%; } + +/* Version switcher */ + +.doc-version-switch a { + padding: 3px; + margin-left:10px; + display: inline-block; +} +.doc-version-switch .current-doc { + font-weight: 900; +} + diff --git a/_shared_assets/themes/nextcloud_release/layout.html b/_shared_assets/themes/nextcloud_release/layout.html index acbec5584..19087209b 100644 --- a/_shared_assets/themes/nextcloud_release/layout.html +++ b/_shared_assets/themes/nextcloud_release/layout.html @@ -100,25 +100,23 @@
-
-
- {% if theme_show_search %} - - - - - {% endif %} -
-
{% block sidebartoc %}