1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-28 06:27:47 +00:00

updated font to for ibm437 code page compatibility

This commit is contained in:
boxgaming 2022-07-06 07:33:41 -05:00
parent 6bc920166a
commit 33eac4d9c3
4 changed files with 10 additions and 10 deletions

View file

@ -1,16 +1,11 @@
/*@font-face {
font-family: dosvga;
src: url(lp-dosvga.ttf);
} */
.cm-s-qbjs {
line-height: 1em;
}
.cm-s-qbjs.CodeMirror { background: rgb(0, 0, 39); color: rgb(216, 216, 216); text-shadow: 0 -1px 1px #262626; font-family: dosvga; /*letter-spacing: -1px*/}
.cm-s-qbjs.CodeMirror { background: rgb(0, 0, 39); color: rgb(216, 216, 216); text-shadow: 0 -1px 1px #262626; font-family: dosvga; letter-spacing: -1px}
.cm-s-qbjs div.CodeMirror-selected { background: #45443B; } /* 33322B*/
.cm-s-qbjs .CodeMirror-line::selection, .cm-s-qbjs .CodeMirror-line > span::selection, .cm-s-qbjs .CodeMirror-line > span > span::selection { background: rgba(0, 49, 78, .99); }
.cm-s-qbjs .CodeMirror-line::-moz-selection, .cm-s-qbjs .CodeMirror-line > span::-moz-selection, .cm-s-qbjs .CodeMirror-line > span > span::-moz-selection { background: rgba(69, 68, 59, .99); }
.cm-s-qbjs .CodeMirror-cursor { border-left: 1px solid #fff; }
.cm-s-qbjs .CodeMirror-cursor { border-left: 1px solid #fff; overflow: hidden; width: 0px;}
.cm-s-qbjs pre { padding: 0 8px; }/*editable code holder*/
.cm-s-qbjs.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/

BIN
dosvga.ttf Normal file

Binary file not shown.

View file

@ -1,6 +1,6 @@
@font-face {
font-family: dosvga;
src: url(lp-dosvga.ttf);
src: url(dosvga.ttf);
}
body {
background-color: #000;

View file

@ -5,11 +5,12 @@
<style>
@font-face {
font-family: dosvga;
src: url(lp-dosvga.ttf);
src: url(dosvga.ttf);
}
body {
background-color: rgb(0, 0, 39);
font-family: dosvga, Arial, Helvetica, sans-serif;
letter-spacing: -1px;
color: #999;
}
a, a:link, a:visited {
@ -37,6 +38,7 @@
position: absolute;
left: 620px;
top: 10px;
letter-spacing: 0px;
}
#gx-container {
border: 1px solid #666;
@ -168,6 +170,7 @@
#share-dialog textarea {
font-family: dosvga;
font-size: 1em;
letter-spacing: -1px;
background-color: #efefef;
}
#share-dialog a { color: #333; }
@ -318,6 +321,8 @@
}
});
document.getElementsByClassName("CodeMirror-cursor")[0].innerHTML = " ";
var warnCount = 0;
window.onresize();
@ -448,7 +453,7 @@
zip.file("program.js", jsCode);
zip.file("fullscreen.png", await getFile("export/fullscreen.png", "blob"));
zip.file("logo.png", await getFile("logo.png", "blob"));
zip.file("lp-dosvga.ttf", await getFile("lp-dosvga.ttf", "blob"));
zip.file("dosvga.ttf", await getFile("dosvga.ttf", "blob"));
zip.file("play.png", await getFile("play.png", "blob"));
zip.file("qbjs.css", await getFile("export/qbjs.css", "text"));
zip.file("qb.js", await getFile("qb.js", "text"));