Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding dark mode styling to elements of home and contact page #1210

Merged
merged 2 commits into from
Nov 10, 2024
Merged
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
15 changes: 15 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,21 @@
margin: 20px auto;
object-fit: cover;
}
.dark-mode .contact-item {
background-color: rgba(40, 40, 40, 0.9);
color: #e0e0e0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
border: 1px solid #555;
}

.dark-mode .contact-item:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.dark-mode .contact-item img {
border-color: #8ab4f8;
}
</style>
</head>

Expand Down
108 changes: 108 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,113 @@
/* Optional: add padding for better spacing */
}

/* Dark mode for profile icon */
.dark-mode .profile-icon {
border: 1px solid #ccc;
}

/* Dark mode dropdown menu */
.dark-mode .dropdown-menu {
background-color: #333;
color: #f3f4f6;
border: 1px solid #555;
}

.dark-mode .dropdown-menu a {
color: #f3f4f6;
}

.dark-mode .dropdown-menu a:hover {
background-color: #444;
}

/* Dark mode for content */
.dark-mode .content {
background-color: #333;
color: #f3f4f6;
}

/* Dark mode for h1 */
.dark-mode h1 {
color: #f3f4f6;
}

/* Dark mode for feature */
.dark-mode .feature {
background-color: #444;
color: #f3f4f6;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Dark mode for feature images */
.dark-mode .feature img {
border-color: #555;
}

/* Dark mode for feature titles and paragraphs */
.dark-mode .feature h2 {
color: #8ab4f8;
}

.dark-mode .feature p {
color: #d1d5db;
}

/* Dark mode for team-feature and contact-feature */
.dark-mode .team-feature,
.dark-mode .contact-feature {
background-color: #333;
color: #e0e0e0;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Dark mode for FAQ section */
.dark-mode .faq-section {
background-color: #333;
}

.dark-mode .faq-h2 {
color: #f3f4f6;
}

.dark-mode .faq {
background-color: #444;
border-color: #555;
}

.dark-mode .faq-question {
background-color: #555;
color: #f3f4f6;
}

.dark-mode .faq-question:hover {
background-color: #666;
color: #8ab4f8;
}

.dark-mode .faq-answer {
background-color: #333;
color: #d1d5db;
border-top: 1px solid #555;
}

/* Dark mode for footer */
.dark-mode footer {
background-color: #222;
color: #f3f4f6;
}

.dark-mode footer a {
color: #8ab4f8;
}

/* Dark mode for social icons */
.dark-mode .social-icon:hover {
color: #8ab4f8;
}



.search-box {
display: flex;
align-items: center; /* Center vertically */
Expand Down Expand Up @@ -476,6 +583,7 @@
margin-right: 50px;
}


</style>
</head>

Expand Down