From 68b8748c9fd8341b438e4c3e2b61cb4a5f542154 Mon Sep 17 00:00:00 2001 From: bstankix Date: Thu, 6 Jul 2023 08:25:46 +0200 Subject: [PATCH] [DOCS] Add global footer port: https://github.com/openvinotoolkit/openvino/pull/18374 --- docs/_static/css/custom.css | 24 +++++++++++-------- .../templates/footer.html | 3 +++ .../templates/footer_info.html | 8 ------- 3 files changed, 17 insertions(+), 18 deletions(-) create mode 100644 docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer.html delete mode 100644 docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index 392d7aff4975fe..8a6e30ed4eb9cc 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -100,23 +100,27 @@ ul#navbar-main-elements > li:hover { transform: rotate(0deg); } - -/* Footer links */ +/* Footer */ /* =================================================== */ -footer div.container div.footer-item p a { - float: left; - margin-right: 30px; +footer iframe { + background-color: white; + width: 100%; + border: none; + height: 60px; } -footer div.container div.footer-item p a:nth-child(1) { - margin-right: 50px; +@media screen and (min-width: 860px) { + footer iframe { + height: 45px; + } } -footer div.container div.footer-item p:nth-child(2) { - clear: both; +@media screen and (max-width: 520px) { + footer iframe { + height: 85px; + } } - /* Doc version dropdown formatting override */ /* =================================================== */ [aria-labelledby="version-selector"] { diff --git a/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer.html b/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer.html new file mode 100644 index 00000000000000..c090fdf9a16206 --- /dev/null +++ b/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer.html @@ -0,0 +1,3 @@ + diff --git a/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html b/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html deleted file mode 100644 index 7cd486bab7194d..00000000000000 --- a/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html +++ /dev/null @@ -1,8 +0,0 @@ -

- ©2023 Intel Corporation - Terms of Use - Cookies - Privacy - Do Not Share My Personal Information -

-

Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Other names and brands may be claimed as the property of others.

\ No newline at end of file