finishing touches

This commit is contained in:
2026-01-01 15:24:08 +10:00
parent c09b7b5769
commit 9fef1e5b0d
3 changed files with 126 additions and 65 deletions

View File

@@ -1,22 +1,35 @@
.desctription-heading{
display: block;
justify-self: center;
grid-area: 1/12/ 1 / 1;
font-size: medium;
text-align: center;
}
.main-container {
display: flex;
gap: 20px;
align-items: flex-start;
}
.scheme-image{
grid-area: 2/1/6/5;
width: 100%;
flex: 1;
max-width: 400px;
height: auto;
object-fit: contain;
}
.inputs{
grid-area: 2/5/3/6;
.controls-container {
display: flex;
flex-direction: column;
gap: 20px;
flex: 1;
min-width: 300px;
max-width: 400px;
}
.inputs{
min-width: 300px;
max-width: 300px;
}
.outputs{
grid-area: 3/5/4/6;
min-width: 300px;
max-width: 300px;
}
.radio-label{
display: inline-block;
@@ -26,7 +39,7 @@ p{
line-height: 0;
}
.max-w{
width: 80%;
width: 100%;
}
.bad-input-tooltip {
@@ -47,8 +60,49 @@ p{
display: none;
}
body{
display: grid;
display: flex;
flex-direction: column;
gap: 20px;
grid-template-columns: repeat(12,1fr);
grid-template-rows:repeat(6,min-content) ;
}
table {
width: 100%;
border-collapse: collapse;
margin: 16px 0;
}
th, td {
border: 1px solid #ccc;
text-align: left;
}
th {
background-color: #f5f5f5;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #fafafa;
}
@media (max-width: 800px) {
.main-container {
flex-direction: column;
align-items: center;
}
.scheme-image {
max-width: 100%;
width: 100%;
}
.controls-container {
width: 100%;
max-width: none;
}
.inputs, .outputs {
min-width: unset;
width: 100%;
}
}