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

hover updated #825

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
93 changes: 82 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,81 @@
margin-left: 350px;
margin-top: 6px;
}
</style>
/* Common Styles */
.theme-container {
padding: 2rem; /* Maintain padding for the container */
transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

/* Light Theme Styles */
.theme-container {
background: linear-gradient(to right, #d1c4e9, #e1bee7); /* Light purple gradient background */
}

.theme-container .welcome-header {
color: #8e24aa; /* Base color for h2 in light theme */
text-shadow: 0 0 5px #9c27b0; /* Adjusted for sharper effect */
}

.theme-container .welcome-text {
color: #ecf0f1; /* Light text color for p in light theme */
}

/* Dark Theme Styles */
.dark-mode .theme-container {
background-color: #1a1a1a; /* Dark background for dark mode */
}

.dark-mode .theme-container .welcome-header {
color: #ffffff; /* White text for h2 in dark mode */
text-shadow: 0 0 5px #ffffff; /* Glowing white effect for dark mode */
}

.dark-mode .theme-container .welcome-text {
color: #b0b0b0; /* Light grey text color for p in dark mode */
}

<style>
.share {
display: flex;
gap: 15px;
}

.share a {
color: #333; /* Default icon color */
font-size: 24px;
transition: color 0.3s ease;
text-decoration: none; /* Removes underline */
}

/* Remove default hover behavior */
.share a:hover {
color: #333; /* Default hover color same as icon color */
}

/* Specific hover colors for each platform */
.share a.fa-facebook-f:hover {
color: #3b5998; /* Facebook blue */
}

.share a.fa-x-twitter:hover {
color: #1DA1F2; /* Twitter blue */
}

.share a.fa-instagram:hover {
color: #E1306C; /* Instagram pink */
}

.share a.fa-linkedin-in:hover {
color: #0077b5; /* LinkedIn blue */
}

.share a.fa-pinterest:hover {
color: #E60023; /* Pinterest red */
}
</style>


</head>

<body>
Expand Down Expand Up @@ -1423,16 +1497,13 @@ <h3>Thank You!</h3>

<section class="footer" id="footer">
<!-- Added responsiveness to icons -->
<div class="share">
<a href="#" class="fab fa-facebook-f"></a>
<a href="#" class="fa-brands fa-x-twitter"></a> <!-- Updated X icon-->
<a href="#" class="fab fa-instagram"></a>

<a href="https://www.linkedin.com/in/anuragvishwakarma/" class="fa-brands fa-linkedin-in"></a>

<a href="#" class="fa-brands fa-pinterest"></a>
</div>

<div class="share">
<a href="#" class="fab fa-facebook-f"></a>
<a href="#" class="fa-brands fa-x-twitter"></a> <!-- Updated X icon-->
<a href="#" class="fab fa-instagram"></a>
<a href="https://www.linkedin.com/in/anuragvishwakarma/" class="fa-brands fa-linkedin-in"></a>
<a href="#" class="fa-brands fa-pinterest"></a>
</div>
<div class="credit" style="font-size: 0.6rem;">
<p>
Created by <a target="_blank" href="https://github.com/vishanurag">ANURAG VISHWAKARMA </a> | All rights reserved ©
Expand Down