Spaces:
Running
Running
tweaks
Browse files- src/App.svelte +25 -13
- src/app.css +0 -1
src/App.svelte
CHANGED
|
@@ -562,22 +562,29 @@
|
|
| 562 |
}
|
| 563 |
|
| 564 |
.content-grid {
|
| 565 |
-
display:
|
| 566 |
-
|
| 567 |
gap: 2rem;
|
| 568 |
margin-bottom: 2rem;
|
|
|
|
| 569 |
}
|
| 570 |
-
|
| 571 |
-
|
| 572 |
|
| 573 |
@media (max-width: 768px) {
|
| 574 |
.content-grid {
|
| 575 |
-
|
|
|
|
|
|
|
| 576 |
}
|
| 577 |
-
|
| 578 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 579 |
}
|
| 580 |
}
|
|
|
|
| 581 |
|
| 582 |
/* Card styles */
|
| 583 |
.input-card, .controls-card, .results-card {
|
|
@@ -589,6 +596,7 @@
|
|
| 589 |
}
|
| 590 |
|
| 591 |
.controls-card {
|
|
|
|
| 592 |
height: min-content;
|
| 593 |
}
|
| 594 |
|
|
@@ -613,7 +621,6 @@
|
|
| 613 |
/* Upload area */
|
| 614 |
.upload-area {
|
| 615 |
padding: 1.5rem;
|
| 616 |
-
width: 50vw;
|
| 617 |
}
|
| 618 |
|
| 619 |
.file-input {
|
|
@@ -672,25 +679,30 @@
|
|
| 672 |
}
|
| 673 |
|
| 674 |
/* Textareas */
|
|
|
|
| 675 |
.data-textarea, .instructions-textarea {
|
| 676 |
-
width: calc(100% - 3rem);
|
| 677 |
padding: 1rem;
|
| 678 |
border: 1px solid #e2e8f0;
|
| 679 |
border-radius: 8px;
|
| 680 |
font-size: 0.875rem;
|
| 681 |
resize: vertical;
|
| 682 |
transition: border-color 0.2s ease;
|
| 683 |
-
|
| 684 |
-
|
| 685 |
-
|
| 686 |
-
width: 100%;
|
| 687 |
}
|
| 688 |
|
| 689 |
.data-textarea {
|
| 690 |
margin: 1.5rem;
|
|
|
|
| 691 |
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
| 692 |
}
|
| 693 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 694 |
.data-textarea:focus, .instructions-textarea:focus {
|
| 695 |
outline: none;
|
| 696 |
border-color: #667eea;
|
|
|
|
| 562 |
}
|
| 563 |
|
| 564 |
.content-grid {
|
| 565 |
+
display: grid;
|
| 566 |
+
grid-template-columns: 650px 350px;
|
| 567 |
gap: 2rem;
|
| 568 |
margin-bottom: 2rem;
|
| 569 |
+
justify-content: center;
|
| 570 |
}
|
|
|
|
|
|
|
| 571 |
|
| 572 |
@media (max-width: 768px) {
|
| 573 |
.content-grid {
|
| 574 |
+
grid-template-columns: 1fr;
|
| 575 |
+
grid-template-rows: auto auto;
|
| 576 |
+
max-width: 100%;
|
| 577 |
}
|
| 578 |
+
|
| 579 |
+
.input-card, .controls-card, .results-card {
|
| 580 |
+
width: 100%;
|
| 581 |
+
}
|
| 582 |
+
|
| 583 |
+
.control-group {
|
| 584 |
+
padding: 0;
|
| 585 |
}
|
| 586 |
}
|
| 587 |
+
|
| 588 |
|
| 589 |
/* Card styles */
|
| 590 |
.input-card, .controls-card, .results-card {
|
|
|
|
| 596 |
}
|
| 597 |
|
| 598 |
.controls-card {
|
| 599 |
+
width: 350px;
|
| 600 |
height: min-content;
|
| 601 |
}
|
| 602 |
|
|
|
|
| 621 |
/* Upload area */
|
| 622 |
.upload-area {
|
| 623 |
padding: 1.5rem;
|
|
|
|
| 624 |
}
|
| 625 |
|
| 626 |
.file-input {
|
|
|
|
| 679 |
}
|
| 680 |
|
| 681 |
/* Textareas */
|
| 682 |
+
|
| 683 |
.data-textarea, .instructions-textarea {
|
|
|
|
| 684 |
padding: 1rem;
|
| 685 |
border: 1px solid #e2e8f0;
|
| 686 |
border-radius: 8px;
|
| 687 |
font-size: 0.875rem;
|
| 688 |
resize: vertical;
|
| 689 |
transition: border-color 0.2s ease;
|
| 690 |
+
box-sizing: border-box;
|
| 691 |
+
line-height: 1.5;
|
| 692 |
+
min-height: 120px;
|
|
|
|
| 693 |
}
|
| 694 |
|
| 695 |
.data-textarea {
|
| 696 |
margin: 1.5rem;
|
| 697 |
+
width: calc(100% - 3rem);
|
| 698 |
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
| 699 |
}
|
| 700 |
|
| 701 |
+
.instructions-textarea {
|
| 702 |
+
width: 100%;
|
| 703 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
|
| 704 |
+
}
|
| 705 |
+
|
| 706 |
.data-textarea:focus, .instructions-textarea:focus {
|
| 707 |
outline: none;
|
| 708 |
border-color: #667eea;
|
src/app.css
CHANGED
|
@@ -47,7 +47,6 @@ button {
|
|
| 47 |
padding: 0.6em 1.2em;
|
| 48 |
font-size: 1em;
|
| 49 |
font-weight: 500;
|
| 50 |
-
font-family: inherit;
|
| 51 |
background-color: #1a1a1a;
|
| 52 |
cursor: pointer;
|
| 53 |
transition: border-color 0.25s;
|
|
|
|
| 47 |
padding: 0.6em 1.2em;
|
| 48 |
font-size: 1em;
|
| 49 |
font-weight: 500;
|
|
|
|
| 50 |
background-color: #1a1a1a;
|
| 51 |
cursor: pointer;
|
| 52 |
transition: border-color 0.25s;
|