-
Notifications
You must be signed in to change notification settings - Fork 0
/
video.css
92 lines (66 loc) · 1.19 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
.thumbnail {
width: 100%;
}
.video-title {
margin-top: 0px;
font-size: 14px;
font-weight: 500;
line-height: 20px;
margin-bottom: 10px;
}
.video-info-grid {
display: grid;
grid-template-columns: 50px 1fr ;
}
.channel-picture {
}
.video-info {
}
.profile-picture {
width: 36px;
border-radius: 50px;
}
.thumbnail-row {
margin-bottom: 8px;
position: relative;
}
.video-author ,
.video-stats {
font-size: 12px;
color: rgb(96, 96, 96);
}
.video-author {
margin-bottom: 4px;
}
.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 {
background-color: black;
color: white;
position: absolute;
bottom: 8px;
right: 5px;
font-size: 12px;
font-weight: 500;
padding: 4px ;
border-radius: 2px;
}