-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyoutube.css
174 lines (142 loc) · 2.64 KB
/
youtube.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
#header_main_search {
width: 70%;
height: 30px;
}
#header_main_magnifier{
width: 50px;
height: 35px;
border: 1px solid rgb(150, 150, 150);
}
#header_main_mic {
width: 40px;
height: 35px;
margin-left: 10px;
}
#header {
display: flex;
justify-content: space-between;
/* 메인축 방향 정렬, 메인축 방향으로 아이템 정렬
space-between : 아이템들 사이에 균일한 간격 만들어줌 */
align-items: center;
width: 100%;
height: 60px;
background-color: white;
position: fixed;
top: 0px;
z-index: 4;
border-bottom: 1px solid rgb(150, 150, 150);
}
#header_left {
display: flex;
}
#header_left_menu {
width: 75px;
height: 100%;
margin-top: 0px;
}
#header_left_logo {
width: 120px;
height: 30px;
margin-top: 15px;
}
#header_main {
display: flex;
justify-content: center;
width: 40%;
margin-top: 10px;
}
#header_right {
margin-right: 5px;
}
.header_right_menu {
width: 40px;
height: 40px;
}
#side_bar {
position: fixed;
width: 75px;
height: 1000px;
background-color: white;
top: 60px;
left: 0px;
z-index: 3;
/* 우선순위(?) 맨위에 보이게 하는것
숫자가 높을 수록 위로감 */
}
.side_bar_menu {
width: 75px;
height: 7%;
}
#player {
flex-wrap: wrap;
display: flex;
justify-content: center;
margin-top: 70px;
margin-left: 80px;
padding-left: 5px;
z-index: 0;
}
.player_video_photo {
width: 100%;
height: auto;
}
.player_video_info_profile {
width: 40px;
height: 40px;
}
.player_video {
display: inline-block;
margin: 10px;
}
.player_video_info_title {
display: inline-block;
text-align: top;
margin-left: 10px;
font-size: 15px;
}
.player_video_info {
display: flex;
/* inline-flex는 flex를 가로 정렬한 것
flex를 주고 flex-direction row를 주면 똑같음,,
flex 주고 direction column을 하면 세로정렬 */
}
.player_video_youtuber {
margin-left: 50px;
font-size: 13px;
color: gray;
}
.player_video_view {
margin-left: 50px;
font-size: 13px;
color: gray;
}
.player_video_date {
font-size: 13px;
color: gray;
}
@media (max-width: 650px) {
#header_main {
display: none;
}
}
@media ( max-width: 2000px) {
.player_video {
width: 23%;
}
}
@media ( max-width: 1400px) {
.player_video {
width: 31%;
}
}
@media ( max-width: 1000px) {
.player_video {
width: 46%;
}
}
@media ( max-width: 620px) {
.player_video {
width: 79%;
}
}
/* 범위기준으로 나누기 */