chore: update hero image
This commit is contained in:
parent
6483b318a1
commit
25923bcdb5
|
@ -16,9 +16,9 @@ html {
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.main-wrapper > .container {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
// .main-wrapper > .container {
|
||||
// overflow-x: hidden;
|
||||
// }
|
||||
|
||||
.mdx-hero > .mdx-hero-asset video {
|
||||
position: absolute;
|
||||
|
@ -27,13 +27,17 @@ html {
|
|||
margin-top: -40%;
|
||||
}
|
||||
|
||||
// .mdx-page nav {
|
||||
// background: transparent;
|
||||
// }
|
||||
|
||||
@media screen and (min-width: 996px) {
|
||||
.mdx-hero > .mdx-hero-asset video {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-right: -280px;
|
||||
margin-top: -55%;
|
||||
margin-top: -60%;
|
||||
scale: 0.95;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,8 @@ import Link from '@docusaurus/Link'
|
|||
</HeroInfo>
|
||||
<HeroAsset>
|
||||
<video autoPlay loop muted autoPlay playsInline>
|
||||
<source src="/hero/hero-video.webm" type="video/webm" />
|
||||
<source src="/hero/hero-video.mov" type='video/mp4; codecs="hvc1"' />
|
||||
<source src="/hero/hero-video.webm" type="video/webm" />
|
||||
</video>
|
||||
</HeroAsset>
|
||||
</Hero>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue