-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
73 lines (62 loc) · 1.22 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
h1 {
text-align: center;
padding: 20px;
background-color: #333;
color: white;
}
#upload-form {
display: flex;
flex-direction: column;
max-width: 400px;
margin: 20px auto;
padding: 20px;
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#video-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin: 20px auto;
}
.video-container {
position: relative;
background-color: white;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.thumbnail {
width: 100%;
height: auto;
}
.video-details {
padding: 10px;
}
.video-details p {
margin: 0;
font-size: 14px;
color: #444;
}
.likes-dislikes {
margin-top: 10px;
}
.like-button, .dislike-button {
cursor: pointer;
border: none;
background: none;
font-size: 18px;
padding: 5px;
}
.like-count, .dislike-count {
margin: 0 5px;
font-size: 14px;
color: #888;
}