-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[misc][doc] try to add warning for latest html (#5979)
- Loading branch information
1 parent
56b325e
commit 27902d4
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<style> | ||
.notification-bar { | ||
width: 100vw; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-size: 16px; | ||
} | ||
.notification-bar p { | ||
margin: 0; | ||
} | ||
.notification-bar a { | ||
font-weight: bold; | ||
text-decoration: none; | ||
} | ||
|
||
/* Light mode styles (default) */ | ||
.notification-bar { | ||
background-color: #fff3cd; | ||
color: #856404; | ||
} | ||
.notification-bar a { | ||
color: #d97706; | ||
} | ||
|
||
/* Dark mode styles */ | ||
html[data-theme=dark] .notification-bar { | ||
background-color: #333; | ||
color: #ddd; | ||
} | ||
html[data-theme=dark] .notification-bar a { | ||
color: #ffa500; /* Brighter color for visibility */ | ||
} | ||
</style> | ||
|
||
<div class="notification-bar"> | ||
<p>You are viewing the latest developer preview docs. <a href="https://docs.vllm.ai/en/stable/">Click here</a> to view docs for the latest stable release.</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters