feat: update index.html

This commit is contained in:
2025-09-12 01:39:48 -07:00
parent c96554a08a
commit f358bbe3ba

View File

@@ -7,6 +7,7 @@
<body> <body>
<div id="overbar"><p>inØsight 2.1.0<a id="homepage" href="https://github.com/planetrenox/inzerosight" target="_blank">source</a></p></div> <div id="overbar"><p>inØsight 2.1.0<a id="homepage" href="https://github.com/planetrenox/inzerosight" target="_blank">source</a></p></div>
<textarea id="textarea" placeholder="input text here..."></textarea> <textarea id="textarea" placeholder="input text here..."></textarea>
<div id="controls">
<input id="encodeButton" type="button" name="button" value="encode to clipboard"/> <input id="encodeButton" type="button" name="button" value="encode to clipboard"/>
<input id="decodeButton" type="button" name="button" value="decode from text"/> <input id="decodeButton" type="button" name="button" value="decode from text"/>
<select id="encoder"> <select id="encoder">
@@ -23,31 +24,20 @@
<option>SPECK32_64ECB</option> <option>SPECK32_64ECB</option>
</optgroup> </optgroup>
</select> </select>
</div>
<p id="notice"> <p id="notice">
notice: some platforms restrict Ø width characters. notice: some platforms restrict Ø width characters.
</p> </p>
<script src="dash.js"></script> <script src="dash.js"></script>
</body> </body>
<style> <style>
html, body, div, span, applet, object, iframe, *, *::before, *::after {
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-size: 100%;
font: inherit; font: inherit;
vertical-align: baseline; vertical-align: baseline;
box-sizing: border-box;
} }
article, aside, details, figcaption, figure, article, aside, details, figcaption, figure,
@@ -60,8 +50,11 @@
body { body {
font-family: Candara, "DejaVu Sans", sans-serif, Arial, Helvetica; font-family: Candara, "DejaVu Sans", sans-serif, Arial, Helvetica;
background-color: #002b4d; background-color: #002b4d;
width: 500px; max-width: 500px;
height: 320px; min-height: 100vh;
margin: auto;
display: flex;
flex-direction: column;
line-height: 1; line-height: 1;
border: 1.5px solid rgb(0, 126, 199); border: 1.5px solid rgb(0, 126, 199);
} }
@@ -70,9 +63,9 @@
padding: 1.5%; padding: 1.5%;
font-size: 10px; font-size: 10px;
font-weight: bold; font-weight: bold;
margin-bottom: 0px;
color: rgb(229, 244, 255, 0.6); color: rgb(229, 244, 255, 0.6);
border-bottom: 1px solid rgb(0, 126, 199, .5); border-bottom: 1px solid rgb(0, 126, 199, .5);
flex-shrink: 0;
} }
#homepage { #homepage {
@@ -85,52 +78,49 @@
#textarea { #textarea {
background-color: #e6e6e6; background-color: #e6e6e6;
margin: 1.5%; margin: 1.5%;
width: 95.5%; width: auto;
height: 69%; flex: 1;
resize: vertical;
font-family: "Open Sans", Candara, "DejaVu Sans", sans-serif, Arial, Helvetica; font-family: "Open Sans", Candara, "DejaVu Sans", sans-serif, Arial, Helvetica;
font-size: 13px; font-size: 13px;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
padding: 5px;
}
#controls {
display: flex;
flex-wrap: wrap;
gap: .5em;
padding: 0 1.5% 1.5%;
}
#controls > * {
flex: 1 1 120px;
color: #002b4d;
cursor: pointer;
padding: .3em;
} }
input { input {
font-size: 11.5px; font-size: 11.5px;
} }
#encodeButton {
display: inline-block;
margin-bottom: 0px;
margin-left: 1.5%;
color: #002b4d;
cursor: pointer;
}
#decodeButton {
margin-bottom: 0px;
margin-left: 1.5%;
color: #002b4d;
cursor: pointer;
}
select { select {
display: inline-block;
margin-bottom: 0px;
margin-left: 1.5%;
color: #002b4d;
background-color: #e6e6e6; background-color: #e6e6e6;
text-align: center; text-align: center;
font-size: 11px; font-size: 11px;
width: 8.5em;
} }
#notice { #notice {
font-size: 10px; font-size: 10px;
margin-top: 1.5%; margin-top: auto;
padding: .8% 0% 0% 1.7%; padding: .8% 1.7%;
color: rgb(229, 244, 255, 0.6); color: rgb(229, 244, 255, 0.6);
border-top: 1px solid rgb(0, 126, 199, .5); border-top: 1px solid rgb(0, 126, 199, .5);
flex-shrink: 0;
} }
#versions { #versions {