Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +46 -11
static/style.css
CHANGED
|
@@ -1,21 +1,56 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
font-family: '
|
|
|
|
| 3 |
}
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
transform: translateY(-2px);
|
| 12 |
}
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
width: 6px;
|
| 17 |
}
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
}
|
|
|
|
| 1 |
+
/* General Card and Shadows */
|
| 2 |
body {
|
| 3 |
+
font-family: 'Inter', sans-serif;
|
| 4 |
+
background: linear-gradient(180deg, #dbeafe, #bfdbfe);
|
| 5 |
}
|
| 6 |
|
| 7 |
+
/* Answer Cards */
|
| 8 |
+
#answer-box div {
|
| 9 |
+
background: linear-gradient(135deg, #dbeafe, #e0e7ff);
|
| 10 |
+
padding: 16px 20px;
|
| 11 |
+
border-radius: 16px;
|
| 12 |
+
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
|
| 13 |
+
margin-bottom: 12px;
|
| 14 |
+
transition: background 0.3s, transform 0.2s;
|
| 15 |
}
|
| 16 |
|
| 17 |
+
#answer-box div:hover {
|
| 18 |
+
background: linear-gradient(135deg, #c7d2fe, #e0e7ff);
|
| 19 |
transform: translateY(-2px);
|
| 20 |
}
|
| 21 |
|
| 22 |
+
#answer-box p {
|
| 23 |
+
margin: 5px 0;
|
|
|
|
| 24 |
}
|
| 25 |
+
|
| 26 |
+
#answer-box strong {
|
| 27 |
+
color: #1e3a8a;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* History Items */
|
| 31 |
+
#history-list li {
|
| 32 |
+
background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
|
| 33 |
+
padding: 12px 14px;
|
| 34 |
+
border-radius: 14px;
|
| 35 |
+
cursor: pointer;
|
| 36 |
+
transition: background 0.3s, transform 0.2s;
|
| 37 |
+
list-style: none;
|
| 38 |
+
word-wrap: break-word;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
#history-list li:hover {
|
| 42 |
+
background: linear-gradient(135deg, #bae6fd, #7dd3fc);
|
| 43 |
+
transform: translateX(2px);
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Scrollbars */
|
| 47 |
+
#answer-box::-webkit-scrollbar,
|
| 48 |
+
#history-list::-webkit-scrollbar {
|
| 49 |
+
width: 8px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
#answer-box::-webkit-scrollbar-thumb,
|
| 53 |
+
#history-list::-webkit-scrollbar-thumb {
|
| 54 |
+
background-color: rgba(59, 130, 246, 0.6);
|
| 55 |
+
border-radius: 4px;
|
| 56 |
}
|