2024-11-26 11:59:11 +00:00
|
|
|
<script setup>
|
|
|
|
import DefaultTheme from 'vitepress/theme'
|
2024-12-14 14:28:39 +00:00
|
|
|
const { Theme } = DefaultTheme
|
2024-11-26 11:59:11 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2024-12-14 14:28:39 +00:00
|
|
|
<Theme>
|
|
|
|
<template>
|
|
|
|
</template>
|
|
|
|
</Theme>
|
2024-11-26 11:59:11 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
:root {
|
|
|
|
--vp-sidebar-width: 250px;
|
|
|
|
}
|
|
|
|
|
2024-12-17 22:18:54 +00:00
|
|
|
.Layout {
|
|
|
|
background-color: light-dark(white, black);
|
|
|
|
}
|
|
|
|
|
2024-11-26 11:59:11 +00:00
|
|
|
.VPNavBarTitle .title {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2024-12-08 22:35:34 +00:00
|
|
|
.language-template:has(~.preview){
|
2024-12-19 13:57:04 +00:00
|
|
|
flex-grow:1;
|
|
|
|
&~.preview{
|
|
|
|
flex-grow:0;
|
|
|
|
}
|
2024-12-08 22:35:34 +00:00
|
|
|
}
|
|
|
|
|
2024-11-26 11:59:11 +00:00
|
|
|
.preview,
|
|
|
|
.vp-doc .preview {
|
|
|
|
padding: 16px 0;
|
|
|
|
flex-grow: 1;
|
2024-12-18 15:56:46 +00:00
|
|
|
border-radius: 8px;
|
|
|
|
|
|
|
|
&:not(.transparent){
|
|
|
|
background-color:var(--background-color);
|
|
|
|
box-shadow: 0px 0px 16px 16px var(--background-color);
|
2024-12-19 13:57:04 +00:00
|
|
|
margin:16px 0;
|
|
|
|
padding:0;
|
2024-12-18 15:56:46 +00:00
|
|
|
|
|
|
|
}
|
2024-11-26 11:59:11 +00:00
|
|
|
|
|
|
|
/* .preview overrides the cascade coming from .vp-docs and other containers
|
|
|
|
that may leak rules here */
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
line-height: normal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|