-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (117 loc) · 2.59 KB
/
style.css
File metadata and controls
134 lines (117 loc) · 2.59 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.title {
font-size: 35px;
font-weight: 600;
margin-bottom: 30px;
}
.container {
background-color: #ffffffbf;
backdrop-filter: blur(15px);
width: 620px;
padding: 30px;
border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
border-style: solid;
border-width: 2px;
box-shadow: rgba(0, 0, 0, 0.2) 15px 28px 25px -18px;
box-sizing: border-box;
transition: all 235ms ease-in-out;
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
}
.quote-container {
padding: 20px;
}
.quote {
font-size: 20px;
font-weight: 500;
}
h5 {
font-size: 14px;
font-weight: 700;
font-style: italic;
margin-top: 10px;
margin-right: 10px;
text-align: right;
}
.all-btns {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 40px;
}
.btn {
background-color: #fff;
border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
border-style: solid;
border-width: 2px;
box-shadow: rgba(0, 0, 0, 0.2) 15px 28px 25px -18px;
box-sizing: border-box;
color: #41403e;
cursor: pointer;
padding: 10px 15px;
transition: all 235ms ease-in-out;
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
}
.btn:hover {
box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 8px -5px;
transform: translate3d(0, 2px, 0);
}
.btn:focus {
box-shadow: rgba(0, 0, 0, 0.3) 2px 8px 4px -6px;
}
.ri-download-2-line {
font-size: 20px;
}
@media only screen and (max-width: 600px) {
.title {
font-size: 25px;
margin-bottom: 20px;
text-align: center;
}
.container {
margin: 15px;
width: 93%;
padding: 20px;
}
.quote-container {
padding: 10px;
}
.all-btns {
display: flex;
flex-direction: column;
justify-content: center;
gap: 10px;
margin-top: 40px;
}
}