@ -303,7 +303,7 @@
position : relative ;
position : relative ;
z-index : 1 ;
z-index : 1 ;
margin : 0 ;
margin : 0 ;
padding : 1 4 px 24px ;
padding : 1 6 px 24px ;
background : transparent ;
background : transparent ;
overflow-x : auto ;
overflow-x : auto ;
}
}
@ -322,49 +322,49 @@
top : 0 ;
top : 0 ;
bottom : 0 ;
bottom : 0 ;
left : 0 ;
left : 0 ;
padding : 13px 0 11 px;
padding -top: 16 px;
width : 100 % ;
width : 100 % ;
font-family : var ( --vp-font-family-mono ) ;
line-height : var ( --vp-code-line-height ) ;
line-height : var ( --vp-code-line-height ) ;
font-family : var ( --vp-font-family-mono ) ;
font-size : var ( --vp-code-font-size ) ;
font-size : var ( --vp-code-font-size ) ;
user-select : none ;
user-select : none ;
overflow : hidden ;
overflow : hidden ;
}
}
. vp-doc . highlight-lines . highlighted {
. vp-doc . highlight-lines . highlighted {
background-color : rgba( 0 , 0 , 0 , 0 . 3 ) ;
background-color : var( --vp-code-line-highlight-color ) ;
transition : background-color 0 . 5s ;
transition : background-color 0 . 5s ;
}
}
. dark . vp-doc . highlight-lines . highlighted {
background-color : rgba ( 255 , 255 , 255 , 0 . 05 ) ;
}
. vp-doc div [ class * = 'language-' ] . line-numbers-mode {
. vp-doc div [ class * = 'language-' ] . line-numbers-mode {
padding-left : 32px ;
padding-left : 32px ;
}
}
. vp-doc div [ class * = 'language-' ] . line-numbers-mode pre {
padding-left : 16px ;
}
. vp-doc . line-numbers-wrapper {
. vp-doc . line-numbers-wrapper {
position : absolute ;
position : absolute ;
top : 0 ;
top : 0 ;
bottom : 0 ;
bottom : 0 ;
left : 0 ;
left : 0 ;
z-index : 3 ;
z-index : 3 ;
border-right : 1px solid var ( --vp-c-divider- light ) ;
border-right : 1px solid var ( --vp-c-divider- dark-2 ) ;
padding : 13px 0 11 px;
padding -top: 16 px;
width : 32px ;
width : 32px ;
text-align : center ;
text-align : center ;
font-family : var ( --vp-font-family-mono ) ;
font-family : var ( --vp-font-family-mono ) ;
line-height : var ( --vp-code-line-height ) ;
line-height : var ( --vp-code-line-height ) ;
font-size : var ( --vp-code-font-size ) ;
font-size : var ( --vp-code-font-size ) ;
color : var ( --vp-c -text-3 ) ;
color : var ( --vp-c ode-line-number-color ) ;
transition : border-color 0 . 5s , color 0 . 5s ;
transition : border-color 0 . 5s , color 0 . 5s ;
}
}
. vp-doc [ class * = 'language-' ] : before {
. vp-doc [ class * = 'language-' ] : before {
position : absolute ;
position : absolute ;
top : 4 px;
top : 6 px;
right : 1 0 px;
right : 1 2 px;
z-index : 2 ;
z-index : 2 ;
font-size : 12px ;
font-size : 12px ;
font-weight : 500 ;
font-weight : 500 ;