-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.css
More file actions
110 lines (94 loc) · 1.62 KB
/
contact.css
File metadata and controls
110 lines (94 loc) · 1.62 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#center-text {
max-width: 75%;
margin: 2rem auto;
text-align: center;
}
#contact {
width: 100%;
padding-bottom: 1vh;
}
.container {
margin: 0 auto;
max-width: 100%;
width: 100%;
padding: 2rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
max-width: 640px;
}
form * {
width: 100%;
}
label {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 10px;
font-size: 1.2rem;
text-align: left;
}
.submit-container {
width: auto !important;
}
input[type="text"],
input[type="email"],
textarea {
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 1px;
background-color: #d9d9d9;
box-sizing: border-box;
}
.submit-container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
input[type="submit"] {
background-color: #b7a57a;
color: black;
padding: 0.75rem 1.5rem;
border: none;
cursor: pointer;
margin-right: 2rem;
font-size: 1.2rem;
}
input[type="submit"]:hover {
background-color: #938462;
}
input[type="checkbox"] {
margin-right: 5px;
margin-top: 7px;
}
label[for="copy"] {
margin-top: 10px;
}
@media only screen and (orientation: landscape) {
#center-text h1 {
font-size: 2.2rem;
}
}
@media only screen and (orientation: portrait) {
#center-text h1 {
font-size: 2rem;
}
label {
font-size: 1.5rem;
}
input[type="submit"] {
margin-top: 2.1rem;
margin-right: 1rem;
}
}