-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (111 loc) · 2.23 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anonymous-txt</title>
<style>
.Generator {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;
align-content: center;
position: absolute;
max-width: 38em;
margin: auto;
position: relative;
top: -20px;
gap: 1em;
}
#show {
word-break: break-all;
}
#gen {
display: inline-block;
padding: 10px 12px;
font-weight: 600;
font-size: 20px;
font-variant: normal;
touch-action: manipulation;
text-rendering: geometricPrecision;
outline: none;
border: none;
speak: none;
user-select: none;
pointer-events: auto;
background: green;
color: white;
width: 9em;
text-align: center;
/*margin: auto;*/
}
#dec {
display: inline-block;
padding: 10px 12px;
font-weight: 600;
font-size: 20px;
font-variant: normal;
touch-action: manipulation;
text-rendering: geometricPrecision;
outline: none;
border: none;
speak: none;
user-select: none;
pointer-events: auto;
background: red;
color: white;
width: 9em;
text-align: center;
/*margin: auto;*/
}
input {
width: 100%;
height: 50px;
}
/*#show {
display: block;
background: #e3e1e1;
padding: 30px;
border-radius: 10px;
}*/
.Randomgen {
display: flex;
justify-content: center;
font-size: 81px;
font-family: system-ui;
letter-spacing: -6px;
color: #0da40d;
margin-top: 183px;
}
@media only screen and (max-width: 600px) {
.Randomgen {
display: flex;
justify-content: center;
font-size: 51px;
font-family: system-ui;
letter-spacing: -3px;
color: #0da40d;
margin-top: 183px;
}
}
#gen:hover {
cursor: pointer;}
#dec:hover {
cursor: pointer;}
</style>
</head>
<body style="background: #201f1f;">
<h1 class="Randomgen" style="color: white;">Anonymous-txt</h1>
<div class="Generator">
<input placeholder="enter your text to get Anonymous" id="txt" type="name">
<div style="display: flex;gap: 0.6em;margin: auto; justify-content:center;flex-wrap: wrap;
">
<button id="gen">Generate</button>
<button id="dec">Decode</button>
</div>
<!-- <div id="show"></div> -->
</div>
<script src="randomgen.js"></script>
</body>
</html>