diff --git a/docs/openvino_sphinx_theme/openvino_sphinx_theme/static/css/openvino_sphinx_theme.css b/docs/openvino_sphinx_theme/openvino_sphinx_theme/static/css/openvino_sphinx_theme.css index b180a5a096e..8c038c79554 100644 --- a/docs/openvino_sphinx_theme/openvino_sphinx_theme/static/css/openvino_sphinx_theme.css +++ b/docs/openvino_sphinx_theme/openvino_sphinx_theme/static/css/openvino_sphinx_theme.css @@ -55,13 +55,6 @@ body { border-color: rgb(var(--ost-color-primary)); } -/* Scrollbox Extension */ - -.scrollbox { - overflow-y:scroll; - height:300px; - margin-bottom: 20px; -} /* Syntax Highlighting */ diff --git a/docs/sphinx_setup/_static/css/custom.css b/docs/sphinx_setup/_static/css/custom.css index 49bcc5e3b73..3e8ab187485 100644 --- a/docs/sphinx_setup/_static/css/custom.css +++ b/docs/sphinx_setup/_static/css/custom.css @@ -129,7 +129,7 @@ nav.bd-links li > a:hover { text-decoration: underline } -ul#navbar-main-elements > li:hover { +ul#navbar-main-elements > li:hover { text-decoration: underline; color: #fff; } @@ -223,7 +223,7 @@ details.sd-dropdown:not([open]).sd-card { /* Ttile is at the same place for both open and close states */ .sd-card-header { border-radius: 0px !important; - + } /* Ttile is at the same place for both open and close states */ @@ -262,7 +262,7 @@ details.sd-dropdown .sd-summary-title { min-width: 125px!important; } -[aria-labelledby="version-selector"] .dropdown-item { +[aria-labelledby="version-selector"] .dropdown-item { padding: 0.25rem 0.5rem!important; } @@ -434,7 +434,7 @@ div.highlight { } @media (min-width: 1200px) { - .container, + .container, .container-lg, .container-md, .container-sm, @@ -904,6 +904,7 @@ div.highlight { /* Content formatting for the benchmark pages */ +/* =================================================== */ .picker-options { margin: 15px 0; } @@ -1206,7 +1207,7 @@ table#model-accuracy-and-perf-int8-fp32-table td.data { .newsletter-submit-btn:before { font-family: "Font Awesome 5 Free"; - content: "\f0e0\00a0"; + content: "\f0e0\00a0"; font-size: 1rem; } @@ -1290,3 +1291,29 @@ input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px white inset; } +/* Scrollbox Extension */ +/* =================================================== */ +.scrollbox { + overflow-y:scroll; + height:300px; + margin-bottom: 20px; +} + +/* overriding the 'back to top btn' style from webpack://pydata_sphinx_theme/src/pydata_sphinx_theme/assets/styles/base/_base.scss */ +/* =================================================== */ +#pst-back-to-top { + top: unset; + bottom: 3rem; + left: unset; + right: -2rem; + background-color: #0068b5; + font-size: .8rem; + border-radius: .25rem !important; +} + +/* hide the header for the side menu */ +/* =================================================== */ + +nav.bd-links p.bd-links__title { + display: none; +} \ No newline at end of file