forked from codingkatty/mathpylearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.css
67 lines (60 loc) · 1.03 KB
/
faq.css
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
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}
.wrapper {
max-width: 75%;
margin: auto;
}
.wrapper > p,
.wrapper > h1 {
margin: 1.5rem 0;
text-align: center;
}
.wrapper > h1 {
letter-spacing: 3px;
}
.accordion {
background-color: white;
color: rgba(0, 0, 0, 0.8);
cursor: pointer;
font-size: 1.2rem;
width: 100%;
padding: 2rem 2.5rem;
border: none;
outline: none;
transition: 0.4s;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}
.accordion i {
font-size: 1.6rem;
}
.active,
.accordion:hover {
background-color: #f1f7f5;
}
.pannel {
padding: 0 2rem 2.5rem 2rem;
background-color: white;
overflow: hidden;
background-color: #f1f7f5;
display: none;
}
.pannel p {
color: rgba(0, 0, 0, 0.7);
font-size: 1.2rem;
line-height: 1.4;
}
.faq {
border: 1px solid rgba(0, 0, 0, 0.2);
margin: 10px 0;
}
.faq.active {
border: none;
}