-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdisclosure.css
More file actions
44 lines (37 loc) · 1.02 KB
/
Copy pathdisclosure.css
File metadata and controls
44 lines (37 loc) · 1.02 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
.disclosure {
border: 1px solid var(--disclosure-wrapper-border-color);
margin: var(--prose-elements-margin) 0;
font-size: var(--prose-dl-font-size);
line-height: var(--prose-dl-line-height);
border-radius: var(--rounded-md);
background-color: var(--disclosure-wrapper-bg-color);
--prose-p-margin-bottom: 12px;
--prose-h4-margin-bottom: 2px;
--prose-h4-font-size: 16px;
}
.disclosure code {
font-size: var(--prose-dl-font-size);
}
.disclosure_button {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 25px;
font-weight: 500;
}
.disclosure .disclosure_button svg {
transition: transform .1s ease-in-out;
}
.disclosure.expanded .disclosure_button svg {
transform: rotate(180deg);
}
.disclosure_panel {
padding: 0 25px var(--prose-elements-margin) 25px;
border-top: 1px solid var(--disclosure-panel-border-color);
background-color: var(--disclosure-panel-bg-color);
border-radius: 0 0 7px 7px;
}
.disclosure_panel > *:last-child {
margin-bottom: 0;
}