forked from react/react-native-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.module.css
More file actions
50 lines (44 loc) · 940 Bytes
/
Copy pathstyles.module.css
File metadata and controls
50 lines (44 loc) · 940 Bytes
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
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.videos {
display: grid;
grid-template-columns: repeat(2, minmax(300px, 1fr));
gap: 1rem;
margin: 2rem auto;
}
.videoContainer {
border: 1px solid var(--home-border);
border-radius: 12px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.03);
padding: 16px;
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 400px;
background: var(--home-background);
}
.video {
width: 100%;
height: 200px;
border-radius: 8px;
border: 1px solid var(--home-border);
}
.videoInfo {
display: flex;
gap: 1rem;
align-items: center;
justify-content: space-between;
}
.videoInfo p {
position: relative;
top: 2px;
}
@media only screen and (max-width: 700px) {
.videos {
grid-template-columns: repeat(1, 1fr);
}
}