Clean up of table structure for Contact Us form.
This commit is contained in:
@@ -1,86 +1,3 @@
|
||||
/*
|
||||
h1, h2, h3 {
|
||||
margin-bottom: 1rem;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
margin: 0 auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
section {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
}
|
||||
.container-input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.container-input label {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Contact Form Section * /
|
||||
.contact-form {
|
||||
padding: 8rem 0 4rem;
|
||||
background: linear-gradient(45deg, #f8fafc, #eff6ff);
|
||||
}
|
||||
|
||||
.contact-form-content {
|
||||
width: 50vw;
|
||||
}
|
||||
|
||||
.contact-form h1 {
|
||||
font-size: 3rem;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-form p {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 2rem;
|
||||
color: var(--subheading);
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
th.lhs,
|
||||
td.lhs {
|
||||
min-width: 8vw;
|
||||
max-width: 8vw;
|
||||
}
|
||||
|
||||
th.rhs,
|
||||
td.rhs {
|
||||
min-width: 36vw;
|
||||
max-width: 36vw;
|
||||
}
|
||||
|
||||
td input,
|
||||
td textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.container-checkbox.receive_marketing {
|
||||
margin-left: 22.25vw;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
.contact-section {
|
||||
padding: 2rem 2rem 4rem;
|
||||
|
||||
Reference in New Issue
Block a user