-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
79 lines (65 loc) · 1.06 KB
/
styles.css
File metadata and controls
79 lines (65 loc) · 1.06 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
body {
font-family: monospace;
max-width: 800px;
margin: 40px auto;
padding: 0 20px;
line-height: 1.6;
color: #333;
}
nav {
margin: 20px 0;
}
a {
color: #333;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
margin: 20px 0;
}
h1 {
font-size: 1.5em;
margin: 20px 0;
}
.faq-section {
margin: 2rem 0;
}
.faq-item {
margin-bottom: 1rem;
}
.faq-question {
padding: 0.5rem 0;
cursor: pointer;
display: flex;
justify-content: flex-start;
align-items: center;
font-weight: bold;
gap: 0.5rem;
}
.faq-answer {
padding: 0.5rem 0 0.5rem 1.3rem;
display: none;
}
.faq-question::before {
content: '▶';
font-size: 0.8rem;
transition: transform 0.2s ease;
display: inline-block;
transform: rotate(0deg);
}
.faq-question.active::before {
transform: rotate(90deg);
}
.faq-question::after {
content: none;
}
.faq-question.active::after {
content: none;
}
.faq-answer.active {
display: block;
}