-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (98 loc) · 1.77 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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background-color: #ecf2f8;
font-family:'barlow semi condensed', 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 rgb(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;
position: relative;
}
.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: 15px;
top:0;
z-index:1;
}
@media (min-width: 576px){
#testimonial-grid-container,
#main-left,
#top,
#bottom{
display: flex;
}
#top, #bottom{
flex-basis: 50%;
}
#testimonial-5{
flex-basis: 20%;
}
#main-left{
flex-direction: column;
flex-basis: 80%;
}
#main-left .grid-item{
margin-right: 15px;
}
#testimonial-1, #testimonial-4{
flex-basis: 65%;
}
#testimonial-2, #testimonial-3{
flex-basis: 35%;
}
#testimonial-grid-container{
max-width: 1440px;
margin: 0 auto;
}
}