vitepress 2.0.0-alpha.2 → 2.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -2
- package/THIRD-PARTY-NOTICES.md +1736 -0
- package/bin/vitepress.js +14 -0
- package/client.d.ts +9 -0
- package/dist/client/app/components/ClientOnly.d.ts +5 -0
- package/dist/client/app/components/ClientOnly.js +11 -10
- package/dist/client/app/components/Content.d.ts +17 -0
- package/dist/client/app/components/Content.js +25 -22
- package/dist/client/app/composables/codeGroups.d.ts +3 -0
- package/dist/client/app/composables/codeGroups.js +36 -39
- package/dist/client/app/composables/copyCode.d.ts +3 -0
- package/dist/client/app/composables/copyCode.js +59 -70
- package/dist/client/app/composables/head.d.ts +5 -0
- package/dist/client/app/composables/head.js +56 -74
- package/dist/client/app/composables/icon.d.ts +12 -0
- package/dist/client/app/composables/icon.js +56 -0
- package/dist/client/app/composables/preFetch.d.ts +3 -0
- package/dist/client/app/composables/preFetch.js +64 -96
- package/dist/client/app/data.d.ts +9 -0
- package/dist/client/app/data.js +34 -59
- package/dist/client/app/devtools.d.ts +7 -0
- package/dist/client/app/devtools.js +29 -28
- package/dist/client/app/index.d.ts +11 -0
- package/dist/client/app/index.js +106 -131
- package/dist/client/app/router.d.ts +49 -0
- package/dist/client/app/router.js +198 -239
- package/dist/client/app/ssr.d.ts +4 -0
- package/dist/client/app/ssr.js +14 -9
- package/dist/client/app/theme.d.ts +24 -0
- package/dist/client/app/theme.js +0 -1
- package/dist/client/app/utils.d.ts +35 -0
- package/dist/client/app/utils.js +77 -110
- package/dist/client/index.d.ts +21 -137
- package/dist/client/index.js +8 -9
- package/dist/client/shared.d.ts +88 -0
- package/dist/client/shared.js +265 -141
- package/dist/client/theme-default/Layout.d.vue.ts +79 -0
- package/dist/client/theme-default/Layout.vue +33 -36
- package/dist/client/theme-default/NotFound.d.vue.ts +3 -0
- package/dist/client/theme-default/NotFound.vue +33 -35
- package/dist/client/theme-default/components/VPAlgoliaSearchBox.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPAlgoliaSearchBox.vue +202 -70
- package/dist/client/theme-default/components/VPBackdrop.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPBackdrop.vue +8 -12
- package/dist/client/theme-default/components/VPBadge.d.vue.ts +19 -0
- package/dist/client/theme-default/components/VPBadge.vue +49 -26
- package/dist/client/theme-default/components/VPButton.d.vue.ts +25 -0
- package/dist/client/theme-default/components/VPButton.vue +53 -36
- package/dist/client/theme-default/components/VPCarbonAds.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPCarbonAds.vue +51 -52
- package/dist/client/theme-default/components/VPContent.d.vue.ts +59 -0
- package/dist/client/theme-default/components/VPContent.vue +27 -26
- package/dist/client/theme-default/components/VPDoc.d.vue.ts +33 -0
- package/dist/client/theme-default/components/VPDoc.vue +52 -48
- package/dist/client/theme-default/components/VPDocAside.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPDocAside.vue +7 -8
- package/dist/client/theme-default/components/VPDocAsideCarbonAds.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPDocAsideCarbonAds.vue +7 -11
- package/dist/client/theme-default/components/VPDocAsideOutline.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPDocAsideOutline.vue +22 -38
- package/dist/client/theme-default/components/VPDocAsideSponsors.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPDocAsideSponsors.vue +17 -11
- package/dist/client/theme-default/components/VPDocFooter.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPDocFooter.vue +38 -45
- package/dist/client/theme-default/components/VPDocFooterLastUpdated.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPDocFooterLastUpdated.vue +30 -29
- package/dist/client/theme-default/components/VPDocOutlineItem.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPDocOutlineItem.vue +20 -19
- package/dist/client/theme-default/components/VPFeature.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPFeature.vue +62 -36
- package/dist/client/theme-default/components/VPFeatures.d.vue.ts +16 -0
- package/dist/client/theme-default/components/VPFeatures.vue +35 -48
- package/dist/client/theme-default/components/VPFlyout.d.vue.ts +26 -0
- package/dist/client/theme-default/components/VPFlyout.vue +111 -47
- package/dist/client/theme-default/components/VPFooter.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPFooter.vue +22 -15
- package/dist/client/theme-default/components/VPHero.d.vue.ts +38 -0
- package/dist/client/theme-default/components/VPHero.vue +109 -99
- package/dist/client/theme-default/components/VPHome.d.vue.ts +31 -0
- package/dist/client/theme-default/components/VPHome.vue +15 -15
- package/dist/client/theme-default/components/VPHomeContent.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPHomeContent.vue +9 -27
- package/dist/client/theme-default/components/VPHomeFeatures.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPHomeFeatures.vue +4 -5
- package/dist/client/theme-default/components/VPHomeHero.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPHomeHero.vue +5 -5
- package/dist/client/theme-default/components/VPHomeSponsors.d.vue.ts +21 -0
- package/dist/client/theme-default/components/VPHomeSponsors.vue +42 -43
- package/dist/client/theme-default/components/VPIcon.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPIcon.vue +29 -0
- package/dist/client/theme-default/components/VPImage.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPImage.vue +20 -14
- package/dist/client/theme-default/components/VPLink.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPLink.vue +42 -23
- package/dist/client/theme-default/components/VPLocalNav.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPLocalNav.vue +69 -86
- package/dist/client/theme-default/components/VPLocalNavOutlineDropdown.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPLocalNavOutlineDropdown.vue +98 -96
- package/dist/client/theme-default/components/VPLocalSearchBox.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPLocalSearchBox.vue +391 -454
- package/dist/client/theme-default/components/VPMenu.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPMenu.vue +19 -31
- package/dist/client/theme-default/components/VPMenuGroup.d.vue.ts +22 -0
- package/dist/client/theme-default/components/VPMenuGroup.vue +72 -18
- package/dist/client/theme-default/components/VPMenuLink.d.vue.ts +22 -0
- package/dist/client/theme-default/components/VPMenuLink.vue +65 -31
- package/dist/client/theme-default/components/VPNav.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPNav.vue +18 -24
- package/dist/client/theme-default/components/VPNavAppearance.d.vue.ts +9 -0
- package/dist/client/theme-default/components/VPNavAppearance.vue +88 -0
- package/dist/client/theme-default/components/VPNavBar.d.vue.ts +26 -0
- package/dist/client/theme-default/components/VPNavBar.vue +170 -142
- package/dist/client/theme-default/components/VPNavBarAskAiButton.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarAskAiButton.vue +31 -0
- package/dist/client/theme-default/components/VPNavBarExtra.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarExtra.vue +51 -73
- package/dist/client/theme-default/components/VPNavBarHamburger.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPNavBarHamburger.vue +38 -28
- package/dist/client/theme-default/components/VPNavBarSearch.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarSearch.vue +129 -160
- package/dist/client/theme-default/components/VPNavBarSearchButton.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavBarSearchButton.vue +48 -182
- package/dist/client/theme-default/components/VPNavBarTitle.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPNavBarTitle.vue +39 -38
- package/dist/client/theme-default/components/VPNavMenu.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavMenu.vue +76 -0
- package/dist/client/theme-default/components/VPNavMenuGroup.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPNavMenuGroup.vue +140 -0
- package/dist/client/theme-default/components/VPNavMenuLink.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPNavMenuLink.vue +69 -0
- package/dist/client/theme-default/components/VPNavScreen.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPNavScreen.vue +36 -34
- package/dist/client/theme-default/components/VPNavSocialLinks.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavSocialLinks.vue +36 -0
- package/dist/client/theme-default/components/VPNavTranslations.d.vue.ts +9 -0
- package/dist/client/theme-default/components/VPNavTranslations.vue +170 -0
- package/dist/client/theme-default/components/VPPage.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPSidebar.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPSidebar.vue +40 -53
- package/dist/client/theme-default/components/VPSidebarGroup.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPSidebarGroup.vue +24 -29
- package/dist/client/theme-default/components/VPSidebarItem.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPSidebarItem.vue +60 -93
- package/dist/client/theme-default/components/VPSkipLink.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPSkipLink.vue +23 -42
- package/dist/client/theme-default/components/VPSocialLink.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPSocialLink.vue +42 -49
- package/dist/client/theme-default/components/VPSocialLinks.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPSocialLinks.vue +26 -16
- package/dist/client/theme-default/components/VPSponsors.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPSponsors.vue +34 -33
- package/dist/client/theme-default/components/VPSponsorsGrid.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPSponsorsGrid.vue +23 -26
- package/dist/client/theme-default/components/VPSwitch.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPSwitch.vue +12 -13
- package/dist/client/theme-default/components/VPSwitchAppearance.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPSwitchAppearance.vue +16 -21
- package/dist/client/theme-default/components/VPTeamMembers.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPTeamMembers.vue +59 -32
- package/dist/client/theme-default/components/VPTeamMembersItem.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPTeamMembersItem.vue +62 -58
- package/dist/client/theme-default/components/VPTeamPage.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPTeamPage.vue +14 -14
- package/dist/client/theme-default/components/VPTeamPageSection.d.vue.ts +17 -0
- package/dist/client/theme-default/components/VPTeamPageSection.vue +20 -19
- package/dist/client/theme-default/components/VPTeamPageTitle.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPTeamPageTitle.vue +22 -22
- package/dist/client/theme-default/composables/data.d.ts +5 -0
- package/dist/client/theme-default/composables/data.js +5 -2
- package/dist/client/theme-default/composables/edit-link.d.ts +6 -0
- package/dist/client/theme-default/composables/edit-link.js +17 -15
- package/dist/client/theme-default/composables/flyout.d.ts +10 -0
- package/dist/client/theme-default/composables/flyout.js +33 -32
- package/dist/client/theme-default/composables/langs.d.ts +44 -0
- package/dist/client/theme-default/composables/langs.js +48 -24
- package/dist/client/theme-default/composables/layout.d.ts +13 -0
- package/dist/client/theme-default/composables/layout.js +68 -0
- package/dist/client/theme-default/composables/nav-overflow.d.ts +54 -0
- package/dist/client/theme-default/composables/nav-overflow.js +179 -0
- package/dist/client/theme-default/composables/nav.d.ts +25 -0
- package/dist/client/theme-default/composables/nav.js +58 -29
- package/dist/client/theme-default/composables/outline.d.ts +8 -0
- package/dist/client/theme-default/composables/outline.js +144 -166
- package/dist/client/theme-default/composables/prev-next.d.ts +16 -0
- package/dist/client/theme-default/composables/prev-next.js +34 -56
- package/dist/client/theme-default/composables/scroll-lock.d.ts +4 -0
- package/dist/client/theme-default/composables/scroll-lock.js +95 -0
- package/dist/client/theme-default/composables/sidebar.d.ts +25 -0
- package/dist/client/theme-default/composables/sidebar.js +96 -133
- package/dist/client/theme-default/composables/sponsor-grid.d.ts +10 -0
- package/dist/client/theme-default/composables/sponsor-grid.js +69 -76
- package/dist/client/theme-default/fonts/inter-italic-cyrillic-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-cyrillic.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-greek-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-greek.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-latin-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-latin.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-symbols.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-vietnamese.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-cyrillic-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-cyrillic.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-greek-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-greek.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-latin-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-latin.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-symbols.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-vietnamese.woff2 +0 -0
- package/dist/client/theme-default/index.d.ts +3 -0
- package/dist/client/theme-default/index.js +4 -3
- package/dist/client/theme-default/styles/base.css +279 -211
- package/dist/client/theme-default/styles/components/custom-block.css +12 -7
- package/dist/client/theme-default/styles/components/vp-code-group.css +13 -16
- package/dist/client/theme-default/styles/components/vp-code.css +10 -2
- package/dist/client/theme-default/styles/components/vp-doc.css +188 -142
- package/dist/client/theme-default/styles/components/vp-sponsor.css +48 -37
- package/dist/client/theme-default/styles/docsearch.css +138 -0
- package/dist/client/theme-default/styles/fonts.css +216 -55
- package/dist/client/theme-default/styles/icons.css +42 -22
- package/dist/client/theme-default/styles/vars.css +111 -46
- package/dist/client/theme-default/support/docsearch.d.ts +57 -0
- package/dist/client/theme-default/support/docsearch.js +145 -0
- package/dist/client/theme-default/support/local-search.d.ts +9 -0
- package/dist/client/theme-default/support/local-search.js +31 -0
- package/dist/client/theme-default/support/lru.d.ts +11 -0
- package/dist/client/theme-default/support/lru.js +30 -33
- package/dist/client/theme-default/support/reactivity.d.ts +4 -0
- package/dist/client/theme-default/support/reactivity.js +10 -0
- package/dist/client/theme-default/support/sidebar.d.ts +27 -0
- package/dist/client/theme-default/support/sidebar.js +69 -80
- package/dist/client/theme-default/support/translation.d.ts +6 -0
- package/dist/client/theme-default/support/translation.js +33 -47
- package/dist/client/theme-default/support/utils.d.ts +7 -0
- package/dist/client/theme-default/support/utils.js +39 -30
- package/dist/client/theme-default/without-fonts.d.ts +25 -0
- package/dist/client/theme-default/without-fonts.js +37 -36
- package/dist/node/chunk-BjrVv9r8.js +28627 -0
- package/dist/node/cli.d.ts +1 -0
- package/dist/node/cli.js +160 -423
- package/dist/node/index.d.ts +1761 -2476
- package/dist/node/index.js +1 -121
- package/dist/web-types.json +75 -0
- package/package.json +89 -98
- package/template/.vitepress/config.js +3 -1
- package/template/.vitepress/theme/style.css +3 -11
- package/theme.d.ts +30 -23
- package/types/default-theme.d.ts +109 -113
- package/types/docsearch.d.ts +61 -142
- package/types/shared.d.ts +469 -50
- package/dist/client/theme-default/components/VPNavBarAppearance.vue +0 -32
- package/dist/client/theme-default/components/VPNavBarMenu.vue +0 -40
- package/dist/client/theme-default/components/VPNavBarMenuGroup.vue +0 -42
- package/dist/client/theme-default/components/VPNavBarMenuLink.vue +0 -53
- package/dist/client/theme-default/components/VPNavBarSocialLinks.vue +0 -27
- package/dist/client/theme-default/components/VPNavBarTranslations.vue +0 -47
- package/dist/client/theme-default/components/VPNavScreenAppearance.vue +0 -40
- package/dist/client/theme-default/components/VPNavScreenMenu.vue +0 -26
- package/dist/client/theme-default/components/VPNavScreenMenuGroup.vue +0 -112
- package/dist/client/theme-default/components/VPNavScreenMenuGroupLink.vue +0 -40
- package/dist/client/theme-default/components/VPNavScreenMenuGroupSection.vue +0 -34
- package/dist/client/theme-default/components/VPNavScreenMenuLink.vue +0 -43
- package/dist/client/theme-default/components/VPNavScreenSocialLinks.vue +0 -14
- package/dist/client/theme-default/components/VPNavScreenTranslations.vue +0 -73
- package/dist/client/theme-default/components/icons/VPIconAlignJustify.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconAlignLeft.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconAlignRight.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconArrowLeft.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconArrowRight.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconChevronDown.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronLeft.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronRight.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronUp.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconEdit.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconHeart.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconLanguages.vue +0 -9
- package/dist/client/theme-default/components/icons/VPIconMinus.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconMinusSquare.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconMoon.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconMoreHorizontal.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconPlus.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconPlusSquare.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconSun.vue +0 -13
- package/dist/client/theme-default/composables/aside.js +0 -17
- package/dist/client/theme-default/composables/local-nav.js +0 -18
- package/dist/node/chunk-C-d2RJOW.js +0 -470
- package/dist/node/chunk-CxQfvv8o.js +0 -49065
- package/dist/node/worker_shikiResolveLang.js +0 -13
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anchors
|
|
3
|
+
* -------------------------------------------------------------------------- */
|
|
4
|
+
|
|
5
|
+
.vp-doc [id] {
|
|
6
|
+
scroll-margin-top: calc(
|
|
7
|
+
2.9375rem + var(--vp-layout-top-height, 0px) +
|
|
8
|
+
var(--vp-extra-scroll-margin, 1.5rem)
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
@media (min-width: 60rem) {
|
|
12
|
+
scroll-margin-top: calc(
|
|
13
|
+
var(--vp-nav-height) + 2.9375rem + var(--vp-layout-top-height, 0px) +
|
|
14
|
+
var(--vp-extra-scroll-margin, 1.5rem)
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: 80rem) {
|
|
19
|
+
scroll-margin-top: calc(
|
|
20
|
+
var(--vp-nav-height) + var(--vp-layout-top-height, 0px) +
|
|
21
|
+
var(--vp-extra-scroll-margin, 1.5rem)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
1
26
|
/**
|
|
2
27
|
* Headings
|
|
3
28
|
* -------------------------------------------------------------------------- */
|
|
@@ -15,38 +40,40 @@
|
|
|
15
40
|
|
|
16
41
|
.vp-doc h1 {
|
|
17
42
|
letter-spacing: -0.02em;
|
|
18
|
-
line-height:
|
|
19
|
-
font-size:
|
|
43
|
+
line-height: 1.4285714;
|
|
44
|
+
font-size: 1.75rem;
|
|
20
45
|
}
|
|
21
46
|
|
|
22
47
|
.vp-doc h2 {
|
|
23
|
-
margin:
|
|
48
|
+
margin: 3rem 0 1rem;
|
|
24
49
|
border-top: 1px solid var(--vp-c-divider);
|
|
25
|
-
padding-top:
|
|
50
|
+
padding-top: 1.5rem;
|
|
26
51
|
letter-spacing: -0.02em;
|
|
27
|
-
line-height:
|
|
28
|
-
font-size:
|
|
52
|
+
line-height: 1.3333333;
|
|
53
|
+
font-size: 1.5rem;
|
|
54
|
+
/* since it already has a top padding of 1.5rem, we don't need extra scroll margin */
|
|
55
|
+
--vp-extra-scroll-margin: 0px;
|
|
29
56
|
}
|
|
30
57
|
|
|
31
58
|
.vp-doc h3 {
|
|
32
|
-
margin:
|
|
59
|
+
margin: 2rem 0 0;
|
|
33
60
|
letter-spacing: -0.01em;
|
|
34
|
-
line-height:
|
|
35
|
-
font-size:
|
|
61
|
+
line-height: 1.4;
|
|
62
|
+
font-size: 1.25rem;
|
|
36
63
|
}
|
|
37
64
|
|
|
38
65
|
.vp-doc h4 {
|
|
39
|
-
margin:
|
|
66
|
+
margin: 1.5rem 0 0;
|
|
40
67
|
letter-spacing: -0.01em;
|
|
41
|
-
line-height:
|
|
42
|
-
font-size:
|
|
68
|
+
line-height: 1.3333333;
|
|
69
|
+
font-size: 1.125rem;
|
|
43
70
|
}
|
|
44
71
|
|
|
45
72
|
.vp-doc .header-anchor {
|
|
46
73
|
position: absolute;
|
|
47
74
|
top: 0;
|
|
48
|
-
|
|
49
|
-
margin-
|
|
75
|
+
inset-inline-start: 0;
|
|
76
|
+
margin-inline-start: -0.87em;
|
|
50
77
|
font-weight: 500;
|
|
51
78
|
user-select: none;
|
|
52
79
|
opacity: 0;
|
|
@@ -75,16 +102,16 @@
|
|
|
75
102
|
opacity: 1;
|
|
76
103
|
}
|
|
77
104
|
|
|
78
|
-
@media (min-width:
|
|
105
|
+
@media (min-width: 48rem) {
|
|
79
106
|
.vp-doc h1 {
|
|
80
107
|
letter-spacing: -0.02em;
|
|
81
|
-
line-height:
|
|
82
|
-
font-size:
|
|
108
|
+
line-height: 1.25;
|
|
109
|
+
font-size: 2rem;
|
|
83
110
|
}
|
|
84
111
|
}
|
|
85
112
|
|
|
86
113
|
.vp-doc h2 .header-anchor {
|
|
87
|
-
top:
|
|
114
|
+
top: 1.5rem;
|
|
88
115
|
}
|
|
89
116
|
|
|
90
117
|
/**
|
|
@@ -92,25 +119,26 @@
|
|
|
92
119
|
* -------------------------------------------------------------------------- */
|
|
93
120
|
|
|
94
121
|
.vp-doc p,
|
|
122
|
+
.vp-doc img,
|
|
95
123
|
.vp-doc summary {
|
|
96
|
-
margin:
|
|
124
|
+
margin: 1rem 0;
|
|
97
125
|
}
|
|
98
126
|
|
|
99
127
|
.vp-doc p {
|
|
100
|
-
line-height:
|
|
128
|
+
line-height: 1.75;
|
|
101
129
|
}
|
|
102
130
|
|
|
103
131
|
.vp-doc blockquote {
|
|
104
|
-
margin:
|
|
105
|
-
border-
|
|
106
|
-
padding-
|
|
132
|
+
margin: 1rem 0;
|
|
133
|
+
border-inline-start: 2px solid var(--vp-c-divider);
|
|
134
|
+
padding-inline-start: 1rem;
|
|
107
135
|
transition: border-color 0.5s;
|
|
108
136
|
color: var(--vp-c-text-2);
|
|
109
137
|
}
|
|
110
138
|
|
|
111
139
|
.vp-doc blockquote > p {
|
|
112
140
|
margin: 0;
|
|
113
|
-
font-size:
|
|
141
|
+
font-size: 1rem;
|
|
114
142
|
transition: color 0.5s;
|
|
115
143
|
}
|
|
116
144
|
|
|
@@ -118,7 +146,7 @@
|
|
|
118
146
|
font-weight: 500;
|
|
119
147
|
color: var(--vp-c-brand-1);
|
|
120
148
|
text-decoration: underline;
|
|
121
|
-
text-underline-offset:
|
|
149
|
+
text-underline-offset: 0.125rem;
|
|
122
150
|
transition:
|
|
123
151
|
color 0.25s,
|
|
124
152
|
opacity 0.25s;
|
|
@@ -138,8 +166,8 @@
|
|
|
138
166
|
|
|
139
167
|
.vp-doc ul,
|
|
140
168
|
.vp-doc ol {
|
|
141
|
-
padding-
|
|
142
|
-
margin:
|
|
169
|
+
padding-inline-start: 1.25rem;
|
|
170
|
+
margin: 1rem 0;
|
|
143
171
|
}
|
|
144
172
|
|
|
145
173
|
.vp-doc ul {
|
|
@@ -151,12 +179,49 @@
|
|
|
151
179
|
}
|
|
152
180
|
|
|
153
181
|
.vp-doc li + li {
|
|
154
|
-
margin-top:
|
|
182
|
+
margin-top: 0.5rem;
|
|
155
183
|
}
|
|
156
184
|
|
|
157
185
|
.vp-doc li > ol,
|
|
158
186
|
.vp-doc li > ul {
|
|
159
|
-
margin:
|
|
187
|
+
margin: 0.5rem 0 0;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.vp-doc li > p:first-child {
|
|
191
|
+
margin-top: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.vp-doc li > p:last-child {
|
|
195
|
+
margin-bottom: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.vp-doc li.task-list-item {
|
|
199
|
+
list-style: none;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.vp-doc .task-list-item-checkbox {
|
|
203
|
+
margin-block: 0 0.125rem;
|
|
204
|
+
margin-inline: -1.25rem 0.25rem;
|
|
205
|
+
vertical-align: middle;
|
|
206
|
+
accent-color: var(--vp-c-brand-1);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Footnotes
|
|
211
|
+
* -------------------------------------------------------------------------- */
|
|
212
|
+
|
|
213
|
+
.vp-doc sup.footnote-ref {
|
|
214
|
+
-webkit-user-select: none;
|
|
215
|
+
user-select: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.vp-doc .footnote-ref a,
|
|
219
|
+
.vp-doc .footnote-backref {
|
|
220
|
+
text-decoration: none;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.vp-doc .footnotes {
|
|
224
|
+
font-size: 0.875rem;
|
|
160
225
|
}
|
|
161
226
|
|
|
162
227
|
/**
|
|
@@ -166,7 +231,7 @@
|
|
|
166
231
|
.vp-doc table {
|
|
167
232
|
display: block;
|
|
168
233
|
border-collapse: collapse;
|
|
169
|
-
margin:
|
|
234
|
+
margin: 1.25rem 0;
|
|
170
235
|
overflow-x: auto;
|
|
171
236
|
}
|
|
172
237
|
|
|
@@ -183,19 +248,19 @@
|
|
|
183
248
|
.vp-doc th,
|
|
184
249
|
.vp-doc td {
|
|
185
250
|
border: 1px solid var(--vp-c-divider);
|
|
186
|
-
padding:
|
|
251
|
+
padding: 0.5rem 1rem;
|
|
187
252
|
}
|
|
188
253
|
|
|
189
254
|
.vp-doc th {
|
|
190
|
-
text-align:
|
|
191
|
-
font-size:
|
|
255
|
+
text-align: start;
|
|
256
|
+
font-size: 0.875rem;
|
|
192
257
|
font-weight: 600;
|
|
193
258
|
color: var(--vp-c-text-2);
|
|
194
259
|
background-color: var(--vp-c-bg-soft);
|
|
195
260
|
}
|
|
196
261
|
|
|
197
262
|
.vp-doc td {
|
|
198
|
-
font-size:
|
|
263
|
+
font-size: 0.875rem;
|
|
199
264
|
}
|
|
200
265
|
|
|
201
266
|
/**
|
|
@@ -203,7 +268,7 @@
|
|
|
203
268
|
* -------------------------------------------------------------------------- */
|
|
204
269
|
|
|
205
270
|
.vp-doc hr {
|
|
206
|
-
margin:
|
|
271
|
+
margin: 1rem 0;
|
|
207
272
|
border: none;
|
|
208
273
|
border-top: 1px solid var(--vp-c-divider);
|
|
209
274
|
}
|
|
@@ -213,12 +278,12 @@
|
|
|
213
278
|
* -------------------------------------------------------------------------- */
|
|
214
279
|
|
|
215
280
|
.vp-doc .custom-block {
|
|
216
|
-
margin:
|
|
281
|
+
margin: 1rem 0;
|
|
217
282
|
}
|
|
218
283
|
|
|
219
284
|
.vp-doc .custom-block p {
|
|
220
|
-
margin:
|
|
221
|
-
line-height:
|
|
285
|
+
margin: 0.5rem 0;
|
|
286
|
+
line-height: 1.7142857;
|
|
222
287
|
}
|
|
223
288
|
|
|
224
289
|
.vp-doc .custom-block p:first-child {
|
|
@@ -226,8 +291,8 @@
|
|
|
226
291
|
}
|
|
227
292
|
|
|
228
293
|
.vp-doc .custom-block div[class*='language-'] {
|
|
229
|
-
margin:
|
|
230
|
-
border-radius:
|
|
294
|
+
margin: 0.5rem 0 !important;
|
|
295
|
+
border-radius: 0.5rem;
|
|
231
296
|
}
|
|
232
297
|
|
|
233
298
|
.vp-doc .custom-block div[class*='language-'] code {
|
|
@@ -235,9 +300,19 @@
|
|
|
235
300
|
background-color: transparent;
|
|
236
301
|
}
|
|
237
302
|
|
|
303
|
+
.vp-doc .custom-block .vp-code-group,
|
|
304
|
+
.vp-doc .custom-block [class*='vp-code-block'] {
|
|
305
|
+
margin-top: 0.5rem;
|
|
306
|
+
}
|
|
307
|
+
|
|
238
308
|
.vp-doc .custom-block .vp-code-group .tabs {
|
|
239
309
|
margin: 0;
|
|
240
|
-
border-radius:
|
|
310
|
+
border-radius: 0.5rem 0.5rem 0 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.vp-doc .custom-block .vp-code-group div[class*='language-'],
|
|
314
|
+
.vp-doc .custom-block [class*='vp-code-block'] div[class*='language-'] {
|
|
315
|
+
margin-top: 0 !important;
|
|
241
316
|
}
|
|
242
317
|
|
|
243
318
|
/**
|
|
@@ -251,9 +326,11 @@
|
|
|
251
326
|
}
|
|
252
327
|
|
|
253
328
|
.vp-doc :not(pre) > code {
|
|
254
|
-
border-radius:
|
|
255
|
-
padding:
|
|
329
|
+
border-radius: 0.25rem;
|
|
330
|
+
padding: 0.1875rem 0.375rem;
|
|
256
331
|
background-color: var(--vp-code-bg);
|
|
332
|
+
/* keep the written order of identifiers and punctuation inside rtl prose */
|
|
333
|
+
unicode-bidi: plaintext;
|
|
257
334
|
transition:
|
|
258
335
|
color 0.25s,
|
|
259
336
|
background-color 0.5s;
|
|
@@ -274,66 +351,60 @@
|
|
|
274
351
|
font-size: 0.9em;
|
|
275
352
|
}
|
|
276
353
|
|
|
354
|
+
/* code-block wrappers carry dir="ltr" (see preWrapper.ts), so code, its
|
|
355
|
+
gutter and its controls keep their physical layout on rtl pages; the
|
|
356
|
+
logical properties in this section resolve to left/right there */
|
|
277
357
|
.vp-doc div[class*='language-'],
|
|
278
358
|
.vp-block {
|
|
279
359
|
position: relative;
|
|
280
|
-
margin:
|
|
360
|
+
margin: 1rem -1.5rem;
|
|
281
361
|
background-color: var(--vp-code-block-bg);
|
|
282
362
|
overflow-x: auto;
|
|
283
363
|
transition: background-color 0.5s;
|
|
284
364
|
}
|
|
285
365
|
|
|
286
|
-
@media (min-width:
|
|
366
|
+
@media (min-width: 40rem) {
|
|
287
367
|
.vp-doc div[class*='language-'],
|
|
288
368
|
.vp-block {
|
|
289
|
-
border-radius:
|
|
290
|
-
margin:
|
|
369
|
+
border-radius: 0.5rem;
|
|
370
|
+
margin: 1rem 0;
|
|
291
371
|
}
|
|
292
372
|
}
|
|
293
373
|
|
|
294
|
-
@media (
|
|
374
|
+
@media not all and (min-width: 40rem) {
|
|
295
375
|
.vp-doc li div[class*='language-'] {
|
|
296
|
-
border-radius:
|
|
376
|
+
border-radius: 0;
|
|
377
|
+
border-start-start-radius: 0.5rem;
|
|
378
|
+
border-end-start-radius: 0.5rem;
|
|
297
379
|
}
|
|
298
380
|
}
|
|
299
381
|
|
|
300
382
|
.vp-doc div[class*='language-'] + div[class*='language-'],
|
|
301
383
|
.vp-doc div[class$='-api'] + div[class*='language-'],
|
|
302
384
|
.vp-doc div[class*='language-'] + div[class$='-api'] > div[class*='language-'] {
|
|
303
|
-
margin-top: -
|
|
385
|
+
margin-top: -0.5rem;
|
|
304
386
|
}
|
|
305
387
|
|
|
306
388
|
.vp-doc [class*='language-'] pre,
|
|
307
389
|
.vp-doc [class*='language-'] code {
|
|
308
|
-
/*rtl:ignore*/
|
|
309
|
-
direction: ltr;
|
|
310
|
-
/*rtl:ignore*/
|
|
311
|
-
text-align: left;
|
|
312
|
-
white-space: pre;
|
|
313
|
-
word-spacing: normal;
|
|
314
|
-
word-break: normal;
|
|
315
|
-
word-wrap: normal;
|
|
316
390
|
-moz-tab-size: 4;
|
|
317
391
|
-o-tab-size: 4;
|
|
318
392
|
tab-size: 4;
|
|
319
|
-
-webkit-hyphens: none;
|
|
320
|
-
-moz-hyphens: none;
|
|
321
|
-
-ms-hyphens: none;
|
|
322
|
-
hyphens: none;
|
|
323
393
|
}
|
|
324
394
|
|
|
325
395
|
.vp-doc [class*='language-'] pre {
|
|
326
396
|
position: relative;
|
|
327
397
|
z-index: 1;
|
|
328
398
|
margin: 0;
|
|
329
|
-
padding:
|
|
399
|
+
padding: 1.25rem 0;
|
|
330
400
|
background: transparent;
|
|
331
401
|
overflow-x: auto;
|
|
402
|
+
text-align: start;
|
|
332
403
|
}
|
|
333
404
|
|
|
334
405
|
.vp-doc [class*='language-'] code {
|
|
335
406
|
display: block;
|
|
336
|
-
padding: 0
|
|
407
|
+
padding: 0 1.5rem;
|
|
337
408
|
width: fit-content;
|
|
338
409
|
min-width: 100%;
|
|
339
410
|
line-height: var(--vp-code-line-height);
|
|
@@ -345,9 +416,9 @@
|
|
|
345
416
|
.vp-doc [class*='language-'] code .highlighted {
|
|
346
417
|
background-color: var(--vp-code-line-highlight-color);
|
|
347
418
|
transition: background-color 0.5s;
|
|
348
|
-
margin: 0 -
|
|
349
|
-
padding: 0
|
|
350
|
-
width: calc(100% + 2 *
|
|
419
|
+
margin: 0 -1.5rem;
|
|
420
|
+
padding: 0 1.5rem;
|
|
421
|
+
width: calc(100% + 2 * 1.5rem);
|
|
351
422
|
display: inline-block;
|
|
352
423
|
}
|
|
353
424
|
|
|
@@ -361,18 +432,19 @@
|
|
|
361
432
|
|
|
362
433
|
.vp-doc [class*='language-'] code .diff {
|
|
363
434
|
transition: background-color 0.5s;
|
|
364
|
-
margin: 0 -
|
|
365
|
-
padding: 0
|
|
366
|
-
width: calc(100% + 2 *
|
|
435
|
+
margin: 0 -1.5rem;
|
|
436
|
+
padding: 0 1.5rem;
|
|
437
|
+
width: calc(100% + 2 * 1.5rem);
|
|
367
438
|
display: inline-block;
|
|
368
439
|
}
|
|
369
440
|
|
|
370
441
|
.vp-doc [class*='language-'] code .diff::before {
|
|
371
442
|
position: absolute;
|
|
372
|
-
|
|
443
|
+
inset-inline-start: 0.625rem;
|
|
373
444
|
}
|
|
374
445
|
|
|
375
446
|
.vp-doc [class*='language-'] .has-focused-lines .line:not(.has-focus) {
|
|
447
|
+
will-change: filter;
|
|
376
448
|
filter: blur(0.095rem);
|
|
377
449
|
opacity: 0.4;
|
|
378
450
|
transition:
|
|
@@ -412,21 +484,18 @@
|
|
|
412
484
|
}
|
|
413
485
|
|
|
414
486
|
.vp-doc div[class*='language-'].line-numbers-mode {
|
|
415
|
-
|
|
416
|
-
padding-left: 32px;
|
|
487
|
+
padding-inline-start: 2rem;
|
|
417
488
|
}
|
|
418
489
|
|
|
419
490
|
.vp-doc .line-numbers-wrapper {
|
|
420
491
|
position: absolute;
|
|
421
492
|
top: 0;
|
|
422
493
|
bottom: 0;
|
|
423
|
-
|
|
424
|
-
left: 0;
|
|
494
|
+
inset-inline-start: 0;
|
|
425
495
|
z-index: 3;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
width: 32px;
|
|
496
|
+
border-inline-end: 1px solid var(--vp-code-block-divider-color);
|
|
497
|
+
padding-top: 1.25rem;
|
|
498
|
+
width: 2rem;
|
|
430
499
|
text-align: center;
|
|
431
500
|
font-family: var(--vp-font-family-mono);
|
|
432
501
|
line-height: var(--vp-code-line-height);
|
|
@@ -438,23 +507,20 @@
|
|
|
438
507
|
}
|
|
439
508
|
|
|
440
509
|
.vp-doc [class*='language-'] > button.copy {
|
|
441
|
-
/*rtl:ignore*/
|
|
442
|
-
direction: ltr;
|
|
443
510
|
position: absolute;
|
|
444
|
-
top:
|
|
445
|
-
|
|
446
|
-
right: 12px;
|
|
511
|
+
top: 0.75rem;
|
|
512
|
+
inset-inline-end: 0.75rem;
|
|
447
513
|
z-index: 3;
|
|
448
514
|
border: 1px solid var(--vp-code-copy-code-border-color);
|
|
449
|
-
border-radius:
|
|
450
|
-
width:
|
|
451
|
-
height:
|
|
515
|
+
border-radius: 0.25rem;
|
|
516
|
+
width: 2.5rem;
|
|
517
|
+
height: 2.5rem;
|
|
452
518
|
background-color: var(--vp-code-copy-code-bg);
|
|
453
519
|
opacity: 0;
|
|
454
520
|
cursor: pointer;
|
|
455
521
|
background-image: var(--vp-icon-copy);
|
|
456
522
|
background-position: 50%;
|
|
457
|
-
background-size:
|
|
523
|
+
background-size: 1.25rem;
|
|
458
524
|
background-repeat: no-repeat;
|
|
459
525
|
transition:
|
|
460
526
|
border-color 0.25s,
|
|
@@ -475,8 +541,8 @@
|
|
|
475
541
|
|
|
476
542
|
.vp-doc [class*='language-'] > button.copy.copied,
|
|
477
543
|
.vp-doc [class*='language-'] > button.copy:hover.copied {
|
|
478
|
-
|
|
479
|
-
border-radius: 0
|
|
544
|
+
border-start-start-radius: 0;
|
|
545
|
+
border-end-start-radius: 0;
|
|
480
546
|
background-color: var(--vp-code-copy-code-hover-bg);
|
|
481
547
|
background-image: var(--vp-icon-copied);
|
|
482
548
|
}
|
|
@@ -485,35 +551,34 @@
|
|
|
485
551
|
.vp-doc [class*='language-'] > button.copy:hover.copied::before {
|
|
486
552
|
position: relative;
|
|
487
553
|
top: -1px;
|
|
488
|
-
/*rtl:ignore*/
|
|
489
554
|
transform: translateX(calc(-100% - 1px));
|
|
490
555
|
display: flex;
|
|
491
556
|
justify-content: center;
|
|
492
557
|
align-items: center;
|
|
493
558
|
border: 1px solid var(--vp-code-copy-code-hover-border-color);
|
|
494
|
-
|
|
495
|
-
border-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
padding: 0 10px;
|
|
559
|
+
border-inline-end: 0;
|
|
560
|
+
border-start-start-radius: 0.25rem;
|
|
561
|
+
border-end-start-radius: 0.25rem;
|
|
562
|
+
padding: 0 0.625rem;
|
|
499
563
|
width: fit-content;
|
|
500
|
-
height:
|
|
564
|
+
height: 2.5rem;
|
|
501
565
|
text-align: center;
|
|
502
|
-
font-size:
|
|
566
|
+
font-size: 0.75rem;
|
|
503
567
|
font-weight: 500;
|
|
504
568
|
color: var(--vp-code-copy-code-active-text);
|
|
505
569
|
background-color: var(--vp-code-copy-code-hover-bg);
|
|
506
570
|
white-space: nowrap;
|
|
507
|
-
|
|
571
|
+
/* the wrapper is ltr; let the translated label pick its own direction */
|
|
572
|
+
unicode-bidi: plaintext;
|
|
573
|
+
content: attr(data-copied);
|
|
508
574
|
}
|
|
509
575
|
|
|
510
576
|
.vp-doc [class*='language-'] > span.lang {
|
|
511
577
|
position: absolute;
|
|
512
|
-
top:
|
|
513
|
-
|
|
514
|
-
right: 8px;
|
|
578
|
+
top: 0.125rem;
|
|
579
|
+
inset-inline-end: 0.5rem;
|
|
515
580
|
z-index: 2;
|
|
516
|
-
font-size:
|
|
581
|
+
font-size: 0.75rem;
|
|
517
582
|
font-weight: 500;
|
|
518
583
|
user-select: none;
|
|
519
584
|
color: var(--vp-code-lang-color);
|
|
@@ -527,55 +592,36 @@
|
|
|
527
592
|
opacity: 0;
|
|
528
593
|
}
|
|
529
594
|
|
|
530
|
-
/**
|
|
531
|
-
* Component: Team
|
|
532
|
-
* -------------------------------------------------------------------------- */
|
|
533
|
-
|
|
534
|
-
.vp-doc .VPTeamMembers {
|
|
535
|
-
margin-top: 24px;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
.vp-doc .VPTeamMembers.small.count-1 .container {
|
|
539
|
-
margin: 0 !important;
|
|
540
|
-
max-width: calc((100% - 24px) / 2) !important;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
.vp-doc .VPTeamMembers.small.count-2 .container,
|
|
544
|
-
.vp-doc .VPTeamMembers.small.count-3 .container {
|
|
545
|
-
max-width: 100% !important;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.vp-doc .VPTeamMembers.medium.count-1 .container {
|
|
549
|
-
margin: 0 !important;
|
|
550
|
-
max-width: calc((100% - 24px) / 2) !important;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
595
|
/**
|
|
554
596
|
* External links
|
|
555
597
|
* -------------------------------------------------------------------------- */
|
|
556
598
|
|
|
557
599
|
/* prettier-ignore */
|
|
558
|
-
:
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
600
|
+
:where(
|
|
601
|
+
.vp-external-link-icon,
|
|
602
|
+
.vp-doc a:is([href*='://'], [target='_blank'])
|
|
603
|
+
):not(.no-icon, svg a, :has(img, svg))::after {
|
|
604
|
+
display: inline;
|
|
605
|
+
margin-inline-start: 0.25rem;
|
|
606
|
+
padding-inline-start: 0.6875rem;
|
|
564
607
|
background: currentColor;
|
|
565
|
-
color:
|
|
608
|
+
color: currentColor;
|
|
566
609
|
flex-shrink: 0;
|
|
567
|
-
--icon:
|
|
610
|
+
--icon: var(--vp-icon-external-link);
|
|
568
611
|
-webkit-mask-image: var(--icon);
|
|
569
612
|
mask-image: var(--icon);
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
613
|
+
-webkit-mask-position: center;
|
|
614
|
+
mask-position: center;
|
|
615
|
+
-webkit-mask-repeat: no-repeat;
|
|
616
|
+
mask-repeat: no-repeat;
|
|
617
|
+
-webkit-mask-size: 100% 100%;
|
|
618
|
+
mask-size: 100% 100%;
|
|
575
619
|
}
|
|
576
620
|
|
|
577
621
|
/* prettier-ignore */
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
622
|
+
:where(
|
|
623
|
+
.vp-external-link-icon,
|
|
624
|
+
.external-link-icon-enabled :is(.vp-doc a:is([href*='://'], [target='_blank']))
|
|
625
|
+
):not(.no-icon, svg a, :has(img, svg))::after {
|
|
626
|
+
content: var(--vp-direction-mark) '\2060';
|
|
581
627
|
}
|