-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
101 lines (85 loc) · 1.78 KB
/
styles.css
File metadata and controls
101 lines (85 loc) · 1.78 KB
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
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #edf2f8;
font-family: 'Barlow', sans-serif;
line-height: 1.7;
font-size: 13px;
}
.testimonials {
max-width: 1440px;
margin: 100px auto;
padding: 20px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 25px;
}
.card {
background: #fff;
border-radius: 10px;
padding: 30px;
box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
margin-bottom: 10px;
}
.card-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.card-header h3{
font-size: 15px;
}
.card-header p {
font-size: 13px;
opacity: 50%;
}
.card-img {
width: 40px;
height: 40px;
border-radius: 50%;
border: hsl(210, 46%, 95%);
margin-right: 10px;
}
.card-lead {
font-size: 1.5rem;
font-weight: 500;
line-height: 1.3;
margin-bottom: 20px;
}
.card-quote {
font-size: 13px;
font-weight: 500;
line-height: 1.4;
opacity: 70%;
}
.card-bg-blueblack {
background-color: hsl(219, 29%, 14%);
color: #edf2f8;
}
.card-bg-grey{
background-color: hsl(217, 19%, 35%);
color: #edf2f8;
}
.card-bg-purple {
background-color: hsl(263, 55%, 52%);
color: #edf2f8;
background-image: url(./images/bg-pattern-quotation.svg);
background-repeat: no-repeat;
background-position: top 10px right 100px;
}
.card:nth-of-type(1) {
grid-column: 1 / 3;
}
.card:nth-of-type(4) {
grid-column: 2 / 4;
grid-row: 2;
}
.card:nth-of-type(3){
grid-row: 1 / 3;
grid-column: 4;
}