diff --git a/docs/.vitepress/vitepress/components/globals/parallax-home.vue b/docs/.vitepress/vitepress/components/globals/parallax-home.vue index eb6e0f00d7..5dfb19bf3f 100644 --- a/docs/.vitepress/vitepress/components/globals/parallax-home.vue +++ b/docs/.vitepress/vitepress/components/globals/parallax-home.vue @@ -7,6 +7,8 @@ import HomeSponsors from '../home/home-sponsors.vue' import HomeCards from '../home/home-cards.vue' import HomeFooter from './vp-footer.vue' import type { CSSProperties } from 'vue' +import { isDark } from '~/composables/dark' + const target = ref(null) const parallax = reactive(useParallax(target)) const jumbotronRedOffset = ref(0) @@ -137,7 +139,7 @@ useEventListener(window, 'scroll', handleScroll) banner @@ -236,30 +238,24 @@ useEventListener(window, 'scroll', handleScroll) @media screen and (max-width: 959px) { .jumbotron { - display: none !important; - } - - .mobile-banner { - margin-top: 10px; - display: inline-block; - } - } - - @media (max-width: 768px) { - .jumbotron { - width: 50%; - display: flex; - margin: auto; - justify-content: center; - align-items: center; - .parallax-container { - width: 100%; + width: 700px; + margin: 0 auto; } } } @media (max-width: 768px) { + .jumbotron { + display: none !important; + } + + .mobile-banner { + display: inline-block; + margin-top: 25px; + margin-bottom: -15px; + } + .banner-stars { display: none; } diff --git a/docs/public/images/theme-index-blue-dark.png b/docs/public/images/theme-index-blue-dark.png new file mode 100644 index 0000000000..fdbe64292c Binary files /dev/null and b/docs/public/images/theme-index-blue-dark.png differ