Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -5,271 +5,257 @@
|
|
| 5 |
}
|
| 6 |
|
| 7 |
body {
|
| 8 |
-
font-family: '
|
| 9 |
-
background:
|
| 10 |
-
color: #
|
| 11 |
min-height: 100vh;
|
| 12 |
-
|
| 13 |
}
|
| 14 |
|
| 15 |
.container {
|
| 16 |
-
max-width:
|
| 17 |
margin: 0 auto;
|
| 18 |
padding: 20px;
|
| 19 |
}
|
| 20 |
|
| 21 |
/* Header */
|
| 22 |
.header {
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
font-size: 3em;
|
| 36 |
font-weight: 800;
|
| 37 |
-
|
| 38 |
-
-webkit-background-clip: text;
|
| 39 |
-
background-clip: text;
|
| 40 |
-
color: transparent;
|
| 41 |
}
|
| 42 |
|
| 43 |
-
.
|
| 44 |
-
font-size:
|
| 45 |
-
color: #
|
| 46 |
-
margin-
|
| 47 |
}
|
| 48 |
|
| 49 |
-
.
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
right: 20px;
|
| 53 |
}
|
| 54 |
|
| 55 |
-
#theme-
|
| 56 |
background: none;
|
| 57 |
border: none;
|
| 58 |
-
font-size: 1.5em;
|
| 59 |
-
color: #e0e0e0;
|
| 60 |
cursor: pointer;
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
-
/* Main
|
| 69 |
-
.main
|
| 70 |
display: grid;
|
| 71 |
-
grid-template-columns:
|
| 72 |
-
gap:
|
| 73 |
-
|
| 74 |
-
}
|
| 75 |
-
|
| 76 |
-
/*
|
| 77 |
-
.
|
| 78 |
-
background:
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
| 83 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 84 |
}
|
| 85 |
|
| 86 |
-
.
|
| 87 |
-
transform: translateY(-
|
| 88 |
-
box-shadow:
|
| 89 |
}
|
| 90 |
|
| 91 |
-
.
|
| 92 |
-
font-size: 1.
|
| 93 |
font-weight: 600;
|
| 94 |
-
|
| 95 |
-
|
| 96 |
}
|
| 97 |
|
| 98 |
-
/* Query
|
| 99 |
-
.query-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
font-size: 1em;
|
| 106 |
-
color: #
|
| 107 |
-
resize:
|
| 108 |
-
|
|
|
|
| 109 |
}
|
| 110 |
|
| 111 |
-
|
| 112 |
outline: none;
|
| 113 |
-
|
| 114 |
}
|
| 115 |
|
| 116 |
/* Buttons */
|
| 117 |
.btn {
|
| 118 |
padding: 12px 24px;
|
| 119 |
border: none;
|
| 120 |
-
border-radius:
|
| 121 |
-
font-size:
|
| 122 |
font-weight: 600;
|
| 123 |
cursor: pointer;
|
| 124 |
-
transition: background 0.3s, transform 0.2s;
|
| 125 |
-
}
|
| 126 |
-
|
| 127 |
-
.btn-primary {
|
| 128 |
-
background: linear-gradient(45deg, #00ddeb, #ff007a);
|
| 129 |
-
color: white;
|
| 130 |
-
}
|
| 131 |
-
|
| 132 |
-
.btn-primary:hover {
|
| 133 |
-
background: linear-gradient(45deg, #00b7c3, #e6006b);
|
| 134 |
-
transform: translateY(-2px);
|
| 135 |
}
|
| 136 |
|
| 137 |
-
.btn-
|
| 138 |
-
background:
|
| 139 |
-
color: #
|
| 140 |
-
|
| 141 |
}
|
| 142 |
|
| 143 |
-
.btn-
|
| 144 |
-
background: rgba(255, 255, 255, 0.2);
|
| 145 |
transform: translateY(-2px);
|
|
|
|
| 146 |
}
|
| 147 |
|
| 148 |
-
/* Output
|
| 149 |
-
.output
|
| 150 |
-
background:
|
| 151 |
-
border-radius:
|
| 152 |
padding: 20px;
|
| 153 |
-
min-height:
|
| 154 |
-
font-size:
|
| 155 |
-
|
| 156 |
-
|
| 157 |
}
|
| 158 |
|
| 159 |
-
/* Settings
|
| 160 |
-
.settings-
|
| 161 |
grid-row: span 2;
|
| 162 |
}
|
| 163 |
|
| 164 |
-
.settings
|
| 165 |
-
display:
|
| 166 |
-
|
| 167 |
-
|
| 168 |
}
|
| 169 |
|
| 170 |
-
.
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
font-weight: 400;
|
| 174 |
-
color: #a0a0a0;
|
| 175 |
margin-bottom: 8px;
|
|
|
|
| 176 |
}
|
| 177 |
|
| 178 |
-
.
|
| 179 |
-
.
|
| 180 |
width: 100%;
|
| 181 |
-
background:
|
| 182 |
-
border:
|
| 183 |
-
border-radius:
|
| 184 |
-
padding:
|
| 185 |
font-size: 0.9em;
|
| 186 |
-
color: #
|
| 187 |
-
|
|
|
|
| 188 |
}
|
| 189 |
|
| 190 |
-
.
|
| 191 |
-
.
|
| 192 |
outline: none;
|
| 193 |
-
|
| 194 |
}
|
| 195 |
|
| 196 |
/* Footer */
|
| 197 |
.footer {
|
| 198 |
text-align: center;
|
| 199 |
padding: 20px 0;
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
border-top: 1px solid rgba(255, 255, 255, 0.
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
/* Animations */
|
| 206 |
-
@keyframes fadeIn {
|
| 207 |
-
from { opacity: 0; transform: translateY(20px); }
|
| 208 |
-
to { opacity: 1; transform: translateY(0); }
|
| 209 |
-
}
|
| 210 |
-
|
| 211 |
-
.card, .footer {
|
| 212 |
-
animation: fadeIn 0.8s ease-out forwards;
|
| 213 |
}
|
| 214 |
|
| 215 |
/* Light Theme */
|
| 216 |
body.light {
|
| 217 |
-
background:
|
| 218 |
-
color: #
|
| 219 |
}
|
| 220 |
|
| 221 |
body.light .header,
|
| 222 |
-
body.light .
|
| 223 |
-
background:
|
|
|
|
| 224 |
}
|
| 225 |
|
| 226 |
-
body.light .
|
| 227 |
color: #007bff;
|
| 228 |
}
|
| 229 |
|
| 230 |
-
body.light .
|
| 231 |
-
body.light
|
| 232 |
-
body.light .
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
color: #
|
|
|
|
| 236 |
}
|
| 237 |
|
| 238 |
-
body.light .
|
| 239 |
-
|
| 240 |
-
color: #333;
|
| 241 |
}
|
| 242 |
|
| 243 |
-
body.light .
|
| 244 |
-
|
| 245 |
-
color: #1a1a1a;
|
| 246 |
}
|
| 247 |
|
| 248 |
-
body.light .
|
| 249 |
-
|
| 250 |
}
|
| 251 |
|
| 252 |
-
|
| 253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
}
|
| 255 |
|
| 256 |
/* Responsive Design */
|
| 257 |
-
@media (max-width:
|
| 258 |
-
.main
|
| 259 |
grid-template-columns: 1fr;
|
| 260 |
}
|
| 261 |
|
| 262 |
-
.settings-
|
| 263 |
grid-row: auto;
|
| 264 |
}
|
| 265 |
-
|
| 266 |
-
.header h1 {
|
| 267 |
-
font-size: 2.2em;
|
| 268 |
-
}
|
| 269 |
-
|
| 270 |
-
.header p {
|
| 271 |
-
font-size: 1em;
|
| 272 |
-
}
|
| 273 |
}
|
| 274 |
|
| 275 |
@media (max-width: 600px) {
|
|
@@ -277,8 +263,18 @@ body.light .footer {
|
|
| 277 |
padding: 10px;
|
| 278 |
}
|
| 279 |
|
| 280 |
-
.
|
| 281 |
padding: 15px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
}
|
| 283 |
|
| 284 |
.btn {
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
body {
|
| 8 |
+
font-family: 'Manrope', sans-serif;
|
| 9 |
+
background: #0f0f1a;
|
| 10 |
+
color: #d9d9e6;
|
| 11 |
min-height: 100vh;
|
| 12 |
+
transition: background 0.5s, color 0.5s;
|
| 13 |
}
|
| 14 |
|
| 15 |
.container {
|
| 16 |
+
max-width: 1440px;
|
| 17 |
margin: 0 auto;
|
| 18 |
padding: 20px;
|
| 19 |
}
|
| 20 |
|
| 21 |
/* Header */
|
| 22 |
.header {
|
| 23 |
+
display: flex;
|
| 24 |
+
justify-content: space-between;
|
| 25 |
+
align-items: center;
|
| 26 |
+
padding: 20px 40px;
|
| 27 |
+
background: rgba(20, 20, 30, 0.7);
|
| 28 |
+
backdrop-filter: blur(15px);
|
| 29 |
+
border-radius: 16px;
|
| 30 |
+
margin-bottom: 30px;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.logo h1 {
|
| 34 |
+
font-size: 2em;
|
|
|
|
| 35 |
font-weight: 800;
|
| 36 |
+
color: #00c4ff;
|
|
|
|
|
|
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
+
.tagline {
|
| 40 |
+
font-size: 0.9em;
|
| 41 |
+
color: #8a8ab3;
|
| 42 |
+
margin-left: 10px;
|
| 43 |
}
|
| 44 |
|
| 45 |
+
.nav {
|
| 46 |
+
display: flex;
|
| 47 |
+
align-items: center;
|
|
|
|
| 48 |
}
|
| 49 |
|
| 50 |
+
#theme-toggle {
|
| 51 |
background: none;
|
| 52 |
border: none;
|
|
|
|
|
|
|
| 53 |
cursor: pointer;
|
| 54 |
+
padding: 10px;
|
| 55 |
+
border-radius: 50%;
|
| 56 |
+
transition: background 0.3s, transform 0.3s;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
#theme-toggle:hover {
|
| 60 |
+
background: rgba(255, 255, 255, 0.1);
|
| 61 |
+
transform: rotate(90deg);
|
| 62 |
}
|
| 63 |
|
| 64 |
+
.icon {
|
| 65 |
+
width: 24px;
|
| 66 |
+
height: 24px;
|
| 67 |
+
stroke: #d9d9e6;
|
| 68 |
}
|
| 69 |
|
| 70 |
+
/* Main Layout */
|
| 71 |
+
.main {
|
| 72 |
display: grid;
|
| 73 |
+
grid-template-columns: 3fr 1fr;
|
| 74 |
+
gap: 20px;
|
| 75 |
+
min-height: calc(100vh - 200px);
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
/* Panels */
|
| 79 |
+
.panel {
|
| 80 |
+
background: #14141e;
|
| 81 |
+
border-radius: 16px;
|
| 82 |
+
padding: 24px;
|
| 83 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), inset -2px -2px 4px rgba(255, 255, 255, 0.05);
|
|
|
|
| 84 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 85 |
}
|
| 86 |
|
| 87 |
+
.panel:hover {
|
| 88 |
+
transform: translateY(-4px);
|
| 89 |
+
box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.1);
|
| 90 |
}
|
| 91 |
|
| 92 |
+
.panel h2 {
|
| 93 |
+
font-size: 1.4em;
|
| 94 |
font-weight: 600;
|
| 95 |
+
color: #00c4ff;
|
| 96 |
+
margin-bottom: 16px;
|
| 97 |
}
|
| 98 |
|
| 99 |
+
/* Query Panel */
|
| 100 |
+
.query-panel .input-group {
|
| 101 |
+
display: flex;
|
| 102 |
+
flex-direction: column;
|
| 103 |
+
gap: 12px;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
#query-input {
|
| 107 |
+
background: #1a1a26;
|
| 108 |
+
border: none;
|
| 109 |
+
border-radius: 12px;
|
| 110 |
+
padding: 16px;
|
| 111 |
font-size: 1em;
|
| 112 |
+
color: #d9d9e6;
|
| 113 |
+
resize: none;
|
| 114 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
|
| 115 |
+
transition: box-shadow 0.3s;
|
| 116 |
}
|
| 117 |
|
| 118 |
+
#query-input:focus {
|
| 119 |
outline: none;
|
| 120 |
+
box-shadow: inset 0 0 0 2px #00c4ff;
|
| 121 |
}
|
| 122 |
|
| 123 |
/* Buttons */
|
| 124 |
.btn {
|
| 125 |
padding: 12px 24px;
|
| 126 |
border: none;
|
| 127 |
+
border-radius: 12px;
|
| 128 |
+
font-size: 0.95em;
|
| 129 |
font-weight: 600;
|
| 130 |
cursor: pointer;
|
| 131 |
+
transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
}
|
| 133 |
|
| 134 |
+
.btn-action {
|
| 135 |
+
background: linear-gradient(135deg, #00c4ff, #ff007a);
|
| 136 |
+
color: #fff;
|
| 137 |
+
box-shadow: 0 4px 12px rgba(0, 196, 255, 0.3);
|
| 138 |
}
|
| 139 |
|
| 140 |
+
.btn-action:hover {
|
|
|
|
| 141 |
transform: translateY(-2px);
|
| 142 |
+
box-shadow: 0 6px 16px rgba(0, 196, 255, 0.5);
|
| 143 |
}
|
| 144 |
|
| 145 |
+
/* Output Panels */
|
| 146 |
+
.output {
|
| 147 |
+
background: #1a1a26;
|
| 148 |
+
border-radius: 12px;
|
| 149 |
padding: 20px;
|
| 150 |
+
min-height: 120px;
|
| 151 |
+
font-size: 0.95em;
|
| 152 |
+
color: #b0b0cc;
|
| 153 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
|
| 154 |
}
|
| 155 |
|
| 156 |
+
/* Settings Panel */
|
| 157 |
+
.settings-panel {
|
| 158 |
grid-row: span 2;
|
| 159 |
}
|
| 160 |
|
| 161 |
+
.settings {
|
| 162 |
+
display: flex;
|
| 163 |
+
flex-direction: column;
|
| 164 |
+
gap: 16px;
|
| 165 |
}
|
| 166 |
|
| 167 |
+
.control label {
|
| 168 |
+
font-size: 0.85em;
|
| 169 |
+
color: #8a8ab3;
|
|
|
|
|
|
|
| 170 |
margin-bottom: 8px;
|
| 171 |
+
display: block;
|
| 172 |
}
|
| 173 |
|
| 174 |
+
.control input,
|
| 175 |
+
.control select {
|
| 176 |
width: 100%;
|
| 177 |
+
background: #1a1a26;
|
| 178 |
+
border: none;
|
| 179 |
+
border-radius: 10px;
|
| 180 |
+
padding: 12px;
|
| 181 |
font-size: 0.9em;
|
| 182 |
+
color: #d9d9e6;
|
| 183 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3);
|
| 184 |
+
transition: box-shadow 0.3s;
|
| 185 |
}
|
| 186 |
|
| 187 |
+
.control input:focus,
|
| 188 |
+
.control select:focus {
|
| 189 |
outline: none;
|
| 190 |
+
box-shadow: inset 0 0 0 2px #00c4ff;
|
| 191 |
}
|
| 192 |
|
| 193 |
/* Footer */
|
| 194 |
.footer {
|
| 195 |
text-align: center;
|
| 196 |
padding: 20px 0;
|
| 197 |
+
font-size: 0.85em;
|
| 198 |
+
color: #606080;
|
| 199 |
+
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
| 200 |
+
margin-top: 20px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
}
|
| 202 |
|
| 203 |
/* Light Theme */
|
| 204 |
body.light {
|
| 205 |
+
background: #f5f5fa;
|
| 206 |
+
color: #1a1a2e;
|
| 207 |
}
|
| 208 |
|
| 209 |
body.light .header,
|
| 210 |
+
body.light .panel {
|
| 211 |
+
background: #ffffff;
|
| 212 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.3);
|
| 213 |
}
|
| 214 |
|
| 215 |
+
body.light .panel h2 {
|
| 216 |
color: #007bff;
|
| 217 |
}
|
| 218 |
|
| 219 |
+
body.light .output,
|
| 220 |
+
body.light #query-input,
|
| 221 |
+
body.light .control input,
|
| 222 |
+
body.light .control select {
|
| 223 |
+
background: #f0f0f5;
|
| 224 |
+
color: #1a1a2e;
|
| 225 |
+
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
|
| 226 |
}
|
| 227 |
|
| 228 |
+
body.light .control label {
|
| 229 |
+
color: #606080;
|
|
|
|
| 230 |
}
|
| 231 |
|
| 232 |
+
body.light .footer {
|
| 233 |
+
color: #8080a0;
|
|
|
|
| 234 |
}
|
| 235 |
|
| 236 |
+
body.light .icon {
|
| 237 |
+
stroke: #1a1a2e;
|
| 238 |
}
|
| 239 |
|
| 240 |
+
/* Animations */
|
| 241 |
+
@keyframes slideIn {
|
| 242 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 243 |
+
to { opacity: 1; transform: translateY(0); }
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.panel, .footer {
|
| 247 |
+
animation: slideIn 0.5s ease-out forwards;
|
| 248 |
}
|
| 249 |
|
| 250 |
/* Responsive Design */
|
| 251 |
+
@media (max-width: 1024px) {
|
| 252 |
+
.main {
|
| 253 |
grid-template-columns: 1fr;
|
| 254 |
}
|
| 255 |
|
| 256 |
+
.settings-panel {
|
| 257 |
grid-row: auto;
|
| 258 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
}
|
| 260 |
|
| 261 |
@media (max-width: 600px) {
|
|
|
|
| 263 |
padding: 10px;
|
| 264 |
}
|
| 265 |
|
| 266 |
+
.header {
|
| 267 |
padding: 15px;
|
| 268 |
+
flex-direction: column;
|
| 269 |
+
gap: 10px;
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
.logo h1 {
|
| 273 |
+
font-size: 1.5em;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.panel {
|
| 277 |
+
padding: 16px;
|
| 278 |
}
|
| 279 |
|
| 280 |
.btn {
|