chore: finalize about and contact pages, fix stylesheet path, add TODO comments for future improvements
This commit is contained in:
@@ -1,5 +1,151 @@
|
||||
/* about.css */
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
/*? ↓ About Section Styles ↓ */
|
||||
|
||||
.about-section {
|
||||
max-width: 1000px;
|
||||
margin: 60px auto;
|
||||
padding: 0 20px;
|
||||
color: #495057;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.about-section h1,
|
||||
.about-section h2 {
|
||||
color: #495057;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.about-section h1 {
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.about-section h2 {
|
||||
font-size: 1.8rem;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.about-section p {
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.about-section a {
|
||||
color: #2e97be;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about-section a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/*? ↓ Contact Section Styles ↓ */
|
||||
|
||||
.contact-section {
|
||||
max-width: 800px;
|
||||
margin: 80px auto;
|
||||
padding: 0 20px;
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.contact-section h2 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contact-section p {
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/*? ↓ Contact Form Styles ↓ */
|
||||
|
||||
#contact-form {
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 10px;
|
||||
padding: 30px;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
#contact-form fieldset {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#contact-form legend {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 25px;
|
||||
color: #2e97be;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#contact-form label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
margin-top: 20px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#contact-form input,
|
||||
#contact-form textarea {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
margin-top: 5px;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
font-size: 1rem;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
#contact-form input:focus,
|
||||
#contact-form textarea:focus {
|
||||
border-color: #2e97be;
|
||||
outline: none;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 0 3px rgba(46, 151, 190, 0.2);
|
||||
}
|
||||
|
||||
#contact-form small {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
color: #868e96;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
#contact-form .radio-group {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#contact-form .radio-group label {
|
||||
display: inline-block;
|
||||
margin-top: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#contact-form button[type="submit"] {
|
||||
margin-top: 30px;
|
||||
padding: 12px 25px;
|
||||
background-color: #2e97be;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 50px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease, box-shadow 0.3s ease;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
#contact-form button[type="submit"]:hover {
|
||||
background-color: #2781a5;
|
||||
box-shadow: 0 4px 8px rgba(46, 151, 190, 0.2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user