Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions client/src/pages/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
}

.feature-deep ul li {
color: #555;
color: var(--muted);
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.5rem;
Expand All @@ -255,12 +255,8 @@
font-weight: bold;
}

/* Add this to your About.css file */

[data-theme="dark"] .feature-deep {
background-color: #1e2a3a; /* A nice dark blue-gray */
color: #f0f0f0; /* Light text color for contrast */
border: 1px solid #4a4a4a; /* Optional: a subtle border for dark mode */
html[data-theme="dark"] .feature-deep {
border: 1px solid var(--border);
}

/* Values Section */
Expand Down Expand Up @@ -319,12 +315,8 @@
opacity: 0.9;
}

/* Add this to your About.css file */

[data-theme="dark"] .value-item {
background-color: #1e2a3a; /* A nice dark blue-gray */
color: #f0f0f0; /* Light text color for contrast */
border: 1px solid #4a4a4a; /* Optional: a subtle border for dark mode */
html[data-theme="dark"] .value-item {
border: 1px solid var(--border);
}

/* Team Section */
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
.form-group textarea {
width: 100%;
padding: 15px;
border: 2px solid #e1e5e9;
border: 2px solid var(--border);
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
Expand Down Expand Up @@ -212,7 +212,7 @@
.faq-item {
margin-bottom: 30px;
padding: 30px;
background: #f8f9fa;
background: var(--card);
border-radius: 8px;
border-left: 4px solid #667eea;
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Contribute.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
}

.code-lang {
color: var(--border);
color: var(--muted);
font-size: 0.9rem;
font-weight: 600;
}
Expand Down Expand Up @@ -269,7 +269,7 @@
}

.code-block code {
color: var(--border);
color: var(--text);
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.9rem;
line-height: 1.5;
Expand Down
5 changes: 5 additions & 0 deletions client/src/pages/Faq.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@
margin: 3rem 1rem 0; /* Adjusted margin */
background: linear-gradient(45deg, var(--brand), #764ba2);
border-radius: 16px;
color: white;
}

.contact-section .section-title {
color: white;
}

.contact-section p {
Expand Down
12 changes: 6 additions & 6 deletions client/src/pages/Feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
.student-name {
font-size: 1.4rem;
font-weight: 700;
color: #1f2937;
color: var(--heading);
margin-bottom: 0.5rem;
}

Expand Down Expand Up @@ -252,7 +252,7 @@
.subject-name {
font-size: 1.5rem;
font-weight: 700;
color: #1f2937;
color: var(--heading);
margin-bottom: 0.5rem;
}

Expand Down Expand Up @@ -311,15 +311,15 @@
.detail-section h5 {
font-size: 1rem;
font-weight: 700;
color: #1f2937;
color: var(--heading);
margin-bottom: 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.detail-section p {
color: #4b5563;
color: var(--muted);
line-height: 1.6;
font-size: 0.95rem;
}
Expand Down Expand Up @@ -479,15 +479,15 @@
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555;
color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 1rem;
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/MindMapEditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ html[data-theme="dark"] .mindmap {

.react-flow__node-info .info-node, .info-node {
background: var(--card);
color: #111;
color: var(--text);
padding: 8px 10px;
border-radius: 8px;
border: 1px solid var(--border);
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Notes.css
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@

.upload-section p {
font-size: 1rem;
color: #555;
color: var(--muted);
margin-bottom: 2rem;
}

Expand Down
7 changes: 4 additions & 3 deletions client/src/pages/PYQs.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@

/* Hero Section */
.pyqs-hero {
background-color: var(--brand);
background: linear-gradient(45deg, var(--brand), #764ba2);
padding: 60px 20px;
text-align: center;
border-radius: 10px;
color: white;
}

.pyqs-hero h1 {
font-size: 2.4rem;
color: var(--text);
color: white;
margin-bottom: 10px;
font-weight: 600;
}
Expand Down Expand Up @@ -45,7 +46,7 @@

.form-group select {
padding: 10px;
border: 1px solid #ccc;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 1rem;
}
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/Privacy.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
}

.info-category ul li {
color: #555;
color: var(--muted);
margin-bottom: 0.8rem;
position: relative;
padding-left: 1.5rem;
Expand Down Expand Up @@ -302,7 +302,7 @@
}

.sharing-category ul li {
color: #555;
color: var(--muted);
margin-bottom: 1rem;
position: relative;
padding-left: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/SubmitFeedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.form-header h1 {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
color: var(--heading);
margin-bottom: 1rem;
}

Expand Down
1 change: 0 additions & 1 deletion client/src/pages/Syllabus.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
margin: 0 auto 2.5rem;
opacity: 0.9;
line-height: 1.7;
color: var(--text);
}

.hero-stats {
Expand Down