-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.css
98 lines (73 loc) · 1.48 KB
/
video.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
.thumbnail{
width:100%;
}
.search-bar{
display: block;
font-size: 15px;
margin-bottom: 20px;
}
.video-title{
font-size: 14px;
font-weight:500;
vertical-align:top;
margin-bottom: 12px;
line-height: 15px;
margin-top:0;
margin-bottom: 10px;
}
.video-author{
font-size: 12px;
color: rgb(96,96,96);
margin-bottom:4px;
}
.video-stats{
display: inline block;
width: 300px;
font-size: 12px;
color: rgb(96,96,96);
}
.video-info-grid{
display: grid;
grid-template-columns: 50px 1fr;
}
.profile-pic{
width:36px;
border-radius: 50px;
}
.thumbnail-row{
margin-bottom:8px;
position: relative;
}
.video-grid{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
column-gap: 16px;
row-gap: 40px;
}
@media(max-width:750px){
.video-grid{
grid-template-columns: 1fr 1fr;
}
}
@media(min-width:751px) and (max-width:999px){
.video-grid{
grid-template-columns: 1fr 1fr 1fr;
}
}
@media(min-width:1000px){
.video-grid{
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
.video-time{
font-family: roboto,Arial;
font-size: 12px;
font-weight: 500;
padding: 4px;
border-radius: 2px;
background-color: black;
color: white;
position: absolute;
bottom: 8px;
right: 5px;
}