diff --git a/sections/Hero/index.module.scss b/sections/Hero/index.module.scss index 811b4136..2efaba41 100644 --- a/sections/Hero/index.module.scss +++ b/sections/Hero/index.module.scss @@ -1,7 +1,10 @@ @import '../../styles/variables.scss'; .title_box { - margin: 0 240px; + .title { + width: 1190px; + margin: 0 auto; + } } .sub_title { @@ -9,7 +12,6 @@ margin-top: 36px; } - .video_player_wrapper { margin-top: 120px; cursor: pointer; @@ -21,7 +23,6 @@ height: 666px; position: relative; margin: 0 auto; - } .video_play { @@ -81,12 +82,22 @@ } -@include md { +@include lg { .title_box { + .title { + width: 1023px; + } + } +} - margin: 0 74px; +@include md { + .title_box { + .title { + width: 876px; + } } + .video_player_wrapper { margin-top: 101px; } @@ -105,7 +116,9 @@ @include sm { .title_box { - margin: 0; + .title { + width: 720px; + } } .video { @@ -121,7 +134,9 @@ @include xs { .title_box { - margin: 0 24px; + .title { + width: 343px; + } } .video { diff --git a/sections/Hero/index.tsx b/sections/Hero/index.tsx index 1cf1d48d..09e1b78b 100644 --- a/sections/Hero/index.tsx +++ b/sections/Hero/index.tsx @@ -35,6 +35,7 @@ const Hero = () => { algin="center" variant="h1" value={heroContents.title()} + className={styles.title} style={{ color: '#FFF' }} />