-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (80 loc) · 2.49 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.tailwindcss.com"></script>
<title>Key Logger | App</title>
</head>
<style>
main {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#main-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@media screen and (min-width: 767px) {
#main-container {
box-shadow: 0px 20px 100px 1px #078ed6da;
padding: 100px;
border-radius: 3rem;
}
}
#btn-container>button {
border: 2px solid rgb(177, 177, 177);
padding: 10px;
margin: 10px;
border-radius: 4px;
font-size: 12px;
background-color: rgb(247, 247, 247);
}
#display-container>div {
width: 300px;
height: 80px;
border: 2px solid rgb(155, 155, 155);
margin: 10px;
border-radius: 4px;
color: white;
font-size: 20px;
background-color: rgba(7, 142, 214, 0.856);
display: flex;
justify-content: center;
align-items: center;
}
@media screen and (min-width: 374px) {
#display-container>div {
width: 340px;
}
}
#btn-container>button:hover {
background-color: rgb(243, 243, 243);
}
</style>
<body>
<main>
<div id="main-container">
<h2 class="text-2xl mb-8 border-2 p-2 border-gray rounded bg-slate-100">Key Logger App</h2>
<p class="text-sm mb-6">Explore this Website!</p>
<div id="btn-container" class="flex flex-wrap justify-center">
<button id="start">Start Logging KeyPresses</button>
<button id="stop">Stop Logging KeyPresses</button>
</div>
<div id="display-container" class="flex flex-wrap justify-center">
<div id="log"></div>
<div id="state"></div>
</div>
</div>
</main>
<script src="app.js"></script>
</body>
</html>