Skip to content

Commit ab17e20

Browse files
committed
Apply css for footer section in FAQ
1 parent 8c00bbc commit ab17e20

File tree

1 file changed

+78
-4
lines changed

1 file changed

+78
-4
lines changed

assets/css_files/FAQ.css

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
2-
{
2+
3+
*{
34
margin: 0;
45
padding: 0;
56
box-sizing: border-box;
67
font-family: "Poppins" , sans-serif;
78
}
89

9-
boy{
10+
body{
1011

1112
align-items: center;
1213
justify-content: center;
@@ -17,14 +18,14 @@ boy{
1718

1819
.acc{
1920
display: flex;
20-
ax-width: 1010px;
21+
max-width: 1010px;
2122
width: 100%;
2223
align-items: center;
2324
justify-content: space-between;
2425
background: #efe3ec;
2526
border-radius: 25px;
2627
margin-top: 55px;
27-
magin-bottom: -18px;
28+
margin-bottom: -18px;
2829
padding: 45px 90px 45px 60px;
2930

3031
}
@@ -107,6 +108,79 @@ boy{
107108
.acc-text li.showAnswer p{
108109
display: block;
109110
}
111+
/* Footer Styles */
112+
.footer {
113+
background: #7d2ae8; /* Background color */
114+
color: white; /* Text color */
115+
padding: 30px 60px; /* Padding for spacing */
116+
border-radius: 20px; /* Rounded corners */
117+
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
118+
text-align: center; /* Center-align text */
119+
margin-top: 30px; /* Space above the footer */
120+
}
121+
122+
.footer ul.social-icon {
123+
list-style: none; /* Remove bullet points */
124+
padding: 0; /* Remove padding */
125+
display: flex; /* Flexbox for horizontal layout */
126+
justify-content: center; /* Center the icons */
127+
gap: 15px; /* Space between icons */
128+
}
129+
130+
.footer ul.social-icon li {
131+
display: inline-block; /* Inline-block for horizontal alignment */
132+
}
133+
134+
.footer ul.social-icon a {
135+
color: white; /* Icon color */
136+
font-size: 24px; /* Icon size */
137+
text-decoration: none; /* Remove underline */
138+
transition: color 0.3s ease; /* Smooth transition for hover effect */
139+
}
140+
141+
.footer ul.social-icon a:hover {
142+
color: #ffe600; /* Hover color */
143+
}
144+
145+
.footer p {
146+
margin-top: 20px; /* Space above text */
147+
font-size: 16px; /* Font size */
148+
}
149+
150+
.footer p a {
151+
color: #ffe600; /* Color for links */
152+
text-decoration: none; /* Remove underline */
153+
}
154+
155+
.footer p a:hover {
156+
text-decoration: underline; /* Underline on hover */
157+
}
158+
159+
@media (max-width: 994px) {
160+
.footer {
161+
padding: 20px 30px; /* Adjust padding for smaller screens */
162+
}
163+
164+
.footer ul.social-icon {
165+
flex-direction: column; /* Stack icons vertically */
166+
gap: 10px; /* Adjust gap */
167+
}
168+
169+
.footer ul.social-icon a {
170+
font-size: 20px; /* Smaller icon size */
171+
}
172+
}
173+
174+
@media (max-width: 538px) {
175+
.footer {
176+
padding: 15px 20px; /* Adjust padding for very small screens */
177+
}
178+
179+
.footer p {
180+
font-size: 14px; /* Smaller text size */
181+
}
182+
}
183+
110184

111185
@media (max-width: 994px) {
112186
body{

0 commit comments

Comments
 (0)