From e41c08c4aeff5ea769bb2e6038e9e4649fba2b75 Mon Sep 17 00:00:00 2001 From: SaarHV Date: Wed, 11 Jan 2023 21:20:21 +0800 Subject: [PATCH] Add the media style in home page --- src/theme/media/home.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/theme/media/home.scss diff --git a/src/theme/media/home.scss b/src/theme/media/home.scss new file mode 100644 index 0000000..37bfa8f --- /dev/null +++ b/src/theme/media/home.scss @@ -0,0 +1,23 @@ +@import './index.scss'; + +/* The page width is less than 768px +------------------------------- */ +@media screen and (max-width: $sm) { + .home-media, + .home-media-sm { + margin-top: 15px; + } +} + +/* The page width is less than 1200px +------------------------------- */ +@media screen and (max-width: $lg) { + .home-media-lg { + margin-top: 15px; + } + .home-monitor { + .flex-warp-item { + width: 33.33% !important; + } + } +} -- Gitee