Skip to content

Commit 5f0212e

Browse files
committed
style: 밈 상세 화면 css 수정
1 parent e92350d commit 5f0212e

File tree

1 file changed

+37
-27
lines changed

1 file changed

+37
-27
lines changed
Lines changed: 37 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,82 @@
11
import styled from '@emotion/styled';
22

3-
export const Container = styled.div`
3+
const Container = styled.div`
44
width: 100%;
5-
min-height: 100vh;
5+
height: 100%;
66
background-color: #ffffff;
7+
border: 1px solid red;
78
`;
89

9-
export const ImageContainer = styled.div`
10+
const ImageContainer = styled.div`
1011
width: 100%;
1112
height: 487.5px;
12-
background-color: #d9d9d9;
1313
position: relative;
1414
`;
1515

16-
export const Image = styled.img`
16+
const Image = styled.img`
1717
width: 100%;
1818
height: 100%;
1919
object-fit: cover;
2020
`;
2121

22-
export const ContentContainer = styled.div`
22+
const ShareButton = styled.button`
23+
position: absolute;
24+
left: 50%;
25+
bottom: 20px;
26+
transform: translateX(-50%);
27+
background-color: #ffffff;
28+
border: none;
29+
padding: 12px 24px;
30+
border-radius: 8px;
31+
cursor: pointer;
32+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
33+
`;
34+
35+
const ContentContainer = styled.div`
2336
padding: 20px;
2437
background-color: #ffffff;
2538
`;
2639

27-
export const TagContainer = styled.div`
40+
const TagContainer = styled.div`
2841
display: flex;
2942
gap: 10px;
3043
margin-bottom: 20px;
3144
`;
3245

33-
export const CategoryTitle = styled.h2`
46+
const CategoryTitle = styled.h2`
3447
font-size: 14px;
3548
color: #434343;
3649
margin-bottom: 10px;
3750
`;
3851

39-
export const HashtagContainer = styled.div`
52+
const HashtagContainer = styled.div`
4053
display: flex;
4154
gap: 10px;
4255
flex-wrap: wrap;
4356
margin-bottom: 20px;
4457
`;
4558

46-
export const Hashtag = styled.span`
59+
const Hashtag = styled.span`
4760
padding: 8px 16px;
4861
background-color: #2c2c2c;
4962
color: #f5f5f5;
5063
border-radius: 4px;
51-
font-size: 16px;
5264
`;
5365

54-
export const Description = styled.p`
55-
font-size: 17px;
66+
const Description = styled.p`
67+
font-size: 16px;
5668
line-height: 1.5;
57-
color: #000000;
5869
`;
5970

60-
export const ShareButton = styled.button`
61-
position: absolute;
62-
left: 50%;
63-
bottom: 20px;
64-
transform: translateX(-50%);
65-
background-color: #ffffff;
66-
border: none;
67-
padding: 12px 24px;
68-
border-radius: 8px;
69-
font-size: 16px;
70-
cursor: pointer;
71-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
72-
`;
71+
export {
72+
Container,
73+
ImageContainer,
74+
Image,
75+
ContentContainer,
76+
TagContainer,
77+
CategoryTitle,
78+
HashtagContainer,
79+
Hashtag,
80+
Description,
81+
ShareButton,
82+
};

0 commit comments

Comments
 (0)