-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyoutubeclone.css
121 lines (102 loc) · 1.89 KB
/
youtubeclone.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #181818;
color: #fff;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #202020;
position: sticky;
top: 0;
z-index: 1000;
}
.logo-container {
display: flex;
align-items: center;
}
.logo {
width: 40px;
margin-right: 10px;
border-radius: 50px;
}
.search-container {
display: flex;
align-items: center;
}
.search-container input {
padding: 5px;
border: none;
border-radius: 2px;
}
.search-button {
padding: 5px 10px;
margin-left: 5px;
background-color: #FF0000;
border: none;
border-radius: 2px;
color: white;
cursor: pointer;
}
.profile-container .profile-pic {
width: 30px;
border-radius: 50%;
}
.main {
display: flex;
}
.sidebar {
width: 200px;
background-color: #202020;
padding-top: 20px;
}
.sidebar a {
display: block;
padding: 10px 20px;
color: #fff;
text-decoration: none;
}
.sidebar a:hover {
background-color: #383838;
}
.content {
flex: 1;
padding: 20px;
display:grid ;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
width: auto;
}
.video {
background-color: #282828;
padding: 10px;
border-radius: 5px;
display:grid ;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.video img {
width: 100%;
border-radius: 5px;
}
.video-info {
padding: 10px 0;
}
.video-info h3 {
margin: 0;
font-size: 1rem;
}
.video-info p {
margin: 5px 0;
font-size: 0.9rem;
color: #aaa;
}
footer{
color: white;
background-color:#202020;
width: 200px;
}