Spaces:
Runtime error
Runtime error
File size: 2,212 Bytes
273a5e1 |
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
.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;
} |