-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (97 loc) · 1.99 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
* {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
}
body {
background: radial-gradient(rgb(0, 255, 255), rgba(139, 235, 86, 0.827) 50%);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.quote-box {
background: #fff;
max-width: 700px;
width: 100%;
padding: 40px;
border-radius: 10px;
text-align: center;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
background: linear-gradient(-90deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.quote-box h2 {
font-size: 32px;
margin-bottom: 40px;
position: relative;
}
.quote-box h2::after {
content: '';
width: 75px;
height: 3px;
border-radius: 3px;
background: #333;
position: absolute;
bottom: -10px;
left: 50%;
transform: translate(-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;
}
.quote-box span::before {
content: '';
width: 20px;
height: 2px;
background: #333;
position: absolute;
top: 50%;
left: -30px;
}
.quote-box div {
width: 100%;
margin-top: 50px;
display: flex;
justify-content: center;
}
.quote-box button {
background-color: rgba(74, 74, 74, 0.5);
color: #fff;
border-radius: 5px;
border: 1px solid #333;
width: 150px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
margin: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.quote-box button:hover {
background-color: #76e65e;
color: white;
}