-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandomvalue.html
223 lines (192 loc) · 5.75 KB
/
randomvalue.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
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>True Random Integers</title>
<style type="text/css">
body
{
width: 100%;
height:100%;
position:fixed;
padding: 0px;
background-color:#f4f5f7;
font-family: Charlie Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;
}
.header
{
padding:10px;
display: inline-block;
background-color: #CCCCFF;
width: 100%;
height: 70px;
margin-left: -23px;
font-family: Charlie Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;
font-weight:600;
letter-spacing:1px;
color:#253858;
font-size:45px;
text-align:center;
}
.main
{
height:200px;
width: 100%;
margin-bottom: 0px;
letter-spacing:1px;
}
.main_box1
{
font-weight:600;
width: 100%;
text-align: center;
}
.main_box2
{
width:80%;
color: #42526E;
font-size: 23px;
margin-left:10%;
margin-top: -5px;
margin-bottom: 0px;
font-family: Charlie Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif;
text-align: center;
}
.widget
{
margin-top: 20px;
padding-top: 0px;
background-repeat: no-repeat;
background-position: center;
height: 350px;
background-size: 400px;
}
.block
{
margin-top:0;
margin-left:-10px;
height:50px;
}
.curve
{
background-color:#f4f5f7;
width:100%;
margin-left:-23px;
margin-bottom:0px;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 5px;
padding: 5px;
border: 2px;
outline: 0;
vertical-align: baseline;
}
#true-random-integer-generator {
font-family: verdana,sans;
font-size: 25px;
background: #FFFFFF;
padding: 5px;
margin: 0px;
width: 588px;
height:350px;
color: #777777;
border: 2px solid #CCCCFF;
}
#true-random-integer-generator-title {
text-align: center;
padding: 5px;
display: block;
background: #CCCCFF;
color: #000000;
margin: -6px;
margin-bottom: 10px;
font-size:25px;
}
#true-random-integer-generator-min-span {
display: block;
margin-bottom: 5px;
font-size:25px;
}
#true-random-integer-generator-max-span {
display: block;
margin-bottom: 5px;
font-size:25px;
}
#true-random-integer-generator-result {
display: block;
padding: 2px;
margin-bottom: 10px;
color: #000000;
background: #CCCCFF;
font-size:25px;
}
#true-random-integer-generator-credits {
display: block;
font-size: 25px;
text-align: right;
padding: 5px;
}
#true-random-integer-generator-credits a {
color: #777777;
font-size:25px;
}
#true-random-integer-generator-button {
display: block;
font-size:22pt;
}
#true-random-integer-generator-max-span label {
color: #777777;
font-size:25px;
}
#true-random-integer-generator-max-span input {
width: 200px;
margin-left: 6px;
font-size:25px;
}
#true-random-integer-generator-min-span label {
color: #777777;
}
#true-random-integer-generator-min-span input {
width: 200px;
margin-left: 10px;
font-size:25px;
}
</style>
</head>
<body>
<div class="header">
WELCOME!★★★True Random Integers
</div>
<div class="main">
<div class="main_box1"><p style="font-size: 40px;color: #253858;text-align: center;font-family: Charlie Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Droid Sans,Helvetica Neue,sans-serif">
Some realization of true random integers</p>
</div>
<div class="main_box2"><p style="">
Most random variables used in computors are actually <I>pseudo-random</I>.This website <a href="https://www.random.org/">https://www.random.org/</a> offers random varriables of which the radomness comes from atmosphere noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs. </p>
</div>
</div>
<div class="widget" align="center">
<div id="true-random-integer-generator">
<span id="true-random-integer-generator-title">True Random Number Generator</span>
<span id="true-random-integer-generator-min-span">
<label for="true-random-integer-generator-min">Min:</label>
<input name="true-random-integer-generator-min" id="true-random-integer-generator-min" onkeypress="return integerJsInputControl(event);" type="number" maxlength="9" value="">
</span>
<span id="true-random-integer-generator-max-span">
<label for="true-random-integer-generator-max">Max:</label>
<input name="true-random-integer-generator-max" id="true-random-integer-generator-max" onkeypress="return integerJsInputControl(event);" type="number" maxlength="9" value="">
</span>
<span id="true-random-integer-generator-max-button-span">
<input name="true-random-integer-generator-button" id="true-random-integer-generator-button" onclick="getTrueRandomInteger(document.getElementById('true-random-integer-generator-min').value, document.getElementById('true-random-integer-generator-max').value);" type="button" value="Generate">
</span>
<label for="true-random-integer-generator-result" style="float=left;margin:10px;">Result:</label>
<span id="true-random-integer-generator-result" style="margin-top:20px;height:35px;font-size:25px;"></span>
<span id="true-random-integer-generator-credits">Powered by <a href="https://www.random.org/" target="_blank">RANDOM.ORG</a></span>
</div></body>
</div>
<div class="block"></div>
<div class="curve">
<svg xmlns="http://www.w3.org/2000/svg" class="curve-container__curve curve-three" viewBox="0 0 1440 68" enable-background="new 0 0 1440 68"><path fill="white" transform="translate(0 -1977)" d="m 1622.3 1937.7 c 0 0 -410.7 169.1 -913.4 75.5 c -502.7 -93.6 -977.7 56.3 -977.7 56.3 v 440 h 1891.1 v -571.8" /></svg>
</div>
</body>
</html>