Skip to content

Commit

Permalink
Merge branch 'Main' into Day-104-Periodic-Table-Added
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyagothi authored Jan 20, 2025
2 parents 9b53127 + ceaeba1 commit 340c62d
Show file tree
Hide file tree
Showing 29 changed files with 5,571 additions and 342 deletions.
Binary file added Imagemain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions forgot-password.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forgot Password</title>
<style type="text/css">
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
background: linear-gradient(135deg, #4a90e2, #1abc9c);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}

/* Forgot Password Container */
.forgot-password-container {
background: rgba(255, 255, 255, 0.1);
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 400px;
text-align: center;
}

.form-wrapper h1 {
font-size: 2rem;
margin-bottom: 10px;
}

.form-wrapper p {
font-size: 1rem;
margin-bottom: 20px;
}

/* Form Inputs */
form {
display: flex;
flex-direction: column;
}

label {
text-align: left;
margin-bottom: 8px;
font-size: 0.9rem;
}

input[type="email"] {
padding: 12px;
border-radius: 5px;
border: none;
margin-bottom: 20px;
outline: none;
font-size: 1rem;
background: rgba(255, 255, 255, 0.8);
color: #333;
}

input[type="email"]:focus {
background: #fff;
border: 2px solid #4a90e2;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Submit Button */
.submit-button {
padding: 12px;
border: none;
border-radius: 5px;
background: #9013fe;
color: #fff;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease-in-out;
}

.submit-button:hover {
background: #4a90e2;
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Responsiveness */
@media (max-width: 480px) {
.forgot-password-container {
padding: 20px;
}

.form-wrapper h1 {
font-size: 1.5rem;
}

.form-wrapper p {
font-size: 0.9rem;
}
}

</style>

</head>
<body>
<div class="forgot-password-container">
<div class="form-wrapper">
<h1>Forgot Password</h1>
<p>Enter your registered email address to reset your password.</p>
<form id="forgot-password-form">
<label for="email">Email Address</label>
<input type="email" id="email" placeholder="Enter your email" required>
<button type="submit" class="submit-button">Send Reset Link</button>
</form>
</div>
</div>

<script>
document.getElementById('forgot-password-form').addEventListener('submit', function (e) {
e.preventDefault();
const email = document.getElementById('email').value;

if (email) {
alert(`Password reset link has been sent to ${email}`);
document.getElementById('email').value = ''; // Clear input field
} else {
alert('Please enter a valid email address!');
}
});


</script>
</body>
</html>
127 changes: 116 additions & 11 deletions index.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
body,
html {
margin: 0;
overflow: auto;
overflow-x: hidden;
}


.navbar-item {
font-family: "Poppins", sans-serif;
transition: color 0.3s ease, background-color 0.3s ease;

#bgCanvas {
position: fixed;
Expand All @@ -13,14 +12,109 @@ html {
height: 100%;
z-index: -1;
filter: blur(5px);

}

.navbar-item:hover {
color: #ffffff; /* White text */
text-decoration: none;
}


.navbar-burger:hover {
background-color: #1abc9c; /* Teal hover for burger menu */
color: #ffffff;
}

/* Buttons */
button, .button {
font-family: "Poppins", sans-serif;
font-size: 1rem;
transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, .button:hover {
transform: scale(1.1);
background-color: #27ae60; /* Darker green for hover */
}

.content {
position: relative;
z-index: 1;
padding: 20px;
/* Links */
a {
color: #1abc9c; /* Teal color */
transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
color: #ffffff; /* Change to white */
text-decoration: underline;
}

/* Search bar */
#searchInput {
font-family: "Poppins", sans-serif;
font-size: 1rem;
padding: 10px;
border-radius: 5px;
border: 1px solid #27ae60; /* Green border */
background-color: #2c3e50; /* Dark background */
color: #ecf0f1; /* Light text */
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#searchInput:focus {
outline: none;
border-color: #1abc9c;
box-shadow: 0 0 8px rgba(26, 188, 156, 0.8);
}

#searchButton {
background-color: #1abc9c;
color: #ffffff;
transition: transform 0.3s ease, background-color 0.3s ease;
}

#searchButton:hover {
background-color: #27ae60;
transform: scale(1.05);
}

/* Table links hover effects */
.table a {
font-family: "Poppins", sans-serif;
font-weight: bold;
color: #1abc9c; /* Initial teal color */
transition: color 0.3s ease, text-decoration 0.3s ease;
}

.table a:hover {
color: #16a085; /* Darker teal */
text-decoration: underline;
}

/* Footer social icons hover */
.footer .button.is-dark.is-rounded {
background-color: #2c3e50; /* Dark background */
color: #ecf0f1;
transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer .button.is-dark.is-rounded:hover {
background-color: #1abc9c; /* Teal on hover */
transform: scale(1.2);
}

/* Navbar title hover */
.navbar-brand .navbar-item.has-text-weight-bold:hover {
color: #ffffff; /* White text */
background-color: #16a085; /* Green background */
}

/* Adjust body and overall font-family */
body {
font-family: "Poppins", sans-serif;
background-color: #181818;
color: #ffffff;

@media(max-width:426px) {
.links table tbody tr td {
padding: 6px 2px; /* Reduce padding for smaller screens */
Expand Down Expand Up @@ -128,10 +222,21 @@ main h1 {
#no-projects {
text-align: center;
margin-top: 2rem;

}

/* Footer styles */
footer {

background-color: #222222;
color: #f3eeee;
}

footer a:hover {
color: #1abc9c; /* Teal hover */
text-decoration: underline;
}
#title-heading {
margin-bottom: 20px;
background-color: #222222;
padding: 1rem;
text-align: center;
Expand Down
Loading

0 comments on commit 340c62d

Please sign in to comment.