Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Esmail-ibraheem authored Sep 9, 2024
1 parent a9e7911 commit af6bd4e
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions Tinyllama/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
max-width: 500px;
max-width: 1000px; /* Set a larger width for desktop layout */
width: 100%;
}

Expand All @@ -31,6 +31,20 @@
color: #333;
}

/* Layout */
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
}

/* Form Section */
.form-section {
flex: 1;
margin-right: 20px; /* Space between form and output */
}

.form-group {
margin-bottom: 1.5rem;
}
Expand Down Expand Up @@ -67,19 +81,25 @@
background-color: #45a049;
}

.output-container {
margin-top: 2rem;
/* Output Section */
.output-section {
flex: 1;
}

.output-section h2 {
text-align: center;
font-size: 1.2rem;
margin-bottom: 1rem;
}

.output-box {
padding: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fafafa;
margin-top: 1rem;
font-family: monospace;
min-height: 100px;
min-height: 300px; /* Increase the height */
white-space: pre-wrap;
overflow-y: auto;
}

0 comments on commit af6bd4e

Please sign in to comment.