-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 4week styled-component적용중 * 4week 절반정도 완성 * 4week movie poster site 구현 * 4week movie poster site 구현 수정 * 4week movie poster site 구현 수정완료
- Loading branch information
Showing
3 changed files
with
108 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
yeon-dong-4week/UMC-Movie/src/pages/MovieDetailPage/MovieDetailPage.style.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import styled from "styled-components"; | ||
|
||
export const Background = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
position: absolute; | ||
background-image: linear-gradient(rgba(40, 43, 49, 0.8), rgba(0, 0, 0, 0.8)), | ||
url(${(props) => props.image}); | ||
background-size: cover; | ||
left: 50%; | ||
transform: translate(-50%); | ||
`; | ||
|
||
export const Blur = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
backdrop-filter: blur(10px); | ||
`; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
width: fit-content; | ||
text-align: center; | ||
transform: translate(50%, 45%); | ||
color: white; | ||
img { | ||
border-radius: 8px; | ||
} | ||
`; | ||
|
||
export const OverviewContainer = styled.div` | ||
width: 400px; | ||
text-align: left; | ||
margin-left: 60px; | ||
margin-top: 12px; | ||
`; | ||
|
||
export const InfoContainer = styled.div` | ||
display: flex; | ||
margin-bottom: 20px; | ||
`; | ||
|
||
export const Overview = styled.p` | ||
overflow: hidden; | ||
font-weight: 300; | ||
font-size: 14px; | ||
line-height: 130%; | ||
`; | ||
|
||
export const Title = styled.h2` | ||
color: white; | ||
font-size: 24px; | ||
margin-bottom: 12px; | ||
`; | ||
|
||
export const Text = styled.div` | ||
color: white; | ||
margin-right: 12px; | ||
`; | ||
|
||
export const Box = styled.div``; |