-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (35 loc) · 1.57 KB
/
index.html
File metadata and controls
39 lines (35 loc) · 1.57 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
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Login</title>
<style>
body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #f4f6f8; margin: 0; }
.login-box { width: 320px; background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.login-box h2 { margin: 0 0 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: #444; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid #d0d7de; border-radius: 6px; font-size: 14px; box-sizing: border-box; }
button { width: 100%; padding: 10px 14px; background: #0969da; color: #fff; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; }
button:hover { background: #0758b7; }
.note { font-size: 12px; color: #666; margin-top: 10px; }
</style>
</head>
<body>
<div class="login-box">
<h2>Login</h2>
<div class="field">
<label for="name">Nome</label>
<input type="text" id="name" placeholder="Mario Bianchi" required />
</div>
<div class="field">
<label for="email">Email</label>
<input type="email" id="email" placeholder="test@test.test" required />
</div>
<button onclick="login()">Accedi</button>
<p class="note">Accetta qualsiasi nome/email. Usa <b>test@test.test</b> per abilitare la chat..</p>
</div>
<script src="script.js"></script>
</body>
</html>