83 lines
1.7 KiB
CSS
83 lines
1.7 KiB
CSS
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
background: #050505;
|
|
color: #aaa;
|
|
overflow: hidden;
|
|
}
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
#crt {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
background: radial-gradient(ellipse at center, #111 0%, #000 75%);
|
|
}
|
|
#screen {
|
|
position: relative;
|
|
padding: 18px 22px;
|
|
background: #000;
|
|
border-radius: 18px;
|
|
box-shadow:
|
|
0 0 0 3px #1a1a1a,
|
|
0 0 0 14px #2b2924,
|
|
0 0 0 16px #111,
|
|
0 0 60px rgba(80, 180, 255, 0.12),
|
|
inset 0 0 80px rgba(0, 0, 0, 0.9);
|
|
}
|
|
#terminal {
|
|
filter: drop-shadow(0 0 2px rgba(170, 220, 255, 0.35));
|
|
}
|
|
#terminal .xterm-viewport {
|
|
overflow-y: hidden !important;
|
|
background: #000 !important;
|
|
}
|
|
#scanlines {
|
|
pointer-events: none;
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 18px;
|
|
background: repeating-linear-gradient(
|
|
to bottom,
|
|
rgba(0, 0, 0, 0) 0px,
|
|
rgba(0, 0, 0, 0) 2px,
|
|
rgba(0, 0, 0, 0.22) 3px
|
|
);
|
|
box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.75);
|
|
animation: flicker 0.15s infinite alternate;
|
|
}
|
|
@keyframes flicker {
|
|
from { opacity: 0.92; }
|
|
to { opacity: 1; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
#scanlines { animation: none; }
|
|
}
|
|
#status {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
background: #0000aa;
|
|
color: #fff;
|
|
font: 14px/1.6 "Perfect DOS VGA 437", "Px437 IBM VGA 8x16", Consolas, "DejaVu Sans Mono", "Courier New", monospace;
|
|
padding: 0 8px;
|
|
}
|
|
#status > * {
|
|
padding: 0 12px;
|
|
border-right: 1px solid #5555ff;
|
|
}
|
|
#status button {
|
|
margin-left: auto;
|
|
background: none;
|
|
color: #ffff55;
|
|
border: 0;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
#st-state.online { color: #55ff55; }
|
|
#st-state.dialing { color: #ffff55; }
|