File size: 4,530 Bytes
5c9ce3f | 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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | body {
background: url("/static/bgpo.jpeg") no-repeat center center fixed;
background-size: cover;
color: #060721;
font-family: 'Segoe UI', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
margin: 0;
}
h1{
font-size: 32px;
color: #0d333f;
font-family: "Segoe UI", sans-serif;
text-align: center;
margin-bottom: 3px;
}
h2 {
font-size: 20px;
color: #33a6cc;
font-family: "Segoe UI", sans-serif;
margin-bottom: 20px;
}
.upload-box {
background-color: #dafffc2a;
border-radius: 15px;
padding: 40px 30px;
backdrop-filter: blur(3px);
-webkit-backdrop-filter: blur(3px);
display: inline-block;
box-shadow: 0 0 20px rgba(90, 90, 255, 0.3);
max-width: 500px;
width: 100%;
border: none;
border-radius: 25px;
border-color: 2px, #e2fdff;
}
.drop-area {
border: 2px dashed #61ddff;
padding: 40px 20px;
border-radius: 12px;
display: block;
cursor: pointer;
transition: 0.3s;
text-align: center;
box-shadow: 0 0 10px #a0ccff88;
}
.drop-area:hover {
background: #ffe8b62f;
box-shadow: 0 0 10px #58a6ff88;
}
.drop-area p {
font-size: 16px;
margin-bottom: 20px;
color: rgba(46, 46, 46, 0.927);
font-weight: 600;
}
input[type="file"] {
display: none;
}
.upload-btn {
padding: 12px 25px;
border: none;
border-radius: 25px;
background: linear-gradient(to right, #3b82f6, #06b6d4);
color: white;
font-weight: bold;
cursor: pointer;
font-size: 16px;
transition: 0.3s ease;
box-shadow: 0 0 15px #3b82f688;
margin-top: 20px;
}
.upload-btn:hover {
transform: scale(1.05);
box-shadow: 0 0 25px #3b82f6aa;
}
.note {
font-size: 14px;
margin-top: 25px;
color: #575757;
text-align: center;
}
.note span {
background: #21262d;
padding: 5px 10px;
border-radius: 8px;
margin: 0 5px;
color: #58a6ff;
font-weight: bold;
font-size: 13px;
}
.sample-images {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.sample-images img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
cursor: pointer;
border: 1px #d9efff solid;
box-shadow: #00395d88;
}
/* Reset + Base */
.result-body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', sans-serif;
background: #ffffff;
color: #0d1b2a;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* Main Container */
.container {
text-align: center;
max-width: 500px;
width: 90%;
padding: 30px 25px;
background: rgba(255, 255, 255, 0.85);
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 170, 255, 0.15);
backdrop-filter: blur(8px);
}
/* Glowing Heading */
.glow-heading {
font-size: 1.9rem;
color: #00395d;
text-shadow: 0 0 5px rgba(0, 170, 255, 0.3);
margin-bottom: 25px;
}
/* Image Preview */
.preview-img {
width: 100%;
max-height: 300px;
object-fit: contain;
border-radius: 12px;
border: 2px dashed #00bfff;
padding: 8px;
background: #f0faff;
box-shadow: 0 4px 20px rgba(0, 170, 255, 0.1);
}
/* Card Box */
.card-glow {
background: #f9fdff;
border-radius: 15px;
padding: 20px;
margin-top: 15px;
border: 1px solid #cceeff;
box-shadow: 0 0 10px rgba(0, 170, 255, 0.1);
}
/* Result Text */
.result-info {
margin-top: 15px;
font-size: 1rem;
color: #002b4a;
}
.highlight {
color: #ff4081;
font-weight: bold;
text-shadow: 0 0 3px rgba(255, 64, 129, 0.2);
}
.confidence {
color: #ffa500;
font-weight: bold;
text-shadow: 0 0 3px rgba(255, 165, 0, 0.2);
}
/* Glowing Button */
.glow-button {
display: inline-block;
margin-top: 30px;
padding: 12px 30px;
background: linear-gradient(145deg, #00cfff, #00aaff);
color: #fff;
border: none;
border-radius: 30px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
transition: all 0.3s ease-in-out;
}
.glow-button:hover {
background: #009fe3;
box-shadow: 0 8px 20px rgba(0, 170, 255, 0.5);
}
|