From 13db2cfb584707d7ff972fc110e6a936e315981e Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Fri, 10 Mar 2023 12:19:56 -0800 Subject: [PATCH] Fixes style on mobile --- docs/.vitepress/theme/style.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 05b843ae..d28b7052 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -118,15 +118,23 @@ /** * Dozzle css - * -------------------------------------------------------------------------- + * -------------------------------------------------------------------------- **/ +@media (max-width: 960px) { + .is-home .VPHero { + margin-top: -1em; + } +} + .VPHero .container { max-width: 100%; } -.is-home .container .main { - padding-right: 4em; +@media (min-width: 960px) { + .is-home .container .main { + padding-right: 4em; + } } .VPHomeHero .tagline {