From 6e49e89be077ba0724b6e1ab9207c54b2c69d09c Mon Sep 17 00:00:00 2001 From: Timur Usenko Date: Mon, 5 Sep 2022 21:14:08 +0300 Subject: [PATCH] Improve docs styles --- _theme/tarantool-site/elements.html | 103 +++++----- _theme/tarantool-site/layout.html | 75 +++++-- _theme/tarantool-site/page.html | 40 +--- _theme/tarantool-site/searchbox.html | 2 +- .../tarantool-site/static/css/doc-fixes.css | 43 ++-- .../images/doc-footer/footer-facebook-red.svg | 4 + .../images/doc-footer/footer-facebook.svg | 4 + .../images/doc-footer/footer-github-red.svg | 4 + .../images/doc-footer/footer-github.svg | 4 + .../doc-footer/footer-instagram-red.svg | 5 + .../images/doc-footer/footer-instagram.svg | 5 + .../images/doc-footer/footer-linkedin-red.svg | 5 + .../images/doc-footer/footer-linkedin.svg | 5 + .../images/doc-footer/footer-so-red.svg | 5 + .../static/images/doc-footer/footer-so.svg | 5 + .../images/doc-footer/footer-telegram-red.svg | 6 + .../images/doc-footer/footer-telegram.svg | 6 + .../images/doc-footer/footer-twitter-red.svg | 4 + .../images/doc-footer/footer-twitter.svg | 4 + .../static/images/logo-tarantool-doc-full.svg | 13 ++ .../images/logo-tarantool-doc-small.svg | 4 + .../static/images/logo-tarantool-full.svg | 14 ++ .../static/images/logo-tarantool-small.svg | 5 + .../tarantool-site/static/js/brushup-doc.js | 159 +++++++++++++++ .../static/js/doc-header-menu.js | 42 ++++ _theme/tarantool-site/static/js/headers.js | 144 -------------- _theme/tarantool-site/static/js/jquery.js | 2 + _theme/tarantool-site/static/js/jquery.min.js | 4 - .../static/js/jquery.scrollTo.min.js | 7 + _theme/tarantool-site/static/js/left-menu.js | 80 ++++++++ .../tarantool-site/static/js/menu-toggle.js | 95 +++++++++ _theme/tarantool-site/static/js/right-menu.js | 185 ++++++++++++++++++ .../static/js/version-switcher.js | 29 +++ 33 files changed, 833 insertions(+), 279 deletions(-) create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-facebook-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-facebook.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-github-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-github.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-instagram-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-instagram.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-linkedin-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-linkedin.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-so-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-so.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-telegram-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-telegram.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-twitter-red.svg create mode 100644 _theme/tarantool-site/static/images/doc-footer/footer-twitter.svg create mode 100644 _theme/tarantool-site/static/images/logo-tarantool-doc-full.svg create mode 100644 _theme/tarantool-site/static/images/logo-tarantool-doc-small.svg create mode 100644 _theme/tarantool-site/static/images/logo-tarantool-full.svg create mode 100644 _theme/tarantool-site/static/images/logo-tarantool-small.svg create mode 100644 _theme/tarantool-site/static/js/brushup-doc.js create mode 100644 _theme/tarantool-site/static/js/doc-header-menu.js delete mode 100644 _theme/tarantool-site/static/js/headers.js create mode 100644 _theme/tarantool-site/static/js/jquery.js delete mode 100644 _theme/tarantool-site/static/js/jquery.min.js create mode 100644 _theme/tarantool-site/static/js/jquery.scrollTo.min.js create mode 100644 _theme/tarantool-site/static/js/left-menu.js create mode 100644 _theme/tarantool-site/static/js/menu-toggle.js create mode 100644 _theme/tarantool-site/static/js/right-menu.js create mode 100644 _theme/tarantool-site/static/js/version-switcher.js diff --git a/_theme/tarantool-site/elements.html b/_theme/tarantool-site/elements.html index 1ec780eee1..0d90461d6f 100644 --- a/_theme/tarantool-site/elements.html +++ b/_theme/tarantool-site/elements.html @@ -106,7 +106,7 @@ {% endmacro %} -{% macro versionswitcher() %} +{% macro version_switcher() %}
@@ -132,9 +132,6 @@

Version:

{% macro regular_page_header() %}
{{- page_path() -}} -
-
-
{% endmacro %} @@ -278,55 +275,69 @@

Version:

{% endmacro %} {% macro i_header() %} -
-
-
- -
- -
-
-
- +
+
+
+
+
+
+
-
-
- + +
+ + +
-
+
+
{% endmacro %} {% macro i_footer() %} -