File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed
Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" old-document" >
33 <p >
4- This documentation covers Vite 5 <strong >(old version)</strong >. For the
4+ This documentation covers Vite 2 <strong >(old version)</strong >. For the
55 latest version, see
66 <a href =" https://vite.dev" class =" new-document-link" >https://vite.dev</a >.
77 </p >
1919 padding : 4px 32px ;
2020 justify-content : center ;
2121 align-items : center ;
22- color : var (--vp- c-text-1 );
23- background : var (--vp- c-brand-lightest );
24- z-index : var (--vp- z-index-layout-top );
22+ color : var (--c-text );
23+ background : var (--c-brand-lightest );
24+ z-index : calc ( var (--z-index-navbar ) + 1 );
2525
2626 .new-document-link {
2727 text-decoration : underline ;
28- color : var (--vp- c-text-1 );
28+ color : var (--c-text );
2929 &:hover {
30- color : var (--vp- c-text-2 );
30+ color : var (--c-text-light );
3131 }
3232 }
3333}
34- .dark {
35- .old-document {
36- background : var (--vp-c-brand-darker );
37- }
38- }
3934 </style >
Original file line number Diff line number Diff line change 1919: root {
2020 --c-brand : # 646cff ;
2121 --c-brand-light : # 747bff ;
22+ --c-brand-lightest : # bcc0ff ;
2223}
2324
2425.custom-block .tip {
4546 @media (min-width : 455px ) {
4647 --vp-layout-top-height : 64px ;
4748 }
48- @media (min-width : 960 px ) {
49+ @media (min-width : 768 px ) {
4950 --vp-layout-top-height : 32px ;
5051 }
5152
5253 --header-height : calc (3.6rem + var (--vp-layout-top-height ));
5354}
5455
5556.nav-bar {
56- padding-top : var (--vp-layout-top-height );
57+ padding-top : calc ( 0.7 rem + var (--vp-layout-top-height )) !important ;
5758}
5859.sidebar-button {
5960 top : calc (0.6rem + var (--vp-layout-top-height ));
You can’t perform that action at this time.
0 commit comments