aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2017-10-18 21:48:27 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2017-10-18 21:48:27 +0530
commitbcfdbbc2268ed43e76ce32b4e30cedf28033e327 (patch)
treef5a30451c09a0831c07aba19d84265053005519e /css
parent7f71d061f6da5171f86314ad581f35366a3bf4e1 (diff)
new
Diffstat (limited to 'css')
-rw-r--r--css/style.css99
1 files changed, 99 insertions, 0 deletions
diff --git a/css/style.css b/css/style.css
new file mode 100644
index 0000000..941cb7e
--- /dev/null
+++ b/css/style.css
@@ -0,0 +1,99 @@
+.screen {
+ position: absolute;
+ overflow: hidden;
+ width: 100%;
+ height: 100%;
+ background: #000000;
+}
+
+.terminal_emulator {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ min-height: 100%;
+ padding: 40px;
+ font-size: 20px;
+ line-heght: 25px;
+ box-sizing: border-box;
+ text-align: left;
+ font-family: monospace;
+ font-weight: 700;
+ color: #99ff99;
+}
+
+.terminal_emulator__field,
+.terminal_emulator__command {
+ position: relative;
+ padding: 0 1em;
+ margin: 0 0 9px 0;
+}
+.terminal_emulator__field:before, .terminal_emulator__field:after,
+.terminal_emulator__command:before,
+.terminal_emulator__command:after {
+ position: absolute;
+}
+.terminal_emulator__field:before,
+.terminal_emulator__command:before {
+ left: 0;
+ top: 0;
+ content: ">";
+}
+
+.terminal_emulator__response,
+.terminal_emulator__command b {
+ padding-bottom: 9px;
+}
+
+.terminal_emulator__field {
+ display: inline-block;
+ min-width: 1em;
+ min-height: 1.5em;
+ box-sizing: border-box;
+}
+.terminal_emulator__field:after {
+ right: 0;
+ bottom: 0.25em;
+ content: "";
+ width: 1em;
+ height: 1.5em;
+ background: #99ff99;
+ -webkit-animation: caretBlink 1s infinite;
+ animation: caretBlink 1s infinite;
+}
+.terminal_emulator__field.waiting {
+ padding-left: 0;
+ padding-right: 0;
+}
+.terminal_emulator__field.waiting:before {
+ display: none;
+}
+
+@-webkit-keyframes caretBlink {
+ 0% {
+ opacity: 0;
+ }
+ 50% {
+ opacity: 0;
+ }
+ 51% {
+ opacity: 1;
+ }
+ 100% {
+ opacity: 1;
+ }
+}
+
+@keyframes caretBlink {
+ 0% {
+ opacity: 0;
+ }
+ 50% {
+ opacity: 0;
+ }
+ 51% {
+ opacity: 1;
+ }
+ 100% {
+ opacity: 1;
+ }
+}