Add styles. Contacts page content

This commit is contained in:
2025-09-11 17:08:21 +03:00
parent 5bcf607122
commit c12f1eee2e
3 changed files with 90 additions and 1 deletions

View File

@@ -81,4 +81,58 @@ main {
height: 10rem;
border-radius: 0.75rem;
object-fit: cover;
}
}
/* Form Styles */
form {
background-color: var(--highlight);
padding: 1rem;
border-radius: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 30rem;
margin: 1rem auto;
}
/* Input, Textarea, Select */
input, textarea, select {
background-color: var(--secondary);
color: var(--primary);
border: 1px solid var(--primary);
border-radius: 0.5rem;
padding: 0.5rem 0.75rem;
font-size: 1rem;
font-family: inherit;
transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
outline: none;
border-color: var(--click-me);
box-shadow: 0 0 0 2px rgba(255, 192, 203, 0.3);
}
/* Button */
button {
background-color: var(--click-me);
color: var(--background);
border: none;
border-radius: 0.75rem;
padding: 0.5rem 1rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s, transform 0.1s;
}
button:hover {
background-color: #ff85c1; /* slightly darker pink for hover */
transform: scale(1.05);
}
button:active {
transform: scale(0.98);
}