Skip to content

Commit 62e767a

Browse files
Enhanced the contact form (#1394)
1 parent 80f5c03 commit 62e767a

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

assets/css_files/contact.css

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,17 @@ body {
4646
}
4747

4848
.info-title {
49-
text-align: left;
49+
text-align: center;
5050
font-size: 28px;
51-
letter-spacing: 0.5px;
52-
text-shadow: 1px 2px 2px black;
51+
color: #fff9f9;
52+
transition: all 0.3s ease-in-out;
53+
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
54+
}
55+
56+
.info-title:hover {
57+
color: #00d5ff; /* Change text color on hover */
58+
transform: scale(1.1); /* Slightly increase size on hover */
59+
text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* Enhance shadow on hover */
5360
}
5461

5562
.info-sub-title {
@@ -74,13 +81,21 @@ body {
7481
}
7582

7683
.info-details li i {
84+
display: inline-block;
7785
background: #49025f;
7886
padding: 9px;
7987
border-radius: 50%;
8088
font-size: 14px;
8189
margin-right: 5px;
8290
text-shadow: 1px 2px 2px black;
8391
box-shadow: 1px 1px 2px black;
92+
transition: all 0.4s ease-in-out;
93+
cursor: pointer;
94+
}
95+
96+
.info-details li i:hover {
97+
transform: translateY(-5px) rotate(10deg);
98+
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5), -5px -5px 15px rgba(255, 255, 255, 0.6);
8499
}
85100

86101
.info-details li a {
@@ -112,13 +127,15 @@ body {
112127
border-radius: 22%;
113128
margin: 0px 5px;
114129
cursor: pointer;
115-
transition: all 0.5s;
116-
box-shadow: 1px 1px 2px black;
130+
transition: all 0.5s ease-in-out;
131+
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
117132
}
118133

119134
.social-icons li i:hover {
120135
background: #fff;
121136
color: #49025f;
137+
box-shadow: 0 4px 15px rgba(73, 2, 95, 0.8), 0 0 10px rgba(73, 2, 95, 0.5);
138+
transform: scale(1.1);
122139
}
123140

124141
.form-wrap {

0 commit comments

Comments
 (0)