-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
44 lines (38 loc) · 731 Bytes
/
main.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
<style>
.collapsible {
padding: 2px;
width: 100%;
border: none;
outline: none;
/* text-align: left; */
font-size: 15px;
}
.active, .collapsible:hover {
background-color: rgba(1, 141, 43, 0.712);
}
.collapsible:after {
content: '\002B';
font-weight: bold;
float: right;
margin-left: 5px;
}
.collapsible.active:after {
content: "\2212";
}
/* .contentshow {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
} */
.collapsible + .contentshow{
display: none;
transition: max-height 0.2s ease-out;
padding: 0 18px;
}
.collapsible.active + .contentshow{
display: block;
transition: max-height 0.2s ease-out;
padding: 0 18px;
}
</style>