Skip to content

Commit

Permalink
Update main.css
Browse files Browse the repository at this point in the history
  • Loading branch information
sri-dsa authored Feb 11, 2025
1 parent 4e03699 commit 8edb48f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4006,32 +4006,32 @@ h1{

/* Footer */
/* Footer Container */
/* Footer Container */
#footer {
display: flex;
justify-content: center;
align-items: flex-start;
padding: 3% 5%;
width: 100%;
background-color: #1e252d; /* Matches site theme */
color: #ffffff; /* Ensures visible text */
}

/* Footer Layout */
#footer .split.contact {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
display: grid;
grid-template-columns: repeat(2, 1fr); /* ✅ Ensures dual-column layout on large screens */
gap: 20px;
width: 100%;
max-width: 1200px; /* Restricts to a readable width */
max-width: 1200px;
margin: 0 auto;
}

/* Individual Footer Sections */
#footer .split.contact section {
flex: 1;
min-width: 250px; /* Prevents sections from shrinking too much */
padding: 10px;
text-align: left;
color: #ffffff; /* ✅ Fixes invisible text */
}

/* Social Icons Styling */
Expand All @@ -4045,31 +4045,33 @@ h1{
/* Social Icon Sizing */
#footer .icons a {
font-size: 1.5rem;
color: #ffffff; /* ✅ Ensures icon visibility */
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#footer .icons a:hover {
transform: scale(1.3);
opacity: 0.8;
color: #00ff00;
}

/* Links Styling */
#footer a {
text-decoration: none;
color: #007bff;
color: #00aaff; /* ✅ Ensures readable links */
transition: color 0.3s ease-in-out;
}

#footer a:hover {
color: #00ff00;
}

/* ✅ RESPONSIVENESS: Mobile Optimization */
/* ✅ RESPONSIVENESS: Mobile View */
@media screen and (max-width: 768px) {
#footer .split.contact {
flex-direction: column;
align-items: center;
grid-template-columns: 1fr; /* ✅ Ensures single-column layout for mobile */
text-align: center;
align-items: center;
}

#footer .split.contact section {
Expand Down

0 comments on commit 8edb48f

Please sign in to comment.