File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed
Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff 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 : 6 px 16px ;
300+ padding : 8 px 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 */
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments