-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
124 lines (106 loc) · 1.94 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
.header {
background-color: #5d0ddd;
color: #fff;
text-align: center;
padding: 20px 0;
}
.main {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.video-section {
text-align: center;
margin-bottom: 20px;
}
.video-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.video-item {
flex-basis: calc(33.33% - 20px);
margin-bottom: 20px;
padding: 15px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
cursor: pointer;
}
.video-item:hover {
transform: translateY(-5px);
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}
.video-item img {
width: 100%;
height: auto;
border-radius: 4px;
}
.video-item p {
margin-top: 10px;
font-weight: bold;
color: #333;
}
.footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
/* Video Player Styles */
.custom-video-player {
position: relative;
max-width: 800px;
margin: 0 auto;
}
video {
width: 100%;
display: block;
}
.video-controls {
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.video-controls button {
background-color: transparent;
border: none;
color: #fff;
font-size: 20px;
cursor: pointer;
margin: 0 10px;
}
.video-controls input[type="range"] {
width: 100%;
margin: 0 10px;
}
#currentTime,
#duration {
color: #fff;
}
/* Adjust volume slider styles */
#volumeSlider {
width: 70px; /* Adjust the width of the volume slider */
margin-right: 10px; /* Add some space between volume and seek sliders */
}
/* Hide default video controls */
video::-webkit-media-controls {
display: none !important;
}