-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (108 loc) · 2.08 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background: #bbc6fa;
}
.container {
padding: 0 10px;
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.quote-box {
background: #fff;
width: 100%;
max-width: 400px;
padding: 20px 10px;
border-radius: 10px;
text-align: center;
box-shadow: 0 10px 20px 0px rgba(0, 0, 0, 0.15);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
}
.quote-box h2 {
font-size: 32px;
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%);
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-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: #fff;
border: 1px solid rgb(23, 124, 229);
width: 150px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
margin: 5px;
cursor: pointer;
border-radius: 25px;
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
-ms-border-radius: 25px;
-o-border-radius: 25px;
}
.quote-box button img {
width: 20px;
margin-right: 10px;
}
.quote-box button:nth-child(2) {
background: transparent;
color: #333;
}