From 24ebeea3a88e28b8a230b1978cdcc413a66b39dc Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sat, 22 Oct 2016 17:03:08 +0100 Subject: [PATCH] Terminal stylings added --- lib/terminal.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/terminal.css diff --git a/lib/terminal.css b/lib/terminal.css new file mode 100644 index 0000000..8ab270f --- /dev/null +++ b/lib/terminal.css @@ -0,0 +1,33 @@ +/* First, reset everything to a standard */ +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, input, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + font-family: monospace, courier, sans-serif; + border: 0; + margin: 0; + padding: 0; + outline: 0; + font-size: 12px; + vertical-align: top; +} + +/* Box sizing */ +* {-moz-box-sizing: border-box; box-sizing: border-box} + +::-webkit-scrollbar {width: 12px; height: 12px} +::-webkit-scrollbar-thumb {background: rgba(0,198,255,0.1)} +::-webkit-scrollbar-corner, ::-webkit-scrollbar-resizer {background: transparent} + +html, body {width: 100%; height: 100%} + +.close {position: fixed; top: 8px; right: 14px; padding: 5px 8px; border: solid 1px #888; color: #888; cursor: pointer; z-index: 1} +.output {position: absolute; display: block; top: 0; padding: 15px 18px 38px 18px; width: 100%; min-height: 100%; border: 0; background: rgba(0,0,0,0.9); color: #0c0} +.commandLine {position: fixed; width: 100%; bottom: 0; padding: 8px 2px 8px 10px; background: rgba(25,25,23,1); color: #fff; z-index: 1} +.command {border: none; background: transparent; color: #fff} +.command:focus {outline: none} \ No newline at end of file