-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path_testimonial.css
More file actions
83 lines (71 loc) · 1.41 KB
/
_testimonial.css
File metadata and controls
83 lines (71 loc) · 1.41 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
.testimonial {
gap: var(--space--medium) var(--space--base);
}
.quote-container {
display: grid;
grid-template-columns: subgrid;
background-color: var(--color--background-dark);
padding: var(--space--small) var(--space--large);
border-radius: var(--border-radius--base);
}
.author {
align-items: center;
background-color: var(--color--background-dark);
border-radius: var(--border-radius--base);
display: flex;
gap: var(--space--base);
grid-column: span 12;
margin: auto;
max-width: 26rem;
order: 1;
padding: var(--space--large) 0;
p {
margin: 0;
}
}
.author-avatar {
aspect-ratio: 1;
background-color: var(--color--accent-base);
border-radius: var(--border-radius--base);
overflow: hidden;
width: 4.5rem;
}
.quote {
grid-column: span 12;
order: 0;
text-indent: -0.65rem;
}
.logo-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: var(--space--base);
justify-content: center;
.logo {
opacity: 0.8;
scale: 0.7;
width: min-content;
}
}
@media (min-width: 998px) {
.quote-container {
background: none;
}
.quote {
grid-column: span 7;
order: 1;
}
.author {
grid-column: span 5;
margin-inline-end: var(--space--large);
order: 0;
padding: var(--space--large);
}
.logo-container {
justify-content: space-between;
padding: var(--space--x-large);
.logo {
scale: 1;
}
}
}