Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +67 -1
templates/index.html
CHANGED
@@ -32,7 +32,73 @@
|
|
32 |
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.min.js"></script>
|
33 |
|
34 |
<style>
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
</style>
|
37 |
|
38 |
</head>
|
|
|
32 |
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.min.js"></script>
|
33 |
|
34 |
<style>
|
35 |
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');
|
36 |
+
|
37 |
+
body {
|
38 |
+
font-family: 'Space Grotesk', sans-serif;
|
39 |
+
}
|
40 |
+
|
41 |
+
.uploadArea {
|
42 |
+
background: #f3f4f6;
|
43 |
+
border: 2px dashed #d1d5db;
|
44 |
+
transition: border-color 0.2s ease;
|
45 |
+
}
|
46 |
+
|
47 |
+
.uploadArea:hover {
|
48 |
+
border-color: #3b82f6;
|
49 |
+
}
|
50 |
+
|
51 |
+
.blue-button {
|
52 |
+
background: #3b82f6;
|
53 |
+
transition: background-color 0.2s ease;
|
54 |
+
}
|
55 |
+
|
56 |
+
.blue-button:hover {
|
57 |
+
background: #2563eb;
|
58 |
+
}
|
59 |
+
|
60 |
+
.loader {
|
61 |
+
width: 48px;
|
62 |
+
height: 48px;
|
63 |
+
border: 3px solid #3b82f6;
|
64 |
+
border-bottom-color: transparent;
|
65 |
+
border-radius: 50%;
|
66 |
+
display: inline-block;
|
67 |
+
animation: rotation 1s linear infinite;
|
68 |
+
}
|
69 |
+
|
70 |
+
@keyframes rotation {
|
71 |
+
0% { transform: rotate(0deg); }
|
72 |
+
100% { transform: rotate(360deg); }
|
73 |
+
}
|
74 |
+
|
75 |
+
.thought-box {
|
76 |
+
transition: max-height 0.3s ease-out;
|
77 |
+
max-height: 0;
|
78 |
+
overflow: hidden;
|
79 |
+
}
|
80 |
+
|
81 |
+
.thought-box.open {
|
82 |
+
max-height: 500px;
|
83 |
+
}
|
84 |
+
|
85 |
+
#thoughtsContent, #answerContent {
|
86 |
+
max-height: 500px;
|
87 |
+
overflow-y: auto;
|
88 |
+
scroll-behavior: smooth;
|
89 |
+
}
|
90 |
+
|
91 |
+
.preview-image {
|
92 |
+
max-width: 300px;
|
93 |
+
max-height: 300px;
|
94 |
+
object-fit: contain;
|
95 |
+
}
|
96 |
+
|
97 |
+
.timestamp {
|
98 |
+
color: #3b82f6;
|
99 |
+
font-size: 0.9em;
|
100 |
+
margin-left: 8px;
|
101 |
+
}
|
102 |
</style>
|
103 |
|
104 |
</head>
|