mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-24 12:44:20 +01:00
50 lines
951 B
CSS
50 lines
951 B
CSS
body, #terminal-container {
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size:15px;
|
|
font-variant-ligatures: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
background-color: #101010;
|
|
}
|
|
|
|
.terminal {
|
|
background-color: #101010;
|
|
color: #f0f0f0;
|
|
font-family: "DejaVu Sans Mono","Everson Mono",FreeMono,Menlo,Terminal,monospace;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.terminal .xterm-viewport {
|
|
background-color: #101010;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.terminal .terminal-cursor {
|
|
background-color: #f0f0f0;
|
|
color: #101010;
|
|
opacity: .7;
|
|
}
|
|
|
|
.terminal:not(.focus) .terminal-cursor {
|
|
outline: 1px solid #f0f0f0;
|
|
}
|
|
|
|
@keyframes blink-cursor {
|
|
0% {
|
|
background-color: #f0f0f0;
|
|
color: #101010;
|
|
}
|
|
50% {
|
|
background-color: transparent;
|
|
color: #f0f0f0;
|
|
}
|
|
} |