-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactus.css
126 lines (109 loc) · 1.71 KB
/
contactus.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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
*{
margin: 0px;
padding:0px;
box-sizing: border-box;
}
body{
width:100%;
height: 100vh;
font-family: 'Baskervville',sans-serif;
font-size: 18px;
}
.left{
width: 40%;
height: 100vh;
overflow: hidden;
}
.left img{
width: 100%;
height: 50vh;
margin-top: 30%;
margin-left: 5px;
object-fit: contain;
}
.right{
width: 60%;
height: 100vh;
overflow-x: hidden;
}
.contactus {
display: flex;
}
/*content of the page*/
.content{
margin:auto;
width:80%;
}
h1{
margin:26px 0px;
margin-top: 100px;
}
/*text field for emails and the likes*/
.text-field{
display:grid;
column-gap: 10px;
row-gap:30px;
margin-top: 30px;
grid-template-areas:
'a b'
'c c'
'd d';
}
input{
width: 100%;
padding: 20px 10px;
font-size:16px;
border: 2px solid #782c00;
border-radius:10px;
border-bottom-style: none;
}
input::placeholder{
font-family: 'Baskervville', sans-serif;
color: rgba(0,0,0,0.3);
}
input:hover{
outline: none;
}
/*id of the input fields*/
#a{
grid-area: a;
}
#b{
grid-area: b;
}
#c{
grid-area: c;
}
#d{
grid-area: d;
height: 30vh;
border: 2px solid #782c00;
border-top-style: none;
}
#submit{
color: white;
border-style: none;
background-color: #782c00;
font-weight: 700;
font-size: 18px;
padding:10px 30px;
left: 0px;
bottom: 0px;
margin: 35px 10%;
width: 150px;
box-shadow:1px 2px 5px rgba(0,0,0,0.4) ;
}
@media(max-width:550px){
h1{
margin-top: 50px;
}
}
/* image adjustments
.left img{
width: 100%;
height: 50vh;
margin-top: 30%;
margin-left: 5px;
object-fit: contain;
}
*/