my-ocr-demo / static /style.css
gahanmakwana's picture
Fixed file upload and OCR functionality
37e0465
raw
history blame
1.29 kB
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #74ebd5, #acb6e5);
text-align: center;
padding: 30px;
}
.container {
background: white;
border-radius: 16px;
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
padding: 40px;
display: inline-block;
max-width: 700px;
}
h1 {
margin-bottom: 20px;
color: #333;
}
.upload-box {
background-color: #f8f9fa;
padding: 40px;
border-radius: 12px;
border: 2px dashed #007bff;
cursor: pointer;
transition: background 0.3s;
}
.upload-box:hover {
background-color: #e9ecef;
}
.file-input {
display: none;
}
.file-label {
font-size: 16px;
font-weight: 600;
color: #007bff;
}
.output-box {
margin-top: 30px;
background: #f0f0f0;
padding: 20px;
border-radius: 10px;
text-align: left;
word-wrap: break-word;
}
.output-box pre {
white-space: pre-wrap;
}
img {
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
max-width: 100%;
margin-top: 20px;
}
button {
background-color: #007bff;
border: none;
color: white;
padding: 12px 30px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #0056b3;
}