-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
247 lines (225 loc) · 5.01 KB
/
index.php
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Giriş Yap</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&family=Syne:wght@800&display=swap">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #23242a;
}
.box {
position: relative;
width: 400px;
height: 470px;
background: #1c1c1c;
border-radius: 18px;
overflow: hidden;
}
.box::before {
content: "";
position: absolute;
width: 4000px;
height: 470px;
top: -50%;
left: -50%;
background: linear-gradient(
0deg,
transparent,
transparent,
#45f3ff,
#45f3ff,
#45f3ff
);
z-index: 1;
transform-origin: bottom right;
animation: animate 6s linear infinite;
}
.box::after {
content: "";
position: absolute;
width: 400px;
height: 470px;
top: -50%;
left: -50%;
background: linear-gradient(
0deg,
transparent,
transparent,
#ffff00,
#ffff00,
#ffff00
);
z-index: 1;
transform-origin: bottom right;
animation: animate 6s linear infinite;
animation-delay: -3s;
}
.borderLine {
position: absolute;
top: 0;
inset: 0;
}
.borderLine::before {
content: "";
position: absolute;
width: 400px;
height: 470px;
top: -50%;
left: -50%;
background: linear-gradient(
0deg,
transparent,
transparent,
#fc0f8d,
#fc0f8d,
#fc0f8d
);
z-index: 1;
transform-origin: bottom right;
animation: animate 6s linear infinite;
}
@keyframes animate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.box form {
position: absolute;
inset: 4px;
background: #222;
padding: 50px 40px;
border-radius: 18px;
z-index: 2;
display: flex;
flex-direction: column;
}
.box form h2 {
color: #fff;
font-weight: 500;
text-align: center;
letter-spacing: 0.1em;
}
.box form .inputBox {
position: relative;
width: 300px;
margin-top: 35px;
}
.box form .inputBox input {
position: relative;
width: 100%;
padding: 20px 10px 10px;
background: transparent;
outline: none;
border: none;
box-shadow: none;
color: #23242a;
font-size: 1em;
letter-spacing: 0.05em;
transition: 0.5s;
z-index: 10;
}
.box form .inputBox span {
position: absolute;
left: 0;
padding: 20px 0px 10px;
pointer-events: none;
color: #8f8f8f;
font-size: 1em;
letter-spacing: 0.05em;
transition: 0.5s;
}
.box form .inputBox input:valid ~ span,
.box form .inputBox input:focus ~ span {
color: #fff;
font-size: 0.75em;
transform: translateY(-34px);
}
.box form .inputBox i {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: #fff;
border-radius: 7px;
overflow: hidden;
transition: 0.5s;
pointer-events: none;
}
.box form .inputBox input:valid ~ i,
.box form .inputBox input:focus ~ i {
height: 44px;
}
.box form .links {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.box form .links a {
margin: 15px 12px 20px 0;
font-size: 0.75em;
color: #8f8f8f;
text-decoration: none;
}
.box form .links a:hover,
.box form .links a:nth-child(2) {
color: #fff;
}
.box form input[type="submit"] {
border: none;
outline: none;
padding: 9px 25px;
background: #fff;
cursor: pointer;
font-size: 0.9em;
border-radius: 7px;
font-weight: 600;
width: 100px;
margin-top: 10px;
transition: 0.6s;
}
.box form input[type="submit"]:hover {
background-color: #31e1f7;
}
.box form input[type="submit"]:active {
opacity: 0.8;
}
</style>
</head>
<body>
<div class="box">
<form method="POST" action="giris.php">
<h2>Giriş</h2>
<div class="inputBox">
<input type="text" name="kullaniciadi" id="kullaniciadi" required>
<span>Kullanıcı Adı</span>
<i></i>
</div>
<div class="inputBox">
<input type="password" name="sifre" id="sifre" required>
<span>Şifre</span>
<i></i>
</div>
<div class="links">
<a href="#">Destek</a>
<a href="#">Yardım</a>
</div>
<input type="submit" value="Giriş Yap">
</form>
</div>
</body>
</html>