[DOCS] fix back to top button (#24884)

This commit is contained in:
Karol Blaszczak 2024-06-07 12:28:41 +02:00 committed by GitHub
parent 852878162d
commit 5faf95018d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 14 deletions

View File

@ -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 */

View File

@ -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;
}
@ -437,21 +437,21 @@ div.highlight {
/* =================================================== */
@media (max-width: 720px) {
.container,
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
max-width: 1850px;
}
.transition-banner {
margin-top: 2rem;
}
}
@media (min-width: 1200px) {
.container,
.container,
.container-lg,
.container-md,
.container-sm,
@ -921,6 +921,7 @@ div.highlight {
/* Content formatting for the benchmark pages */
/* =================================================== */
.picker-options {
margin: 15px 0;
}
@ -1223,7 +1224,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;
}
@ -1307,3 +1308,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;
}