-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
52 lines (42 loc) · 817 Bytes
/
index.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
.container-width {
width: 90%;
max-width: 1150px;
margin: 0 auto;
}
.cards {
padding: 20px 0;
display: flex;
justify-content: space-around;
flex-flow: wrap;
}
.card {
background-color: #2f3136;
height: auto + 100px;
width: 300px;
margin-bottom: 30px;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
border-radius: 2px;
transition: all 0.5s ease;
font-weight: 100;
overflow: hidden;
}
.card:hover {
margin-top: -5px;
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
}
.card-header {
background-size: cover;
background-position: center center;
}
.card-body {
padding: 25px 25px 25px 25px;
color: white;
}
.card-title {
font-size: 1.4em;
margin-bottom: 5px;
}
.card-desc {
font-size: 0.85rem;
line-height: 17px;
}