-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment.css
233 lines (216 loc) · 4.69 KB
/
payment.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
*{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
}
body{
background: #000000; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #434343, #000000); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: whitesmoke;
display: flex;
}
.container{
height: 100vh;
width: 100%;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
z-index: 3;
width: 100%;
border-bottom: 1px lightgreen solid;
}
.icons #menu-btn{
display: none;
}
.icons #menu-btn:hover{
color: lightgreen;
transition-duration: 0.21s;
}
.icons{
cursor: pointer;
}
.nav{
display: flex;
padding: 0 6%;
justify-content: space-between;
align-items: center;
}
.nav.active{
right: 0;
}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
}
.nav-links ul li a{
color: whitesmoke;
text-decoration: none;
font-weight: bold;
}
.nav-links ul li::after{
content: "";
width: 0;
height: 2px;
background-color: lightgreen;
display: block;
margin: auto;
transition: 0.5s;
}
.nav-links ul li:hover::after{
width: 100%;
}
nav .fa{
display: none;
}
.logo{
color: whitesmoke;
font-family: "Open Sans", sans-serif;
font-weight: bold;
font-size: 22px;
padding: 0 6%;
}
.logo a{
text-decoration: none;
color: whitesmoke;
}
.logo a:hover{
color: lightgreen;
}
.title{
text-align: center;
margin-top: 50px;
}
.title .color{
color: lightgreen;
}
.form{
margin: 10vh auto;
background:transparent ;
color: whitesmoke;
border: none;
border-radius: 10px;
width: 50em;
height: 50%;
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.form p{
text-align: center;
padding-top: 40px;
margin-bottom: -40px;
font-size: x-large;
font-family: Rubik,"Open Sans", sans-serif;
}
.form form{
display: flex;
flex-direction: column;
padding: 5rem;
height: 100%;
}
.form form label{
padding: 1rem;
}
.balance{
}
.form form .submit{
width: 20%;
margin: 20px auto;
border-radius: 5px;
border:1px solid rgba(0,0,0,20.9%) ;
font-size: large;
padding: 5px 0;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.form form .submit:hover{
background: lightgreen;
transform: scale(1.05);
transition-duration: 0.7s;
}
.form form input[name="amount"]{
width: 100px;
font-size: large;
border-radius: 5px;
border:1px solid rgba(0,0,0,20.9%);
padding: 5px 2px;
}
.form form input[name="name"]{
font-size: large;
border-radius: 5px;
border:1px solid rgba(0,0,0,20.9%);
padding: 5px 2px;
}
.cards{
display: flex;
justify-content: center;
}
.card{
width: 250px;
height: 20vh;
background: whitesmoke;
margin: 0 10px;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.2) 0 60px 40px -7px;
}
.card img{
width: 100%;
height: 100%;
border-radius: 10px;
}
.card:hover{
transform: scale(1.1);
transition-duration: 0.7s;
}
@media (max-width: 898px){
.form{
width: 90%;
}
.form form .submit{
width: 50%;
}
.form form{
width: 70%;
display: flex;
flex-direction: column;
padding: 5rem 0;
height: 100%;
margin: 0 auto;
}
.form form input[name="amount"]{
width: 100px;
margin-top: 1em;
font-size: large;
border-radius: 5px;
border:1px solid rgba(0,0,0,20.9%);
padding: 5px 2px;
display: block;
}
.form form input[name="name"]{
display: block;
margin-top: 1em;
}
.icons #menu-btn{
display: inline-block;
padding-right: 1em;
}
header .nav{
position: absolute;
top: 6.2%;
height: calc(100vh);
right: -100%;
background: linear-gradient(30deg, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
align-items: flex-start;
}
header .nav .nav-links .menu li {
display: block;
margin: 1.5rem;
}
}