Spaces:
Runtime error
Runtime error
.App { | |
text-align: center; | |
max-width: 800px; | |
margin: 0 auto; | |
padding: 20px; | |
position: relative; | |
} | |
.App-header { | |
background-color: #282c34; | |
padding: 20px; | |
color: white; | |
border-radius: 8px; | |
margin-bottom: 20px; | |
} | |
.App-header h1 { | |
margin: 0; | |
} | |
.App-main { | |
display: flex; | |
flex-direction: column; | |
gap: 20px; | |
} | |
body { | |
background: url('../assets/img.gif'); | |
background-size: cover; | |
background-position: center; | |
background-repeat: no-repeat; | |
min-height: 100vh; | |
} | |
.upload-section, | |
.query-section, | |
.answer-section { | |
background-color: #222; | |
padding: 20px; | |
border-radius: 8px; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
color: #fff; | |
} | |
input[type="text"] { | |
width: 70%; | |
padding: 10px; | |
margin-right: 10px; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
} | |
button { | |
padding: 10px 20px; | |
background: linear-gradient(90deg, rgba(0, 20, 36, 1) 0%, rgba(9, 121, 93, 1) 3%, rgba(22, 255, 0, 1) 100%); | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
} | |
button:hover { | |
background-color: #4fa8d1; | |
} | |
button:disabled { | |
background-color: #cccccc; | |
cursor: not-allowed; | |
} | |
.status { | |
margin: 10px 0; | |
color: #fff; | |
} | |
.loader { | |
margin: 20px 0; | |
color: #666; | |
background: url('../assets/loader.gif'); | |
background-size: cover; | |
background-position: center; | |
background-repeat: no-repeat; | |
min-height: 100vh; | |
position: fixed; | |
opacity: 0.8; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
.loader p { | |
position: absolute; | |
top: 47vh; | |
left: calc(50% - 180px); | |
background: #666; | |
padding: 10px; | |
border-radius: 10px; | |
border: 5px solid #333; | |
color: #fff; | |
} | |
.context { | |
margin-top: 20px; | |
text-align: left; | |
} | |
.context-item { | |
background-color: #16e261; | |
padding: 10px; | |
margin: 10px 0; | |
border-radius: 4px; | |
border: 1px solid #ddd; | |
} | |
form { | |
display: flex; | |
gap: 10px; | |
justify-content: center; | |
align-items: center; | |
} | |
.answer-section p { | |
border: 3px inset #666; | |
padding: 10px; | |
border-radius: 5px; | |
box-shadow: 0 1px 3px #666; | |
} |