-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (105 loc) · 2.05 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
*,*::after,*::before{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #bbc6fa;
}
.quote-box{
background: #fff;
width: 43.75rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 40px;
border-radius: 10px;
text-align: center;
box-shadow: 0 10px 20px 0px rgba(0, 0, 0, 0.15);
}
.quote-box h2{
font-size: 2rem;
margin-bottom: 40px;
position: relative;
}
.quote-box h2::after{
content: "";
width: 75px;
height: 3px;
background: rgb(23, 124, 229);
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
.quote-box blockquote{
font-size: 1.6rem;
min-height: 5rem;
}
.quote-box blockquote::before , .quote-box blockquote::after{
content: '"';
}
.quote-box span{
display: block;
float: right;
margin-top: 10px;
position: relative;
}
.quote-box span::before{
content: "";
height: 2px;
width: 20px;
background: rgb(23, 124,229 );
position: absolute;
top: 50%;
left: -25px;
}
.quote-box div{
width: 100%;
margin-top: 50px;
display: flex;
justify-content: center;
}
.quote-box button{
background: rgb(23, 124, 229);
color: #fff;
border-radius: 25px;
border: 1px solid rgb(23, 124, 229);
width: 7rem;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
cursor: pointer;
margin: 0.5rem;
}
.quote-box button:hover{
background: #fff;
color:rgb(23, 124, 229) ;
}
.quote-box button i{
font-size: 20px;
margin-right: 8px;
}
@media only screen and (max-width:710px){
.quote-box{
width: 35rem;
}
}
@media only screen and (max-width:570px){
.quote-box{
width: 25rem;
}
}
@media only screen and (max-width:400px){
.quote-box{
width: 23rem;
}
.quote-box button{
width: 6rem;
height: 35px;
}
}