-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (144 loc) · 2.74 KB
/
style.css
File metadata and controls
167 lines (144 loc) · 2.74 KB
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
/* General Styles */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
background-color: #f9f9f9;
}
header {
display: flex;
align-items: center;
background-color: #ffffff;
padding: 10px 20px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
}
.logo h1 span {
color: rgb(57, 198, 200);
}
.logo img {
height: 40px;
margin-right: 10px;
}
#search-form {
display: flex;
flex: 1;
margin-left: 20px;
}
#search-input {
flex: 1;
padding: 8px 12px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 2px 0 0 2px;
}
#search-form button {
padding: 8px 16px;
font-size: 16px;
border: 1px solid #ccc;
background-color: rgb(57, 198, 200);
color: white;
border-radius: 0 2px 2px 0;
cursor: pointer;
}
#search-form button:hover {
background-color: rgb(57, 198, 200);
}
/* Video List */
#video-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
}
.video-item {
width: 300px;
margin: 15px;
background-color: #ffffff;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.video-thumbnail {
width: 100%;
height: 170px;
background-size: cover;
background-position: center;
}
.video-info {
padding: 10px;
}
.video-title {
font-size: 16px;
font-weight: 500;
margin-bottom: 5px;
}
.video-channel {
color: #606060;
font-size: 14px;
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
position: relative;
margin: 5% auto;
width: 80%;
max-width: 800px;
}
#video-player {
width: 100%;
height: 450px;
}
#close-modal {
position: absolute;
top: -10px;
right: -10px;
color: white;
font-size: 30px;
font-weight: bold;
background-color: #000;
border-radius: 50%;
padding: 0 10px;
cursor: pointer;
}
#download-mp3 {
display: block;
margin: 20px auto;
padding: 10px 20px;
font-size: 16px;
background-color: #e62117;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#download-mp3:hover {
background-color: #cc1c13;
}
/* Responsive Design */
@media (max-width: 768px) {
#video-player {
height: 300px;
}
}
@media (max-width: 576px) {
.video-item {
width: 100%;
}
#video-player {
height: 200px;
}
}