-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaq.css
More file actions
72 lines (60 loc) · 1.33 KB
/
faq.css
File metadata and controls
72 lines (60 loc) · 1.33 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
/* Your existing CSS styles */
body, html {
margin: 0;
padding: 0;
height: 100%;
}
.wrapper {
min-height: 100%;
display: flex;
flex-direction: column;
}
.faq-section {
flex: 1; /* Take remaining space */
background-color: #0d1117;
color: #ffffff;
padding: 20px;
}
.button {
background-color: #58a6ff;
color: #ffffff;
padding: 10px 15px;
border: none;
cursor: pointer;
border-radius: 5px;
margin-top: 20px; /* Add space between FAQ section and the button */
}
.button:hover {
background-color: #005cc5;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1em 0;
}
/* Additional style for bold questions */
.faq-item .question {
font-weight: bold;
}
/* Your existing styles */
.faq-item {
margin-bottom: 20px;
}
.question {
font-weight: bold;
cursor: pointer;
font-size: 1.2em; /* Increase the font size of the question */
position: relative;
padding-left: 20px; /* Add space for the arrow */
}
.question::before {
content: '\25B6'; /* Unicode character for right-pointing arrow */
font-size: 0.8em;
position: absolute;
left: 0;
}
.answer {
display: none;
font-size: 1em; /* Set font size for the answer */
}