|
|
|
|
@ -35,10 +35,21 @@ export const HeaderWrapper = styled.div` |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const MainLogo = styled(Logo)` |
|
|
|
|
height: 20px; |
|
|
|
|
height: 26px; |
|
|
|
|
width: 80px; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const MainInfoContainer = styled.div` |
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
margin-top: 50px; |
|
|
|
|
overflow: scroll; |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const BlockWrapper = styled.div` |
|
|
|
|
height: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
@ -54,7 +65,6 @@ export const BlockWrapper = styled.div` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
padding: 5.4rem; |
|
|
|
|
overflow: scroll; |
|
|
|
|
@media screen and (orientation: landscape){ |
|
|
|
|
padding-top: 20px; |
|
|
|
|
height: auto; |
|
|
|
|
@ -64,7 +74,11 @@ export const BlockWrapper = styled.div` |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const SportImgWrapper = styled.div<Props>` |
|
|
|
|
background-image: url(/images/landing_${({ sportType }) => sportType}.png); |
|
|
|
|
background-image: url(/images/landing_${({ sportType }) => ( |
|
|
|
|
isMobileDevice |
|
|
|
|
? `mobile_${sportType}.png` |
|
|
|
|
: `${sportType}.png` |
|
|
|
|
)}); |
|
|
|
|
background-repeat: no-repeat; |
|
|
|
|
background-position: center; |
|
|
|
|
background-size: contain; |
|
|
|
|
@ -84,6 +98,8 @@ export const SportImgWrapper = styled.div<Props>` |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const MatchInfo = styled.div` |
|
|
|
|
margin-bottom: 60px; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
width: 100%; |
|
|
|
|
@ -163,7 +179,7 @@ export const MainInfoTitle = styled.div` |
|
|
|
|
font-size: 2rem; |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 3.8rem; |
|
|
|
|
font-size: 32px; |
|
|
|
|
margin-bottom: 15px; |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
@ -191,7 +207,7 @@ export const MainInfoText = styled.div` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
font-size: 2.2rem; |
|
|
|
|
margin: 15px 0 25px; |
|
|
|
|
margin: 0 0 25px; |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
@ -244,7 +260,7 @@ export const SportImgMobileDevice = styled(SportImgWrapper)` |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
display: block; |
|
|
|
|
height: 42%; |
|
|
|
|
height: 60%; |
|
|
|
|
width: 100%; |
|
|
|
|
margin-right: 0; |
|
|
|
|
@media screen and (orientation: landscape){
|
|
|
|
|
|