-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
56 lines (49 loc) · 987 Bytes
/
styles.css
File metadata and controls
56 lines (49 loc) · 987 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
51
52
53
54
55
56
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap");
body {
margin: 0;
padding: 0;
color: #3c484e;
font-family: "Open Sans", sans-serif;
}
.Main {
padding: 10px;
grid-template-columns: minmax(auto, 768px);
display: grid;
justify-content: center;
}
.Items {
grid-template-columns: repeat(2, 1fr);
grid-gap: 1.5rem;
grid-row-gap: 1.5em;
display: grid;
}
.Card {
text-decoration: none;
box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06),
1px 3px 8px rgba(39, 44, 49, 0.03);
border-radius: 5px;
margin: 0 0 20px 0;
display: block;
animation-duration: 4s;
animation-name: fade;
}
.Card img {
width: 100%;
height: auto;
border-radius: 5px 5px 0 0;
}
.Card h2 {
font-size: 18px;
font-weight: 300;
padding: 5px 10px;
display: flex;
justify-content: space-between;
}
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}