-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (102 loc) · 2 KB
/
style.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
122
123
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #ecf2f8;
font-family: 'Barlow Semi Condensed', sans-serif;
/* font-family: 'Karla', sans-serif; */
}
#testimonial-grid-container {
padding: 5% 3%;
}
#testimonial-1 {
background-color: #7541c8;
color: #ffffff;
position: relative;
z-index: 0;
}
#testimonial-2 {
background-color: #48556a;
color: #ffffff;
}
#testimonial-3, #testimonial-5 {
background-color: #ffffff;
color: #48556a;
}
#testimonial-4 {
background-color: #19212e;
color: #ffffff;
}
.grid-item {
margin-bottom: 20px;
padding: 20px;
border-radius: 5px;
box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
font-size: 13px;
}
.grid-item p {
opacity: 70%;
}
.header {
display: flex;
align-items: center;
margin-bottom: 20px;
z-index: 3;
}
.header .name {
opacity: 100%;
font-size: 1rem;
}
.header img {
border-radius: 50%;
margin-right: 10px;
border: 1px solid #7541c8;
}
.grid-item h4 {
margin-bottom: 20px;
font-size: 1.2rem;
font-weight: 600;
}
#quote {
position: absolute;
right: 15%;
top: 0;
z-index: 1;
}
@media (min-width: 576px) {
#testimonial-grid-container,
#main-left,
#top,
#bottom {
display: flex;
}
#top, #bottom {
flex-basis: 50%;
}
#testimonial-1,
#testimonial-4 {
flex-basis: 65%;
}
#testimonial-2,
#testimonial-3 {
flex-basis: 35%;
}
#testimonial-grid-container {
/* display: flex; */
max-width: 900px;
margin: 0 auto;
justify-content: space-between;
}
#testimonial-5 {
flex-basis: 25%;
}
#main-left {
flex-direction: column;
flex-basis: 75%;
}
#main-left .grid-item {
margin-right: 15px;
}
}