Spaces:
Sleeping
Sleeping
File size: 1,746 Bytes
c252293 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 1200px;
width: 100%;
}
/* Header */
h1 {
color: #333;
font-size: 24px;
margin-bottom: 20px;
text-align: center;
}
/* Form styles */
form {
margin: 20px 0;
text-align: center;
}
input[type="file"], button {
margin: 10px 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
display: inline-block;
width: auto;
}
button {
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
/* Layout for result container */
.result-container {
display: flex;
flex-direction: row; /* Ensures elements are side by side */
justify-content: flex-start; /* Align items to the left */
align-items: flex-start; /* Align items at the top */
gap: 20px; /* Space between elements */
margin-top: 20px;
}
.image-container, .analysis-container {
flex: 1;
}
/* Image styling */
.image-container img {
max-width: 100%;
height: auto;
border: 1px solid #ddd;
border-radius: 5px;
}
/* Analysis section styling */
.analysis-container {
text-align: left;
background: #f9f9f9;
padding: 15px;
border-radius: 5px;
border: 1px solid #ddd;
}
.analysis-result {
white-space: pre-wrap;
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
color: #555;
}
|