fixed overflow index

This commit is contained in:
HearMeWhisper 2022-01-01 18:57:57 -05:00
parent e6fe13faca
commit e4216f4646
2 changed files with 36 additions and 32 deletions

View File

@ -15,7 +15,9 @@
<body> <body>
<nav> <nav>
<div id="nav_menu"> <div id="nav_menu">
</div> </div>
<!-- <span style="margin: auto; display:inline-block">/home/</span> -->
</nav> </nav>
<main> <main>
<div id="term"> <div id="term">

View File

@ -1,32 +1,34 @@
body { body {
background-color: #667788; background-color: #667788;
} }
main{ main {
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 80%; margin: auto;
height: 500px; margin-top: 100px;
margin: auto; padding: 7px;
margin-top: 100px; }
padding: 7px; #term {
} /* width: 80%; */
#term{ /* height: 500px; */
width: 80%; width: min(85vw, 700px);
height: 500px; height: 50vh;
margin: auto; max-height: max(85%, 85vh);
background-color: rgb(54, 54, 54); margin: auto;
color: white; background-color: rgb(54, 54, 54);
padding: 7px; color: white;
font-family: 'Courier Prime', padding: 7px;
monospace; font-family: "Courier Prime", monospace;
font-size: 2rem; font-size: clamp(1.5rem, 2.5vw, 4rem);
border: rgb(95, 95, 95) solid 5px; border: rgb(95, 95, 95) solid 5px;
} overflow: auto;
#user{ aspect-ratio: auto 4 / 3;
color: rgb(39, 218, 39); }
} #user {
.link{ color: rgb(39, 218, 39);
text-decoration: underline; }
color: white; .link {
margin: 5px; text-decoration: underline;
} color: white;
margin: 5px;
}