small update to js implementation

FossilOrigin-Name: 320b451250ed338d92d1cf9b15412a47d6267721b5c577b9ec10086a359eab76
This commit is contained in:
crc 2020-04-14 18:00:02 +00:00
parent a4bec63227
commit f55452241f
2 changed files with 8 additions and 27 deletions

View file

@ -12,8 +12,7 @@
<div class='left'>
<textarea id='input' onchange='saveproject()'>
</textarea>
<!-- <iframe src='http://forth.works:9999'></iframe>
-->
<iframe src='http://forth.works:9999'></iframe>
</div>
<div class='right'>
<div style='padding: 8px'>
@ -21,9 +20,7 @@
<button onclick='go()'>Go</button>
</div>
<textarea id='console' style='height: 88vh' readonly></textarea>
<!--
<canvas id="canvas" width="300" height="300"></canvas>
-->
</div>
</body>

View file

@ -20,6 +20,7 @@
body {
background: #b0b0b0;
background: #121212;
color: #222;
font-size: 14pt;
font-family: monospace;
@ -35,8 +36,7 @@
overflow-x: hidden;
height: 99.5%;
background: #b0b0b0;
box-shadow: 3px 3px 6px #969696,
-3px -3px 6px #cacaca;
background: #121212;
width: 49.7%;
}
textarea,
@ -49,8 +49,8 @@
/* For Firefox */
-webkit-box-sizing: border-box;
/* For Safari */
background: #b0b0b0;
color: #222;
background: #121212;
color: #aaa;
font-size: 14pt;
border: 1px;
direction: ltr;
@ -59,9 +59,7 @@ margin-top: 2.5%;
height: 95%;
width: 95%;
border-radius: 11px;
background: #b0b0b0;
box-shadow: inset 3px 3px 6px #969696,
inset -3px -3px 6px #cacaca;
border: 1px solid #aaa;
}
iframe {
height: 30%;
@ -70,22 +68,8 @@ box-shadow: inset 3px 3px 6px #969696,
color: #222;
font-size: 14pt;
border: 15px;
border-radius: 11px;
background: #b0b0b0;
box-shadow: 3px 3px 6px #969696,
-3px -3px 6px #cacaca;
}
xmp {
margin-left: 0.5em;
padding: 5px;
margin-left: 2.5%;
margin-top: 2.5%;
height: 95%;
width: 95%;
border-radius: 11px;
background: #b0b0b0;
box-shadow: inset 3px 3px 6px #969696,
inset -3px -3px 6px #cacaca;
border-radius: 11px;
background: #b0b0b0;
}
canvas {
width:100%;