-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact-form.css
156 lines (133 loc) · 3.02 KB
/
contact-form.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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#form-parent {
margin: 100px 50px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 50px;
}
#contact-child-one {
padding: 10px 0 40px 20px;
width: 100%;
}
#contact-child-one .contact-title {
margin: 20px 0 30px;
}
#contact-child-one .contact-title h2 {
margin-bottom: 10px;
font-family: 'Open Sans', sans-serif;
color: #5d52ba;
}
#contact-child-one .contact-title p {
font-family: 'Raleway', sans-serif;
color: black;
}
.contact-form-data-container {
display: flex;
flex-direction: column;
gap: 30px;
}
.contact-form-data-container input,
.contact-form-data-container textarea {
width: 100%;
}
.contact-form-data-container input,
.contact-form-data-container textarea {
padding: 13px;
outline: 0;
border: 0;
}
.contact-form-data-container input[type="text"],
.contact-form-data-container input[type="email"],
.contact-form-data-container textarea {
background-color: #f3eeff;
border-radius: 3px;
}
.contact-form-data-container input[type="text"]::placeholder,
.contact-form-data-container input[type="email"]::placeholder,
.contact-form-data-container textarea::placeholder {
font-weight: 600;
letter-spacing: 3px;
color: rgb(194, 194, 194);
}
.contact-form-data-container textarea {
width: 100%;
height: 150px;
}
.contact-form-data-container input[type="text"],
.contact-form-data-container input[type="email"],
.contact-form-data-container textarea {
border: 2px solid transparent;
outline: 2px solid transparent;
outline-offset: 2px;
}
.contact-form-data-container input[type="text"]:focus,
.contact-form-data-container input[type="email"]:focus,
.contact-form-data-container textarea:focus {
border-radius: 0;
border: 1px solid #5d52ba;
outline: 1px solid #5d52ba;
outline-offset: 2px;
}
.contact-form-data-container input[type="submit"] {
background: linear-gradient(to left, #bce0ff, #7f73eb);
color: #fff;
font-weight: 700;
font-size: 1.3rem;
border-radius: 3px;
cursor: pointer;
}
#contact-child-two {
border-right: 2px solid gray;
width: 100%;
position: relative;
}
#contact-child-two img {
width: 100%;
object-fit: cover;
height: 100%;
}
.contact-list {
display: flex;
flex-direction: column;
gap: 20px;
}
.contact-item {
display: flex;
align-items: center;
gap: 10px;
}
.contact-item i {
font-size: 1.5rem;
color: #7f73eb;
border: 1px solid rgb(204, 204, 204);
border-radius: 50%;
padding: 10px;
}
.contact-item a {
text-decoration: none;
color: rgb(63, 63, 63);
transition: .4s;
}
.contact-item a:hover {
color: orangered;
}
.contact-social-icon {
background-color: #5d52ba;
position: absolute;
right: -45px;
bottom: 0;
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px 10px;
border-radius: 0 10px 10px 0;
}
.contact-social-icon i{
font-size: 1.5rem;
color: #fff;
}