-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (95 loc) · 1.64 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
}
ul,
ol {
list-style: none;
overflow: hidden;
}
/* header ========================================== */
/* logo */
header {
display: flex;
/* background-color: yellow; */
height: 100px;
justify-content: space-between;
align-items: center;
padding: 2rem;
/* 비디오에 가리지 않기 위해 */
position: relative;
z-index: 2;
}
header h1 {}
header h1 a {
color: black;
}
/* header : menu */
header #menu {
display: flex;
}
header #menu li {
margin: 0 1rem;
}
header #menu li a {
color: whitesmoke;
}
/* header : sns */
header .sns {
display: flex;
}
header .sns li {
margin: 0 0.5vw;
font-size: 18px;
}
header .sns li a {
color: black;
}
header .sns li a i {}
/* main ======================================= */
main {
/* 비디오 위로 올리기 위해 */
/* body 가 부모이기 때문에 vp 기준으로 위로 올라감 Header 가림 */
position: absolute;
top: 0;
left: 0;
/* body의 크기 받아오기 */
width: 100%;
height: 100vh;
}
main video {
width: 100%;
height: 100%;
/* 동영상 사이즈 조정 */
object-fit: cover;
}
main .text {
position: absolute;
/* main이 기준 */
left: 6vw;
top: 40%;
}
main .text p {
font-size: 4vw;
}
main .text ul {
display: flex;
font-size: 18px;
}
main .text ul li {
margin-right: 10px;
}
main .text ul li a {}
/* footer ================================ */
footer {
/* vp 기준 */
position: absolute;
bottom: 3vh;
width: 100%;
text-align: center;
letter-spacing: 6px;
}