diff --git a/Styles/main.css b/Styles/main.css index 83dd353..c95d834 100644 --- a/Styles/main.css +++ b/Styles/main.css @@ -27,6 +27,42 @@ --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } +[data-theme="dark"] .section h2, +[data-theme="dark"] .card-content h3, +[data-theme="dark"] .course-card h2, +[data-theme="dark"] .profile-header h1, +[data-theme="dark"] .profile-card h2 { + color: #7dd3fc; +} + +[data-theme="dark"] .section:nth-of-type(even) h2 { + color: #fde047; +} + +[data-theme="dark"] .card-content h3 i, +[data-theme="dark"] .footer-section h3 { + color: #f9a8d4; +} + +[data-theme="dark"] .card-content p, +[data-theme="dark"] .course-card p, +[data-theme="dark"] .footer-section, +[data-theme="dark"] .footer-section a, +[data-theme="dark"] .footer-bottom p { + color: #ffffff; +} + +[data-theme="dark"] .theme-option { + color: #ffffff; +} + +footer, +footer a, +.footer-section h3, +.footer-bottom p { + color: #ffffff; +} + * { margin: 0; padding: 0; @@ -175,10 +211,20 @@ body { } .card-content p { - margin-bottom: 1.5rem; + margin-bottom: 1rem; color: var(--text-color); } +.card-actions { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; +} + +.card-actions .btn { + flex: 1; +} + /* Hero Section */ .hero { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); @@ -717,6 +763,168 @@ footer { font-size: 0.9rem; } +/* Learning Hub Tabs */ +.tab-menu { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 0.75rem; + margin-bottom: 1.5rem; +} + +.tab-button { + border: 2px solid var(--secondary-color); + background: transparent; + color: var(--secondary-color); + padding: 0.8rem 1.25rem; + border-radius: var(--border-radius); + cursor: pointer; + transition: var(--transition); +} + +.tab-button.active, +.tab-button:hover { + background: var(--secondary-color); + color: var(--light-text); +} + +.tab-content { + display: none; + background: var(--card-background); + border-radius: 1rem; + padding: 1.75rem; + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); +} + +.tab-content.active { + display: block; +} + +.tab-note { + color: var(--text-secondary); + font-size: 1rem; + margin-bottom: 1rem; + text-align: center; +} + +.current-session { + background: rgba(46, 134, 222, 0.08); + border: 1px solid rgba(46, 134, 222, 0.2); + border-radius: 1rem; + padding: 1rem 1.2rem; + margin-bottom: 1.5rem; + color: var(--text-color); + font-weight: 600; +} + +.form-row.full-width { + grid-column: 1 / -1; +} + +.calendar-events { + display: grid; + gap: 1rem; + margin-top: 1.5rem; +} + +.calendar-event-item { + background: var(--background-color); + border-radius: 1rem; + padding: 1.2rem; + display: flex; + flex-direction: column; + gap: 0.75rem; + border: 1px solid rgba(0, 0, 0, 0.08); +} + +.calendar-event-item div { + display: flex; + flex-direction: column; + gap: 0.35rem; +} + +.calendar-event-item strong { + color: var(--text-color); + font-size: 1rem; +} + +.calendar-event-item span { + color: var(--text-secondary); + font-size: 0.95rem; +} + +.calendar-event-item .remove-event { + align-self: flex-end; +} + +.scheduler-header { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 1rem; + align-items: center; + margin-bottom: 1.5rem; +} + +.scheduler-header h3 { + margin: 0; +} + +.scheduled-count { + background: var(--secondary-color); + color: var(--light-text); + padding: 0.75rem 1rem; + border-radius: 999px; + font-weight: 600; +} + +.calendar-panel .calendar-form { + display: grid; + gap: 1rem; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + align-items: end; +} + +.calendar-panel .form-actions { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + align-items: center; +} + +.calendar-panel .calendar-form label { + display: block; + margin-bottom: 0.5rem; + color: var(--text-color); + font-weight: 600; +} + +.calendar-panel .calendar-form input { + width: 100%; + padding: 0.9rem 1rem; + border-radius: var(--border-radius); + border: 1px solid rgba(0, 0, 0, 0.12); + background: var(--background-color); + color: var(--text-color); +} + + .calendar-event-item strong { + display: block; + font-size: 1rem; + color: var(--text-color); + } + + .calendar-event-item span { + color: var(--text-secondary); + font-size: 0.95rem; +} + +.empty-state { + color: var(--text-secondary); + font-size: 0.95rem; + padding: 1rem 0; +} + /* Responsive Design */ @media (max-width: 1024px) { /* Tablet Layout */ @@ -1144,4 +1352,4 @@ ul li i.fa-check { width: 95%; margin: 10% auto; } -} \ No newline at end of file +} diff --git a/Styles/quiz.css b/Styles/quiz.css index a9cf083..c4340f1 100644 --- a/Styles/quiz.css +++ b/Styles/quiz.css @@ -64,14 +64,14 @@ } /* Quiz Styles */ -.quiz-container { +.quiz-container { max-width: 800px; margin: 0 auto; padding: 2rem; background-color: var(--card-background); border-radius: 8px; - box-shadow: var(--shadow); -} + box-shadow: var(--box-shadow); +} .quiz-header { display: flex; @@ -119,14 +119,15 @@ gap: 1rem; } -.option { - padding: 1rem; - background-color: var(--background-color); - border: 2px solid var(--border-color); - border-radius: 4px; - cursor: pointer; - transition: var(--transition); -} +.option { + padding: 1rem; + background-color: var(--background-color); + border: 2px solid var(--border-color); + border-radius: 4px; + cursor: pointer; + transition: var(--transition); + color: var(--text-color); +} .option:hover { background-color: var(--primary-color); @@ -148,15 +149,15 @@ } /* Results Section */ -.results-container { - max-width: 600px; - margin: 0 auto; - padding: 2rem; - background-color: var(--card-background); - border-radius: 8px; - box-shadow: var(--shadow); - text-align: center; -} +.results-container { + max-width: 900px; + margin: 0 auto; + padding: 2rem; + background-color: var(--card-background); + border-radius: 8px; + box-shadow: var(--box-shadow); + text-align: center; +} .results-content { margin: 2rem 0; @@ -177,10 +178,192 @@ color: var(--secondary-color); } -.result-value { - color: var(--primary-color); - font-size: 1.2rem; -} +.result-value { + color: var(--text-color); + font-size: 1.2rem; + font-weight: 700; +} + +.report-progress, +.personalized-report, +.course-save-panel, +.schedule-panel { + margin-top: 1.5rem; + padding: 1.5rem; + background: var(--background-color); + border: 1px solid var(--border-color); + border-radius: 8px; + text-align: left; +} + +.report-progress-info { + display: flex; + justify-content: space-between; + align-items: center; + gap: 1rem; + margin-bottom: 0.75rem; + color: var(--text-color); +} + +.personalized-report h3, +.course-save-panel h3, +.schedule-panel h3 { + color: var(--secondary-color); + margin-bottom: 0.75rem; +} + +.report-summary, +.course-save-panel p { + color: var(--text-color); + margin-bottom: 1rem; +} + +.improvement-topics { + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + margin-bottom: 1.25rem; +} + +.topic-chip { + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.45rem 0.75rem; + border-radius: 999px; + background: rgba(52, 152, 219, 0.16); + color: var(--secondary-color); + border: 1px solid rgba(52, 152, 219, 0.35); + font-weight: 700; + font-size: 0.9rem; +} + +.question-report { + display: grid; + gap: 1rem; +} + +.question-review { + padding: 1rem; + border: 1px solid var(--border-color); + border-left: 5px solid var(--secondary-color); + border-radius: 8px; + background: var(--card-background); +} + +.question-review.correct { + border-left-color: #22c55e; +} + +.question-review.incorrect { + border-left-color: #ef4444; +} + +.question-review h4 { + color: var(--text-color); + margin-bottom: 0.75rem; +} + +.question-review p { + color: var(--text-color); + margin-bottom: 0.5rem; +} + +.question-review strong { + color: var(--secondary-color); +} + +.saved-courses { + margin-top: 1.25rem; +} + +.saved-courses h4 { + color: var(--text-color); + margin-bottom: 0.75rem; +} + +.saved-courses-list, +.scheduled-classes { + display: grid; + gap: 0.75rem; +} + +.saved-course-item, +.scheduled-class-item { + display: flex; + justify-content: space-between; + align-items: center; + gap: 1rem; + padding: 0.85rem; + border: 1px solid var(--border-color); + border-radius: 8px; + background: var(--card-background); + color: var(--text-color); +} + +.saved-course-item span, +.scheduled-class-item span { + display: block; + font-size: 0.9rem; + opacity: 0.8; +} + +.empty-state { + color: var(--text-color); + opacity: 0.75; + font-style: italic; +} + +.schedule-form { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 0.85rem; + margin-bottom: 1rem; +} + +.schedule-form label { + color: var(--text-color); + font-weight: 700; +} + +.schedule-form input { + width: 100%; + padding: 0.75rem; + border: 1px solid var(--border-color); + border-radius: 6px; + background: var(--card-background); + color: var(--text-color); +} + +.schedule-form button, +.schedule-form label[for="classTopic"], +.schedule-form #classTopic { + grid-column: 1 / -1; +} + +[data-theme="dark"] .quiz-header h2, +[data-theme="dark"] .course-selection h1, +[data-theme="dark"] .question-container h3 { + color: #7dd3fc; +} + +[data-theme="dark"] .results-container h2, +[data-theme="dark"] .personalized-report h3, +[data-theme="dark"] .course-save-panel h3, +[data-theme="dark"] .schedule-panel h3 { + color: #fde047; +} + +[data-theme="dark"] .result-label, +[data-theme="dark"] .question-review strong { + color: #f9a8d4; +} + +[data-theme="dark"] footer, +[data-theme="dark"] footer a, +[data-theme="dark"] .footer-section h3 { + color: #ffffff; +} .results-actions { display: flex; @@ -214,10 +397,20 @@ gap: 0.5rem; } - .results-actions { - flex-direction: column; - } -} + .results-actions { + flex-direction: column; + } + + .schedule-form { + grid-template-columns: 1fr; + } + + .saved-course-item, + .scheduled-class-item { + align-items: flex-start; + flex-direction: column; + } +} /* Animations */ @keyframes fadeIn { @@ -237,9 +430,9 @@ } /* Footer Styles */ -footer { - background-color: var(--primary-color); - color: var(--text-color-light); +footer { + background-color: var(--primary-color); + color: var(--light-text); padding: 2rem 0; margin-top: 3rem; } @@ -253,8 +446,8 @@ footer { gap: 2rem; } -.footer-section h3 { - color: var(--text-color-light); +.footer-section h3 { + color: var(--light-text); margin-bottom: 1rem; font-size: 1.2rem; } @@ -268,8 +461,8 @@ footer { margin-bottom: 0.5rem; } -.footer-section ul li a { - color: var(--text-color-light); +.footer-section ul li a { + color: var(--light-text); text-decoration: none; transition: color 0.3s ease; } @@ -283,14 +476,14 @@ footer { gap: 1rem; } -.social-button { +.social-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: var(--secondary-color); - color: var(--text-color-light); + color: var(--light-text); border-radius: 50%; transition: all 0.3s ease; } @@ -309,4 +502,4 @@ footer { .social-links { justify-content: center; } -} \ No newline at end of file +} diff --git a/index.html b/index.html index edf7b35..19fbfb2 100644 --- a/index.html +++ b/index.html @@ -71,7 +71,10 @@
Master frontend and backend technologies to build modern web applications.
- Learn More +Dive into artificial intelligence, machine learning, and data science.
- Learn More +Get expert advice on building a successful career in technology.
- Learn More +Browse courses above, then use the Scheduler tab to add study sessions directly.
+Schedule your own sessions and manage upcoming study events in one screen.
+