forked from sherlocked01/Company-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact-us.css
81 lines (75 loc) · 1.33 KB
/
contact-us.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
69
70
71
72
73
74
75
76
77
78
79
80
81
.head img{
vertical-align: middle;
width: 6em;
}
.head span{
vertical-align: middle;
font-size: 3em;
font-weight: 600;
}
.head{
text-align: center;
}
.form_desc{
display: flex;
align-items: center;
flex-direction: column;
font-size: 170%;
margin-top: 6%;
}
input[type=text],input[type=email], textarea {
width: 90%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical;
}
input[type=submit] {
background-color: #010564;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
display: block;
width: 50%;
}
input[type=submit]:hover {
background-color: #0a0f88;
}
.container {
border-radius: 5px;
padding: 4%;
}
.form_container{
display: grid;
grid-template-columns: 1fr 2fr;
}
form{
padding: 5%;
padding-right: 0%;
display: grid;
grid-template-columns: 1fr 1fr;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
form label{
display: block;
font-size: 1.2em;
font-weight: 600;
margin-bottom: 1%;
}
form textarea{
width: 100%;
}
@media (max-width: 768px) {
.form_container, form{
display: flex;
flex-direction: column;
}
form textarea{
width: 90%;
}
}