-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
137 lines (124 loc) · 2.58 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/* 폰트 추가 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
/* 페이지 설정 */
body {
display: flex;
justify-content: center;
background-color: #171d2e;
font-family: "Noto Sans KR", sans-serif;
}
.wrap {
display: flex;
flex-direction: column;
width: 100%;
max-width: 405px;
background-color: transparent;
padding: 60px 0;
}
/* 프로필 이미지, 이름, 간단 설명 설정*/
.profile {
display: flex;
flex-direction: column;
align-items: center;
}
.profile .image {
width: 103px;
height: 103px;
border-radius: 15%;
margin-bottom: 25px;
}
.profile .name,
.description , .birth{
margin: 0;
padding: 0;
color: #fff;
}
.profile .name {
font-weight: 600;
font-size: 20px;
line-height: 30px;
margin-bottom: 10px;
}
.profile .description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.horizontal-rule{
width : 60%;
height : 1px;
border : 0;
background-color: white;
margin: 30px auto 50px;
}
/* 외부 링크 (전화번호, 이메일, 인스타 등..) */
.external {
display: flex;
flex-direction: row;
justify-content: center; /* 가로축 */
align-items: center; /* 세로축 */
flex-wrap: wrap; /* 요소들을 나열해주는 기능 */
max-width: 60%;
margin: 0 auto;
gap: 15px;
}
.external .link {
cursor: pointer;
}
.buttons{
padding: 20px 0;
display:flex;
flex-direction : column;
row-gap:15px;
justify-content:center;
align-items:center;
}
.buttons .button{
width: 100%;
height: 54px;
display: flex;
justify-content: center;
align-items: center;
background-color: #fff;
border-radius: 10px;
text-decoration: none;
color: #000;
font-weight: 600;
font-size: 16px;
}
.text{
color: red;
text-align: center; /* 중앙정렬 깔끔하게 조지는 방법 */
}
.text .small{
font-size: 14px;
}
.photo{
display : flex;
flex-direction: column;
row-gap:10px;
}
.photo .photos{
color: green;
text-align: center; /* 중앙정렬 깔끔하게 조지는 방법 */
}
.photo img{
width : 100%;
height : 228px;
object-fit: cover;
border-radius : 10px;
}
.youtube{
width : 100%;
height : 230px;
padding : 30px 0;
}
.youtube iframe {
width: 100%;
height: 100%;
border-radius: 10px;
}
.explain{
color: red;
text-align: center; /* 중앙정렬 깔끔하게 조지는 방법 */
}