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

ui changes in the Home page #476

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
19 changes: 9 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -482,16 +482,7 @@ <h3>Add Event</h3>
opportunities to cultivate their skills, explore their interests, and <br>collaborate with
like-minded peers.
</p>
<div class="social-icons">
<a href="https://wa.me/your-whatsapp-number" target="_blank"><img src="./images/whatsapp-icon.png"
alt="WhatsApp"></a>
<a href="https://discord.gg/MSTNyRSPYW" target="_blank"><img src="./images/discord-icon.png"
alt="Discord"></a>
<a href="https://www.linkedin.com/company/code-social/" target="_blank"><img
src="./images/linkedin-icon.png" alt="LinkedIn"></a>
</div>
</div>

<!-- Links Section -->
<div class="footer-links">
<div class="footer-column">
Expand All @@ -513,7 +504,15 @@ <h3>Add Event</h3>
</div>
</div>
</div>

<!-- connections -->
<div class="social-icons">
<a href="https://wa.me/your-whatsapp-number" target="_blank"><img src="./images/whatsapp-icon.png"
alt="WhatsApp"></a>
<a href="https://discord.gg/MSTNyRSPYW" target="_blank"><img src="./images/discord-icon.png"
alt="Discord"></a>
<a href="https://www.linkedin.com/company/code-social/" target="_blank"><img
src="./images/linkedin-icon.png" alt="LinkedIn"></a>
</div>
<!-- Footer Bottom -->
<hr class="footer-divider">
<p class="footer-bottom-text">© Copyright 2024, All Rights Reserved by Code Social</p>
Expand Down
58 changes: 44 additions & 14 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -388,14 +388,25 @@ body.dark-mode .calendar-day:hover {
position: sticky;
}
.light-mode .navbar {
background-color: white; /* White background for light mode */
background: rgb(213,214,211);
background: linear-gradient(0deg, rgba(213,214,211,1) 55%, rgba(249,248,245,1) 97%); /* White background for light mode */
color: black; /* Text color for light mode */
}

.dark-mode .navbar {
background-color: #333; /* Dark background for dark mode */
color: white; /* Text color for dark mode */
background-color: #0b0b0b; /* Dark background for dark mode */
color: rgb(255, 255, 255); /* Text color for dark mode */
}
/* changed the colors for dark mode */
.dark-mode .navbar ul a {
color: rgb(235 228 228);
}

.dark-mode .navbar ul a:hover{
background-color: white ;
color: black ;
transition: background-color 0.3s ease, color 0.3s ease;
}

.content {
height: 2000px; /* Just for scrolling */
Expand Down Expand Up @@ -485,7 +496,8 @@ body.dark-mode .calendar-day:hover {
height: 100%;
width: 100%;
left: 0;
background:white ;
background: rgb(213,214,211);
background: linear-gradient(0deg, rgba(213,214,211,1) 55%, rgba(249,248,245,1) 97%);
border-left: 2px solid black;
top: 0;
/* left: 0; */
Expand Down Expand Up @@ -553,6 +565,7 @@ body.dark-mode .calendar-day:hover {
display: flex;
align-items: center;
gap: 4vw;
color: black;
list-style: none;
}

Expand All @@ -564,6 +577,9 @@ body.dark-mode .calendar-day:hover {
.navbar ul li .dropdown {
display: none;
}
.navbar ul a {
color: rgb(12, 12, 12);
}

/* Show the dropdown on hover */
.navbar ul li:hover .dropdown {
Expand All @@ -578,8 +594,10 @@ body.dark-mode .calendar-day:hover {


.navbar-links a:hover {
box-shadow: 0 4px 6px rgba(37, 99, 235, 0.5);;

background-color: black ;
color: white;
padding: 7px;
border-radius: 4px ;
}

.center-links li a {
Expand Down Expand Up @@ -634,7 +652,6 @@ body.dark-mode .calendar-day:hover {
padding: 10px;
border-radius: 4px;
z-index: 1;

top: 100%;
right:0;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
Expand All @@ -644,7 +661,6 @@ body.dark-mode .calendar-day:hover {

.center-links li:hover .dropdown {
display: block;

top: 27px;
right: 0%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
Expand All @@ -656,9 +672,9 @@ body.dark-mode .calendar-day:hover {
.dark-mode .navbar ul li:hover .dropdown {
display: block;
opacity: 1;
background-color: #504c4c;
background-color: #2f2f2f;
color: #fff;

transition: background-color 0.3s ease, color 0.3s ease;
transform: translateY(0);
}
.light-mode .navbar ul li:hover .dropdown {
Expand Down Expand Up @@ -1056,15 +1072,20 @@ body.dark-mode #theme-switch {

/* Light Mode Footer */
.light-mode-footer {
background-color: #f8f9fa;
background: linear-gradient(0deg, rgba(213, 214, 211, 1) 55%, rgba(249, 248, 245, 1) 97%);
color: #000;
}

/* Dark Mode Footer */
.dark-mode-footer {
background-color: #2E2E2E;
background-color: #0a0a0a;
color: #fff;
}
.dark-mode .footer-bottom-text {
text-align: center;
font-size: 0.875rem;
color: #fafcff;
}

.dark-text {
color: #f1f1f1;
Expand All @@ -1083,7 +1104,11 @@ body.dark-mode #theme-switch {
}

.footer-logo-about {
flex: 1;
display: flex;
width: 55%;
margin: 1.2rem;
flex-direction: column;
align-items: center;
min-width: 300px;
text-align: left;
}
Expand All @@ -1108,6 +1133,7 @@ body.dark-mode #theme-switch {
.footer-about-text {
margin-top: 15px;
line-height: 1.6;
width: 77%;
font-style: italic;
}

Expand Down Expand Up @@ -1138,6 +1164,10 @@ body.dark-mode #theme-switch {

.footer-column {
flex: 1;
margin: 1.2rem;
padding: 1.2rem;
height: 70%;

}

.footer-title {
Expand Down Expand Up @@ -1174,5 +1204,5 @@ body.dark-mode #theme-switch {
.footer-bottom-text {
text-align: center;
font-size: 0.875rem;
color: #6b7280;
color: #000000;
}