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

updating the ui/ux of conatact page section #119

Merged
merged 4 commits into from
Jan 15, 2025
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
129 changes: 128 additions & 1 deletion contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ text-align: left; /* Adjusts text alignment, optional */

}

.form-section {
/* .form-section {
flex: 1;
max-width: 500px;
padding: 20px;
Expand Down Expand Up @@ -491,5 +491,132 @@ text-align: left; /* Adjusts text alignment, optional */

.social-links a:hover {
color: #d6a52b;
} */



/* General form section styling */
.form-section {
width: 90%;
max-width: 600px;
margin: 50px auto;
padding: 30px;
background: linear-gradient(135deg, #ffffff, #f3f4f6);
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
font-family: 'Arial', sans-serif;
}

/* Hover effect for form section */
.form-section:hover {
transform: translateY(-5px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Heading and paragraph styling */
.form-section h1 {
font-size: 2.5em;
color: #333;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 2px;
}

.form-section p {
font-size: 1.2em;
color: #555;
margin-bottom: 20px;
line-height: 1.5;
}

/* Form styling */
.form-section form {
display: flex;
flex-direction: column;
gap: 15px;
}

/* Input and textarea styling */
.form-section input,
.form-section textarea {
width: 100%;
padding: 15px;
border: 2px solid #ddd;
border-radius: 8px;
font-size: 16px;
background: #ffebb7;
color: #333;
transition: all 0.3s ease;
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hover effect for inputs and textarea */
.form-section input:hover,
.form-section textarea:hover {
border-color: #007BFF;
background: #f1f9ff;
box-shadow: 0 3px 8px rgba(0, 123, 255, 0.1);
}

/* Focus effect for inputs and textarea */
.form-section input:focus,
.form-section textarea:focus {
outline: none;
border-color: #007BFF;
background: #fff;
box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Placeholder styling */
.form-section input::placeholder,
.form-section textarea::placeholder {
color: #aaa;
font-style: italic;
transition: all 0.3s ease;
}

/* Placeholder hover effect */
.form-section input:hover::placeholder,
.form-section textarea:hover::placeholder {
color: #007BFF;
}

/* Button */
.form-section button {
padding: 15px 20px;
background: #007BFF;
color: #fff;
border: none;
border-radius: 8px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}

.form-section button:hover {
background: #0056b3;
box-shadow: 0 8px 15px rgba(0, 91, 179, 0.3);
}

/* Social links */
.social-links {
margin-top: 25px;
display: flex;
justify-content: center;
gap: 20px;
}

.social-links a {
color: #666;
font-size: 28px;
transition: color 0.3s ease, transform 0.3s ease;
text-decoration: none;
}

.social-links a:hover {
color: #007BFF;
transform: scale(1.2);
}
9 changes: 7 additions & 2 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,14 @@ <h1>CONTACT US</h1>
}
</script>

<footer>
<p>&copy; 2024 Ajivika™ All rights reserved.</p>
<hr style="margin: 20px 0; border: 0; border-top: 1px solid #444" />
<footer style="background-color: #222; color: #fff; padding: 20px 10px">
<div style="text-align: center; font-size: 14px; color: #aaa">
<p>&copy; 2024 Ajivika™. All rights reserved.</p> <br>
<p>Designed and developed with ❤️ by the Ajivika Team.</p>
</div>
</footer>


<script>
// hamburger menu js
Expand Down
Loading