-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontactCSS.css
More file actions
218 lines (180 loc) · 3.07 KB
/
contactCSS.css
File metadata and controls
218 lines (180 loc) · 3.07 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.container {
width: 100%;
margin: auto;
display:flex;
align-items:center;
flex-direction:column;
}
.herop {
width: 100%;
min-height: 100vh;
background: #eceaff;
color: #525252;
}
nav{
background:#1a1a1a;
width: 100%;
padding: 10px 10%;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.logo{
width: 120px;
}
.user-pic {
width: 40px;
border-radius: 10%;
cursor: pointer;
margin-left: 10px;
}
.sub-menu-wrap{
position: absolute;
top: 100%;
right: 10%;
width: 320px;
max-height: 0px;
overflow: hidden;
transition: max-height 0.5s;
}
.sub-menu-wrap.open-menu{
max-height: 400px;
}
.sub-menu{
background: #fff;
padding: 20px;
margin: 10px;
}
.user-info{
display: flex;
align-items: center;
}
.user-info h3{
font-weight: 500;
}
.user-info img {
width: 60px;
border-radius: 50%;
margin-right: 15px;
}
.sub-menu hr {
border: 0;
height: 1px;
width: 100%;
background: #ccc;
margin: 15px 0 10px;
}
.sub-menu-link {
display: flex;
align-items: center;
text-decoration: none;
color: #525252;
margin: 12px 0;
}
.sub-menu-link p{
width: 100%;
}
.sub-menu-link img{
width: 40px;
background: #e5e5e5;
border-radius: 50%;
padding: 8px;
margin: 15px;
}
.sub-menu-link span{
font-size: 22px;
transition: 0.5s;
}
.sub-menu-link:hover span{
transform: translateX(5px);
}
.sub-menu-link:hover p{
font-weight: 600;
}
nav ul{
width: 100%;
text-align: right;
}
nav ul li {
display: inline-block;
list-style: none;
margin: 10px 20px;
}
nav ul li a{
color: #fff;
text-decoration: none;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
text-decoration: none;
color: #fff;
}
.contact {
padding: 50px 0;
background-color: #f4f4f4;
}
.contact h2 {
text-align: center;
}
.contact p {
text-align: justify;
}
.contact form {
margin-top: 20px;
}
.contact form label {
display: block;
}
.carts{
width:20px;
margin-right:10px;
}
.contact form input[type="text"],
.contact form input[type="email"],
.contact form textarea {
width: 100%;
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.contact form textarea {
resize: vertical;
width:330px;
height:180px;
}
.contact form input[type="submit"] {
background-color: #333;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin-left:37%;
}
.contact form input[type="submit"]:hover {
background-color: #555;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
position: fixed;
bottom: 0;
width: 100%;
}