termynal.css
This file
Path
docs/css/termynal.css
108 lines · 2.1 KiB · CSS
Last changed by
:memo: Add docs for CLI argumentsSebastián Ramírezbefore adoptionb434023
History of this fileTake it
:sparkles: Add termynal for awesome docsSebastián Ramírezbefore adoptionc004fb6
lines 1–20why, one step back1/**2 * termynal.js3 *4 * @author Ines Montani <ines@ines.io>5 * @version 0.0.16 * @license MIT7 */89:root {10 --color-bg: #252a33;11 --color-text: #eee;12 --color-text-subtle: #a2a2a2;13}1415[data-termynal] {16 width: 750px;17 max-width: 100%;18 background: var(--color-bg);19 color: var(--color-text);20 font-size: 18px;:memo: Add docs for CLI argumentsSebastián Ramírezbefore adoptionb434023
lines 21–22why, one step back21 /* font-family: 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace; */22 font-family: 'Roboto Mono', 'Fira Mono', Consolas, Menlo, Monaco, 'Courier New', Courier, monospace;:sparkles: Add termynal for awesome docsSebastián Ramírezbefore adoptionc004fb6
lines 23–54why, one step back23 border-radius: 4px;24 padding: 75px 45px 35px;25 position: relative;26 -webkit-box-sizing: border-box;27 box-sizing: border-box;28}2930[data-termynal]:before {31 content: '';32 position: absolute;33 top: 15px;34 left: 15px;35 display: inline-block;36 width: 15px;37 height: 15px;38 border-radius: 50%;39 /* A little hack to display the window buttons in one pseudo element. */40 background: #d9515d;41 -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;42 box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;43}4445[data-termynal]:after {46 content: 'bash';47 position: absolute;48 color: var(--color-text-subtle);49 top: 5px;50 left: 0;51 width: 100%;52 text-align: center;53}54:sparkles: Fix Termynal size, update first steps, add fast buttonSebastián Ramírezbefore adoption234e50a
lines 55–60why, one step back55a[data-terminal-control] {56 text-align: right;57 display: block;58 color: #aebbff;59}60:sparkles: Add termynal for awesome docsSebastián Ramírezbefore adoptionc004fb6
lines 61–108why, one step back61[data-ty] {62 display: block;63 line-height: 2;64}6566[data-ty]:before {67 /* Set up defaults and ensure empty lines are displayed. */68 content: '';69 display: inline-block;70 vertical-align: middle;71}7273[data-ty="input"]:before,74[data-ty-prompt]:before {75 margin-right: 0.75em;76 color: var(--color-text-subtle);77}7879[data-ty="input"]:before {80 content: '$';81}8283[data-ty][data-ty-prompt]:before {84 content: attr(data-ty-prompt);85}8687[data-ty-cursor]:after {88 content: attr(data-ty-cursor);89 font-family: monospace;90 margin-left: 0.5em;91 -webkit-animation: blink 1s infinite;92 animation: blink 1s infinite;93}949596/* Cursor animation */9798@-webkit-keyframes blink {99 50% {100 opacity: 0;101 }102}103104@keyframes blink {105 50% {106 opacity: 0;107 }108}