Spaces:
Sleeping
Sleeping
Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ---------- GLOBAL ---------- */
|
| 2 |
+
body {
|
| 3 |
+
background-color: #0f1117;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
/* ---------- BUTTONS ---------- */
|
| 7 |
+
.search-btn {
|
| 8 |
+
background-color: #2563eb !important;
|
| 9 |
+
color: white !important;
|
| 10 |
+
border-radius: 999px !important;
|
| 11 |
+
padding: 12px 28px !important;
|
| 12 |
+
font-weight: 600;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.ask-ai {
|
| 16 |
+
background-color: #2563eb;
|
| 17 |
+
color: white;
|
| 18 |
+
border: none;
|
| 19 |
+
border-radius: 999px;
|
| 20 |
+
padding: 6px 14px;
|
| 21 |
+
cursor: pointer;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* ---------- RESULT CARDS ---------- */
|
| 25 |
+
.result-card {
|
| 26 |
+
background: #1a1c23;
|
| 27 |
+
padding: 16px;
|
| 28 |
+
border-radius: 12px;
|
| 29 |
+
margin-bottom: 14px;
|
| 30 |
+
box-shadow: 0 0 0 1px #2a2d36;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.result-actions {
|
| 34 |
+
display: flex;
|
| 35 |
+
gap: 12px;
|
| 36 |
+
margin-bottom: 8px;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.result-actions a {
|
| 40 |
+
color: #60a5fa;
|
| 41 |
+
text-decoration: underline;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* ---------- TOOLTIPS ---------- */
|
| 45 |
+
.tooltip {
|
| 46 |
+
position: relative;
|
| 47 |
+
display: inline-block;
|
| 48 |
+
color: #93c5fd;
|
| 49 |
+
cursor: help;
|
| 50 |
+
font-size: 0.85em;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.tooltiptext {
|
| 54 |
+
visibility: hidden;
|
| 55 |
+
width: 260px;
|
| 56 |
+
background-color: #111827;
|
| 57 |
+
color: #e5e7eb;
|
| 58 |
+
text-align: left;
|
| 59 |
+
padding: 10px;
|
| 60 |
+
border-radius: 6px;
|
| 61 |
+
position: absolute;
|
| 62 |
+
z-index: 10;
|
| 63 |
+
bottom: 125%;
|
| 64 |
+
left: 50%;
|
| 65 |
+
transform: translateX(-50%);
|
| 66 |
+
box-shadow: 0 0 0 1px #374151;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.tooltip:hover .tooltiptext {
|
| 70 |
+
visibility: visible;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
/* ---------- MOBILE ---------- */
|
| 74 |
+
@media (max-width: 640px) {
|
| 75 |
+
.gradio-container {
|
| 76 |
+
padding-bottom: 80px;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.tabs {
|
| 80 |
+
position: sticky;
|
| 81 |
+
top: 0;
|
| 82 |
+
z-index: 100;
|
| 83 |
+
background: #0f1117;
|
| 84 |
+
}
|
| 85 |
+
}
|