diff options
author | Matan Kushner <hello@matchai.dev> | 2024-02-24 15:24:18 +0900 |
---|---|---|
committer | Matan Kushner <hello@matchai.dev> | 2024-02-24 15:24:18 +0900 |
commit | b4046a0f74cc2296d08551dd0abfb5e6e76261c6 (patch) | |
tree | 75c6d6193604ab88112df9cf3711f4456025c253 | |
parent | b03910f5a82a6a4dfec138aecca8ad38515db56a (diff) |
Fix up hero styles to match existing site
-rw-r--r-- | docs/.vitepress/theme/index.styl | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/docs/.vitepress/theme/index.styl b/docs/.vitepress/theme/index.styl index ff2886130..d8d6d8eb5 100644 --- a/docs/.vitepress/theme/index.styl +++ b/docs/.vitepress/theme/index.styl @@ -1,9 +1,29 @@ @import "palette" -.home .hero img - max-width: 500px !important - min-width: 300px - width: 100% +.VPHero .container + flex-direction: column + text-align: center !important + gap: 10px + +.VPHero .image + order: 0 + margin: 0 + +.VPHero .image-container + transform: none + height: auto + +.VPHero .image img + max-height: 130px + max-width: none + position: static + transform: none + +.VPHero .container .actions + justify-content: center !important + +.VPHero .main + margin: 0 auto .center margin 0 auto |