-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (60 loc) · 1.19 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
@import './button.css';
body{
background-color: #26B4BC;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper{
max-inline-size: 900px;
margin: auto;
}
.player{
margin-block-start: 100px;
/* border: 10px solid red;*/
position: relative;
}
.player video{
inline-size: 100%;
margin-block-start: 100px;
aspect-ratio: 16/9;
vertical-align: middle;
object-fit: cover;
}
.player-title{
color: white;
position: absolute;
inset-block-start: 0;
inset-inline-start: 20px;
}
.player-actions{
position: absolute;
inset: 0px;
/* inset-inline-end: 0;
inset-block-start: 0;
inset-inline-end: 0;
inset-inline-start: 0;*/
/*border: 10px solid blue;*/
display: flex;
justify-content: center;
align-items: center;
/* z-line: 2;*/
gap: 20px;
}
.player-progress{
position: absolute;
inset-block-end: 0;
inset-inline: 0;
display: flex;
padding: 10px;
}
.player-progress input{
flex: 1;
}
.player-overlay {
position:absolute;
inset: 0;
opacity: 0;
transition: .3s opacity;
}
.player:hover .player-overlay {
opacity: 1;
}