-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (85 loc) · 1.46 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: #f4f4f4;
font-family: 'Montserrat', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin: 0;
padding: 10px;
}
.testimonial-container {
background-color: #05668d;
color: #fff;
border-radius: 15px;
margin: 20px auto;
padding: 50px 80px;
max-width: 768px;
position: relative;
}
.fa-quote {
color: rgba(255, 255, 255, 0.3);
font-size: 28px;
position: absolute;
top: 70px;
}
.fa-quote-right {
left: 40px;
}
.fa-quote-left {
right: 40px;
}
.testimonial {
line-height: 28px;
text-align: justify;
}
.user {
display: flex;
align-items: center;
justify-content: center;
}
.user .user-image {
border-radius: 50%;
height: 75px;
width: 75px;
object-fit: cover;
}
.user .user-details {
margin-left: 10px;
}
.user .username {
margin: 0;
}
.user .role {
font-weight: normal;
margin: 10px 0;
color: rgba(225, 225, 225, 0.5);
}
.progress-bar {
background-color: rgba(0, 0, 0, 0.3);
height: 4px;
width: 100%;
transform-origin: left;
animation: grow 10s linear infinite;
}
/* Animations */
@keyframes grow {
0% {
transform: scaleX(0);
}
}
/* Media Queries */
@media (max-width: 768px) {
.testimonial-container {
padding: 20px 30px;
}
.fa-quote {
display: none;
}
}