diff --git a/.gitignore b/.gitignore index 23981d5..e94b68f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ # https://help.github.com/articles/ignoring-files # Example .gitignore files: https://github.com/github/gitignore /node_modules/ +/build/ diff --git a/build/application.js b/build/application.js deleted file mode 100644 index 0d798da..0000000 --- a/build/application.js +++ /dev/null @@ -1,53 +0,0 @@ -(function() { - function escapeHTML(html) { - var fn = function(tag) { - var charsToReplace = { - "&": "&", - "<": "<", - ">": ">", - '"': """ - }; - return charsToReplace[tag] || tag; - }; - return html.replace(/[&<>"]/g, fn); - } - function syncTyping() { - var beforeSelection, selection, afterSelection; - beforeSelection = this.value.slice(0, this.selectionStart); - selection = this.value.slice(this.selectionStart, this.selectionEnd); - afterSelection = this.value.slice(this.selectionEnd); - document.getElementById("typing").innerHTML = beforeSelection + (this.selectionStart == this.selectionEnd ? "" : "") + "" + selection + "" + afterSelection; - } - var commandline = document.getElementById("command"); - commandline.value = ""; - commandline.oninput = syncTyping; - commandline.onkeydown = syncTyping; - commandline.onkeyup = syncTyping; - commandline.onselect = syncTyping; - commandline.onfocus = syncTyping; - commandline.focus(); - document.body.onmousedown = function() { - commandline.focus(); - return false; - }; - var brightness = 0; - function alterBrightness(delta) { - brightness = Math.max(0, Math.min(1, brightness + delta)); - document.getElementById("scanlines").style.backgroundColor = "hsl(120, 100%, " + 16 * brightness + "%)"; - } - document.getElementById("knobup").onmousedown = function() { - alterBrightness(.0625); - }; - document.getElementById("knobdown").onmousedown = function() { - alterBrightness(-.0625); - }; - function handleForm() { - var history = document.getElementById("history"); - var val = this.command.value; - this.command.value = ""; - document.getElementById("typing").innerHTML = ""; - history.innerHTML = history.innerHTML + "a>" + escapeHTML(val) + "
Command not found.
"; - return false; - } - document.forms[0].onsubmit = handleForm; -})(); diff --git a/build/assets/fonts/computerfont-webfont.eot b/build/assets/fonts/computerfont-webfont.eot deleted file mode 100644 index 6812a3d..0000000 Binary files a/build/assets/fonts/computerfont-webfont.eot and /dev/null differ diff --git a/build/assets/fonts/computerfont-webfont.ttf b/build/assets/fonts/computerfont-webfont.ttf deleted file mode 100644 index fb2eb2a..0000000 Binary files a/build/assets/fonts/computerfont-webfont.ttf and /dev/null differ diff --git a/build/assets/fonts/computerfont-webfont.woff b/build/assets/fonts/computerfont-webfont.woff deleted file mode 100644 index 8f132e4..0000000 Binary files a/build/assets/fonts/computerfont-webfont.woff and /dev/null differ diff --git a/build/assets/fonts/computerfont-webfont.woff2 b/build/assets/fonts/computerfont-webfont.woff2 deleted file mode 100644 index 2d078ea..0000000 Binary files a/build/assets/fonts/computerfont-webfont.woff2 and /dev/null differ diff --git a/build/assets/images/knob.svg b/build/assets/images/knob.svg deleted file mode 100644 index 9723ee8..0000000 --- a/build/assets/images/knob.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - -image/svg+xml - - - - - - - - - - - - - diff --git a/build/assets/images/scanline.svg b/build/assets/images/scanline.svg deleted file mode 100644 index 73cfb81..0000000 --- a/build/assets/images/scanline.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - -image/svg+xml - - - - - - - diff --git a/build/assets/images/screen.svg b/build/assets/images/screen.svg deleted file mode 100644 index 26c66b9..0000000 --- a/build/assets/images/screen.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - -image/svg+xml - - - - - - - - - - - - - - - - - - - - -contrast - - - diff --git a/build/assets/images/table.svg b/build/assets/images/table.svg deleted file mode 100644 index 799c737..0000000 --- a/build/assets/images/table.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/build/compiled-styles.css b/build/compiled-styles.css deleted file mode 100644 index e7e7b2b..0000000 --- a/build/compiled-styles.css +++ /dev/null @@ -1,177 +0,0 @@ -*, -*:after, -*:before { - box-sizing: inherit; -} -html, -body { - margin: 0; - padding: 0; - height: 100%; - line-height: 1.2; - box-sizing: border-box; - background-color: #254b72; - background-image: url('/assets/images/table.svg'); - background-size: 100% 100%; -} -#compy { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - width: 132.6029165vh; - height: auto; - margin: auto auto 0; - font-family: computerfontregular, monospace; - color: #009900; - font-size: 6vh; -} -@media (max-width: 132.6029165vh) { - #compy { - height: 75.4131226vw; - width: 100%; - font-size: 4.524787356vw; - } -} -#compy > #case { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - background-image: url('/assets/images/screen.svg'); - background-size: 100% 100%; -} -#compy > #case > .knob { - position: absolute; - top: 87.3%; - left: 8.5%; - height: 7%; - width: 4.7%; - background: url('/assets/images/knob.svg'); - background-size: 100% 100%; - cursor: pointer; -} -#compy > #case > .knob#knobup { - left: 13%; -} -#compy > #screen { - position: absolute; - top: 1em; - bottom: 2.25em; - left: 1.5em; - right: 1.5em; - overflow: hidden; - word-break: break-all; - z-index: 0; -} -#compy > #screen > #scanlines { - position: absolute; - left: 0; - right: 0; - top: -3em; - bottom: -3em; - -webkit-animation: scroll 2s linear infinite; - animation: scroll 2s linear infinite; - background: url('/assets/images/scanline.svg') #000000; - background-size: 25em 4em; - background-repeat: repeat-y; - background-position: 50% 0%; - z-index: -1; -} -#scrollback { - position: absolute; - bottom: 0; - width: 100%; - min-height: 100%; - padding: 1.2em 1.6em 0.5em; - font-size: 0.8em; -} -#commandLine { - white-space: pre-wrap; -} -#command { - position: absolute; - margin-top: 1.25em; - z-index: -2; -} -#cursor { - position: absolute; - display: inline-block; - border-bottom: 0.1em solid; - margin-bottom: -0.2em; - height: 1em; - width: 0.5em; - -webkit-animation: blink 0.5s linear infinite; - animation: blink 0.5s linear infinite; -} -#selection { - color: black; - background-color: #009900; -} -@-webkit-keyframes blink { - 0% { - border-bottom-width: 0.1em; - } - 49% { - border-bottom-width: 0.1em; - } - 50% { - border-bottom-width: 0.9em; - } - 99% { - border-bottom-width: 0.9em; - } - 100% { - border-bottom-width: 0.1em; - } -} -@keyframes blink { - 0% { - border-bottom-width: 0.1em; - } - 49% { - border-bottom-width: 0.1em; - } - 50% { - border-bottom-width: 0.9em; - } - 99% { - border-bottom-width: 0.9em; - } - 100% { - border-bottom-width: 0.1em; - } -} -@-webkit-keyframes scroll { - 0% { - -webkit-transform: translate3d(0, 2em, 0); - transform: translate3d(0, 2em, 0); - } - 100% { - -webkit-transform: translate3d(0, -2em, 0); - transform: translate3d(0, -2em, 0); - } -} -@keyframes scroll { - 0% { - -webkit-transform: translate3d(0, 2em, 0); - transform: translate3d(0, 2em, 0); - } - 100% { - -webkit-transform: translate3d(0, -2em, 0); - transform: translate3d(0, -2em, 0); - } -} -@font-face { - font-family: 'computerfontregular'; - src: url('/assets/fonts/computerfont-webfont.eot'); - src: url('/assets/fonts/computerfont-webfont.eot?#iefix') format('embedded-opentype'), - url('/assets/fonts/computerfont-webfont.woff2') format('woff2'), - url('/assets/fonts/computerfont-webfont.woff') format('woff'), - url('/assets/fonts/computerfont-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - diff --git a/build/index.php b/build/index.php deleted file mode 100644 index e8d437a..0000000 --- a/build/index.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - FHQWHGADS - - - - -
- - -