-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (85 loc) · 1.72 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body{
background: #bbc6fa;
}
.quote-box{
background: #ffffff;
position: absolute;
width: 700px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 40px;
border-radius: 10px;
text-align: center;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
}
.quote-box h2{
font-size: 32px;
margin-bottom: 40px;
position: relative;
}
.quote-box h2::after{
content: "";
width: 75px;
height: 3px;
border-radius: 3px;
background: rgb(23, 124, 229);
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
.quote-box blockquote{
font-size: 26px;
min-height: 110px;
}
.quote-box blockquote::before, .quote-box blockquote::after{
content: '"';
}
.quote-box span{
display: block;
margin-top: 10px;
float: right;
position: relative;
}
.quote-box span::before{
content: "";
width: 20px;
height: 2px;
background: rgb(23, 124, 229);
position: absolute;
top: 50%;
left: -30px;
}
.quote-box div{
width: 100%;
margin-top: 50px;
display: flex;
justify-content: center;
}
.quote-box button{
background: rgb(23, 124, 229);
color: #ffffff;
border-radius: 25px;
border: 1px solid rgb(23, 124, 229);
width: 150px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
margin: 5px;
font-size: 16px;
cursor: pointer;
}
.quote-box button img{
width: 20px;
margin-right: 10px;
border-radius: 100px;
}