From 669bbbc35aa00883dd954ae8b602b1fbc62cbe50 Mon Sep 17 00:00:00 2001 From: mrkeays <160034476+Mkeays501@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:38:13 -0300 Subject: [PATCH] Update index.html to fit screen --- index.html | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 256fc67..979d83c 100644 --- a/index.html +++ b/index.html @@ -14,10 +14,14 @@ height: 100%; margin: 0; padding: 0; + display: flex; + justify-content: center; + align-items: center; } body.terminal { - min-height: 100%; + width: 100%; + height: 100%; background-color: #000; color: #00FF00; font-family: 'IBM Plex Mono', monospace; @@ -27,24 +31,28 @@ } .terminal-container { - width: 100%; - height: 100%; display: flex; justify-content: center; align-items: center; + width: 100%; + height: 100%; } .terminal { width: 100%; height: 100%; - max-width: 100%; - max-height: 100%; + max-width: 800px; + max-height: 90vh; border: 2px solid #00FF00; background-color: rgba(0, 0, 0, 0.8); box-shadow: 0px 0px 20px #00FF00; transform: rotateX(10deg) rotateY(5deg); animation: holographic-effect 5s infinite alternate; overflow: hidden; + display: flex; + flex-direction: column; + justify-content: space-between; + padding: 1rem; } @keyframes holographic-effect { @@ -63,11 +71,18 @@ } .prompt { + display: flex; width: 100%; + align-items: center; } #command-input { - width: 100%; + flex-grow: 1; + background: transparent; + border: none; + color: #00FF00; + outline: none; + margin-left: 0.5rem; } @@ -86,16 +101,18 @@