body { | |
font-family: 'Roboto', sans-serif; | |
background: linear-gradient(135deg, | |
#a0d2eb 0%, | |
#e5eaf5 30%, | |
#d0bdf4 40%, | |
#8458B3 50%, | |
#a28089 100% | |
); | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 120vh; | |
} | |
.container { | |
background-color: #fff; | |
padding: 30px; | |
border-radius: 10px; | |
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); | |
text-align: center; | |
width: 90%; | |
max-width: 900px; | |
} | |
h1 { | |
color: #333; | |
margin-bottom: 20px; | |
font-size: 2.5em; | |
} | |
p { | |
color: #666; | |
font-size: 1.2em; | |
} | |
.button-container { | |
margin-bottom: 20px; | |
} | |
button { | |
background-color: #007bff; | |
color: #fff; | |
border: none; | |
padding: 15px 30px; | |
margin: 10px; | |
border-radius: 5px; | |
cursor: pointer; | |
font-size: 1em; | |
transition: background-color 0.3s ease; | |
} | |
button:hover { | |
background-color: #0056b3; | |
} | |
.paste-container { | |
margin-top: 20px; | |
} | |
#paste-box { | |
border: 2px dashed #007bff; | |
border-radius: 5px; | |
padding: 20px; | |
min-height: 150px; | |
cursor: text; | |
background-color: #f9f9f9; | |
transition: background-color 0.3s ease; | |
} | |
#paste-box:focus { | |
background-color: #e9f7ff; | |
} | |
#pasted-image { | |
border: 2px solid #007bff; | |
border-radius: 5px; | |
max-width: 100%; | |
margin-top: 20px; | |
} | |
.ocr-result { | |
background-color: #e9ecef; | |
padding: 20px; | |
border-radius: 5px; | |
border: 1px solid #ced4da; | |
color: #495057; | |
font-size: 1em; | |
text-align: left; | |
white-space: pre-wrap; | |
margin-top: 20px; | |
} | |
.loading { | |
font-size: 1.5em; | |
color: #007bff; | |
margin-top: 20px; | |
} | |
.image-frame { | |
border: 2px solid #ccc; | |
padding: 10px; | |
display: inline-block; | |
margin-top: 20px; | |
} | |
#captured-image { | |
max-width: 100%; | |
height: auto; | |
} |