-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTestimonials.scss
74 lines (74 loc) · 1.54 KB
/
Testimonials.scss
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
.testimonials {
display: flex;
flex-direction: column;
width: 100%;
background-color: #efefef;
font-family: "Poppins";
text-align: center;
h1 {
margin-bottom: 0;
font-size: 2.5em;
}
p {
color: #58595B;
}
}
.testimonial-container {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.testimonial-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 22em;
background-color: white;
margin-bottom: 20px;
margin-top: 6em;
border-radius: 5px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
img {
border-radius: 50%;
width: 10em;
border: 10px solid #efefef;
transform: translateY(-5em);
}
h3 {
margin: 0;
font-size: 1.5em;
transform: translateY(-3em);
}
h4 {
margin: 0;
font-size: 1.2em;
transform: translateY(-4em);
color: #777777;
}
.quote {
display: block;
transform: translateY(-4em);
}
p {
display: block;
width: 85%;
margin: 0 auto -2em;
transform: translateY(-4em);
color: #58595B;
}
}
@media only screen and (min-width: 992px) {
.testimonial-container {
width: 90%;
margin: auto;
}
.testimonial-card {
margin-right: 8em;
}
.testimonial-card:nth-of-type(3n) {
margin-right: 0;
}
}