diff --git a/scripts/dos-httpd b/scripts/dos-httpd index 424c8ed..4434322 100644 --- a/scripts/dos-httpd +++ b/scripts/dos-httpd @@ -47,6 +47,7 @@ HTML_PAGE = """ display: flex; flex-direction: column; font-family: "DOSVGA", "Fira Code", "Cascadia Mono", "Hack", monospace; + line-height: 1; } header { padding: 0.6rem 1rem; @@ -55,45 +56,73 @@ HTML_PAGE = """ letter-spacing: 0.04em; text-transform: uppercase; } - #terminal { + #workspace { flex: 1 1 auto; - min-height: 0; + display: flex; + justify-content: center; + align-items: center; + padding: 32px 24px 40px; + box-sizing: border-box; + } + #terminal { + display: inline-flex; + background: #000; + border: 1px solid #2b2b2b; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); + padding: 12px; + width: auto; + height: auto; + box-sizing: content-box; + } + #terminal .xterm { + width: auto !important; + height: auto !important; } #terminal .xterm-viewport { - background-color: #000; + background-color: #000 !important; + overflow: hidden !important; + width: auto !important; + } + #terminal .xterm-rows, + #terminal .xterm-scroll-area { + width: auto !important; + height: auto !important; + } + #terminal .xterm-screen { + width: auto !important; + height: auto !important; + } + #terminal .xterm .xterm-helper-textarea { + width: 0 !important; + height: 0 !important; }
SvarBox DOS Console
-
+
+
+