Skip to content

Commit 63c9402

Browse files
Merge pull request #1466 from run-ai/deprecate-2.17
Deprecated 2.17
2 parents 50d30f6 + 2b8783b commit 63c9402

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

docs/stylesheets/extra.css

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -291,30 +291,21 @@ html .md-nav__button.md-logo img {
291291

292292
/* Top banner */
293293
.banner {
294-
position: sticky;
294+
position: fixed;
295295
top: 0;
296-
z-index: 1001;
296+
left: 0;
297+
width: 100%;
298+
z-index: 9999; /* Ensure it's above the header */
297299
background-color: #76B900;
298-
padding: 6px 16px;
300+
padding: 8px 16px;
299301
font-family: 'Roboto', sans-serif;
300302
font-weight: 600;
301303
font-size: 14px;
302304
color: white;
303-
display: flex;
304-
justify-content: center;
305-
align-items: center;
306-
gap: 12px;
307-
}
308-
309-
.banner a {
310-
background-color: black;
311-
color: white;
312-
padding: 4px 10px;
313-
text-decoration: none;
314-
border-radius: 4px;
315-
font-size: 14px;
316-
font-weight: 600;
317-
}
305+
text-align: center;
306+
}
307+
308+
/* Remove old .banner a styles */
318309

319310

320311
/* Sidebar: Default all links to black */

overrides/main.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323

2424
<!-- Custom Banner -->
2525
<div class="banner">
26-
<span>Explore our new and improved documentation!</span>
27-
<a href="https://docshub.run.ai" target="_blank">Learn more</a>
26+
Version 2.17 has been deprecated
2827
</div>
2928

3029

0 commit comments

Comments
 (0)