Spaces:
Running
Running
Update index.html
Browse files- index.html +21 -1
index.html
CHANGED
@@ -40,6 +40,16 @@ body.dark-mode {
|
|
40 |
--gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
* {
|
44 |
margin: 0;
|
45 |
padding: 0;
|
@@ -154,6 +164,7 @@ h1 {
|
|
154 |
cursor: pointer;
|
155 |
font-weight: 600;
|
156 |
font-size: 1rem;
|
|
|
157 |
transition: var(--transition);
|
158 |
position: relative;
|
159 |
overflow: hidden;
|
@@ -193,6 +204,7 @@ h1 {
|
|
193 |
background: var(--bg-tertiary);
|
194 |
border-radius: 50px;
|
195 |
cursor: pointer;
|
|
|
196 |
transition: var(--transition);
|
197 |
}
|
198 |
|
@@ -278,6 +290,7 @@ input:checked + .slider:before {
|
|
278 |
border-radius: 10px;
|
279 |
cursor: pointer;
|
280 |
font-weight: 600;
|
|
|
281 |
transition: var(--transition);
|
282 |
position: relative;
|
283 |
}
|
@@ -385,12 +398,14 @@ input:checked + .slider:before {
|
|
385 |
.flashcard-front {
|
386 |
background: var(--bg-primary);
|
387 |
border: 3px solid var(--border);
|
|
|
388 |
}
|
389 |
|
390 |
.flashcard-front p {
|
391 |
font-size: 1.5rem;
|
392 |
font-weight: 700;
|
393 |
line-height: 1.4;
|
|
|
394 |
}
|
395 |
|
396 |
.flashcard-back {
|
@@ -583,6 +598,7 @@ body.dark-mode .code-editor textarea {
|
|
583 |
font-size: 1.1rem;
|
584 |
margin-bottom: 25px;
|
585 |
line-height: 1.6;
|
|
|
586 |
}
|
587 |
|
588 |
.quiz-option {
|
@@ -594,6 +610,7 @@ body.dark-mode .code-editor textarea {
|
|
594 |
cursor: pointer;
|
595 |
transition: var(--transition);
|
596 |
background: var(--bg-secondary);
|
|
|
597 |
font-weight: 500;
|
598 |
}
|
599 |
|
@@ -701,6 +718,7 @@ body.dark-mode .code-editor textarea {
|
|
701 |
.help-content p {
|
702 |
margin-bottom: 15px;
|
703 |
line-height: 1.6;
|
|
|
704 |
}
|
705 |
|
706 |
.close-help {
|
@@ -797,6 +815,7 @@ footer a:hover {
|
|
797 |
position: relative;
|
798 |
display: inline-block;
|
799 |
cursor: help;
|
|
|
800 |
}
|
801 |
|
802 |
.tooltip .tooltiptext {
|
@@ -816,6 +835,7 @@ footer a:hover {
|
|
816 |
transition: opacity 0.3s;
|
817 |
box-shadow: var(--shadow-lg);
|
818 |
font-size: 0.9rem;
|
|
|
819 |
}
|
820 |
|
821 |
.tooltip:hover .tooltiptext {
|
@@ -1437,4 +1457,4 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
1437 |
});
|
1438 |
</script>
|
1439 |
</body>
|
1440 |
-
</html>
|
|
|
40 |
--gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
|
41 |
}
|
42 |
|
43 |
+
/* Ensure all text elements use the color variables */
|
44 |
+
h1, h2, h3, h4, h5, h6, p, span, div, label, button {
|
45 |
+
color: var(--text-primary);
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Override specific elements that need secondary text color */
|
49 |
+
.subtitle, .card-counter, .task-badge {
|
50 |
+
color: var(--text-secondary) !important;
|
51 |
+
}
|
52 |
+
|
53 |
* {
|
54 |
margin: 0;
|
55 |
padding: 0;
|
|
|
164 |
cursor: pointer;
|
165 |
font-weight: 600;
|
166 |
font-size: 1rem;
|
167 |
+
color: var(--text-primary);
|
168 |
transition: var(--transition);
|
169 |
position: relative;
|
170 |
overflow: hidden;
|
|
|
204 |
background: var(--bg-tertiary);
|
205 |
border-radius: 50px;
|
206 |
cursor: pointer;
|
207 |
+
color: var(--text-primary);
|
208 |
transition: var(--transition);
|
209 |
}
|
210 |
|
|
|
290 |
border-radius: 10px;
|
291 |
cursor: pointer;
|
292 |
font-weight: 600;
|
293 |
+
color: var(--text-primary);
|
294 |
transition: var(--transition);
|
295 |
position: relative;
|
296 |
}
|
|
|
398 |
.flashcard-front {
|
399 |
background: var(--bg-primary);
|
400 |
border: 3px solid var(--border);
|
401 |
+
color: var(--text-primary);
|
402 |
}
|
403 |
|
404 |
.flashcard-front p {
|
405 |
font-size: 1.5rem;
|
406 |
font-weight: 700;
|
407 |
line-height: 1.4;
|
408 |
+
color: var(--text-primary);
|
409 |
}
|
410 |
|
411 |
.flashcard-back {
|
|
|
598 |
font-size: 1.1rem;
|
599 |
margin-bottom: 25px;
|
600 |
line-height: 1.6;
|
601 |
+
color: var(--text-primary);
|
602 |
}
|
603 |
|
604 |
.quiz-option {
|
|
|
610 |
cursor: pointer;
|
611 |
transition: var(--transition);
|
612 |
background: var(--bg-secondary);
|
613 |
+
color: var(--text-primary);
|
614 |
font-weight: 500;
|
615 |
}
|
616 |
|
|
|
718 |
.help-content p {
|
719 |
margin-bottom: 15px;
|
720 |
line-height: 1.6;
|
721 |
+
color: var(--text-primary);
|
722 |
}
|
723 |
|
724 |
.close-help {
|
|
|
815 |
position: relative;
|
816 |
display: inline-block;
|
817 |
cursor: help;
|
818 |
+
color: var(--text-secondary);
|
819 |
}
|
820 |
|
821 |
.tooltip .tooltiptext {
|
|
|
835 |
transition: opacity 0.3s;
|
836 |
box-shadow: var(--shadow-lg);
|
837 |
font-size: 0.9rem;
|
838 |
+
border: 1px solid var(--border);
|
839 |
}
|
840 |
|
841 |
.tooltip:hover .tooltiptext {
|
|
|
1457 |
});
|
1458 |
</script>
|
1459 |
</body>
|
1460 |
+
</html>
|