-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-styles.css
More file actions
139 lines (108 loc) · 3.14 KB
/
index-styles.css
File metadata and controls
139 lines (108 loc) · 3.14 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
/* Google font*/
@import url('https://fonts.googleapis.com/css2?family=Recursive:wght@300..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Recursive:wght@300..1000&display=swap');
body {
font-family: "Poppins", sans-serif;
font-weight: 600;
font-style: normal;
margin: 0;
padding: 0;
background-color: #222222;
}
.faqs-whole-container {
max-width: 1400px;
margin: 50px auto;
background-color: black;
color: white;
border-radius: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
display: flex; /* Add display flex to align items horizontally */
overflow: hidden; /* Hide overflowing content */
flex-direction: row;
justify-content: center;
align-items: center;
}
.faqs-whole-container-faq-heading {
position: absolute;
left: 30%;
margin-bottom: 20px; /* Add margin bottom for spacing */
color: white;
margin-top: 10px;
font-family: "Recursive", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
}
.faqs-whole-container-content {
margin-top: 30px;
flex: 1; /* Take up remaining space */
padding: 20px; /* Add padding to content */
}
.faqs-whole-container-toggle-icon {
margin-left: 5px; /* Adjust spacing between question text and icon */
float: right;
}
.faqs-whole-container-image {
padding: 20px;
}
.faqs-whole-container-faq-item {
margin-bottom: 20px;
border-bottom: 3px solid;
border-image: linear-gradient(to right, red, skyblue, purple, pink); /* Apply linear gradient */
border-image-slice: 1; /* Ensure the gradient stretches across the entire border */
padding-bottom: 20px; /* Added padding to separate questions */
}
.faqs-whole-container-faq-item:last-child {
border-bottom: none;
}
.faqs-whole-container-question {
cursor: pointer;
font-size: 18px;
/*color: #333;*/
}
.faqs-whole-container-answer {
display: none;
padding: 10px 0;
font-size: 16px;
/*color: #666;*/
}
.faqs-whole-container-image img {
width: 500px;
height: 450px;
display: block;
border-radius: 10px;
margin-top: 50px;
}
/* Additional CSS for mobile */
@media screen and (max-width: 450px) {
.faqs-whole-container {
max-width: 100%;
margin: 5px;
display: flex;
flex-direction: column;
}
.faqs-whole-container-faq-heading {
left: 22px;
margin-top: 20px;
font-size: 20px;
font-weight: 700;
}
.faqs-whole-container-faq-item {
padding: 15px;
}
.faqs-whole-container-image {
order: 1;
}
.faqs-whole-container-content {
order: 2;
}
.faqs-whole-container-question{
font-size: 15px;
}
.faqs-whole-container-image img {
width: 100%;
height: auto;
margin-top: 20px;
border-radius: 5px;
}
}