-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact-styles.css
68 lines (55 loc) · 1.15 KB
/
contact-styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.contact-section {
min-height: 65vh;
padding: var(--padding);
background-color: var(--oxford-blue);
}
.contact-container {
border: 2px solid var(--dusty-gray);
background-color: var(--athens-gray);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.contact-form {
border: 2px solid var(--dusty-gray);
display: flex;
flex-direction: column;
justify-content: flex-start;
width: 75%;
margin-bottom: 1.5rem;
}
#name-box::placeholder, #email-box::placeholder, #text-box::placeholder {
font-family: 'Raleway', sans-serif;
color: black;
opacity: 0.5;
text-indent: 5px;
}
#text-box {
padding: 0.625rem 0;
}
#name-box, #email-box, #text-box {
margin: 0.125rem;
}
#name-box, #email-box {
height: 1.8rem;
}
#submit-button {
width: 100px;
height: 2.5rem;
align-self: flex-end;
font-family: 'Raleway', sans-serif;
}
#submit-success {
display: none;
font-size: 0.8rem;
}
@media(min-width:768px) {
.contact-form {
max-width: 30rem;
}
.contact-container {
max-width: 45rem;
margin: 0 auto;
}
}