react-io-terminal
Version:
A React terminal component. Displays a terminal to the user on the web page and lets you hook into it.
56 lines (48 loc) • 769 B
CSS
* {
box-sizing: border-box;
}
.inputLineContainer {
color: white;
font-weight: bold;
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
}
.inputLineInput {
width: 100%;
padding-left: 3px;
border: none;
color: inherit;
font-size: inherit;
font-family: inherit;
background: none;
font-weight: inherit;
}
.inputLineInput:focus {
outline: none;
}
.terminalLine {
color: white;
font-weight: bold;
}
.content-container {
padding: 0px;
position: absolute;
bottom: 10px;
left: 10px;
width: 98%;
}
.terminal-container {
height: 100%;
width: 100%;
overflow: hidden;
white-space: nowrap;
position: relative;
}
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
width: 100%;
}