UpdateBanner.vue 688 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <script setup lang="ts"></script>
  2. <template>
  3. <div class="update-banner">
  4. You are reading Tres v1 docs. Head over <a href="https://tresjs.org/">tresjs.org</a> for V2 docs.
  5. </div>
  6. </template>
  7. <style>
  8. .update-banner {
  9. position: fixed;
  10. width: 100%;
  11. background-color: #94f7de;
  12. border-bottom: 1px solid #82dbc5;
  13. padding: 1rem 2rem;
  14. text-align: center;
  15. font-size: 0.875rem;
  16. height: 64px;
  17. z-index: 999;
  18. }
  19. .update-banner a {
  20. color: #377666;
  21. text-decoration: underline;
  22. font-weight: 600;
  23. }
  24. .VPNavBar,
  25. .VPNav {
  26. background-color: white;
  27. top: 64px;
  28. }
  29. .VPSidebar {
  30. top: 128px !important;
  31. }
  32. .VPContent.has-sidebar {
  33. padding-top: 128px !important;
  34. }
  35. </style>