diff --git a/docs/.vitepress/theme/MyLayout.vue b/docs/.vitepress/theme/MyLayout.vue index 56725a5a..93e545f2 100644 --- a/docs/.vitepress/theme/MyLayout.vue +++ b/docs/.vitepress/theme/MyLayout.vue @@ -70,33 +70,63 @@ const {Layout} = DefaultTheme color: #666; } +.banner-home { + display: flex; + align-items: center; + margin: 60px auto; + width: 50%; + justify-content: center; +} + +.banner-home img { + max-width: 100%; + border-radius: 3px; +} + +@media screen and (max-width: 800px) { + .banner-home { + width: 90%; + margin: 30px auto; + } +} + +