mirror of https://github.com/status-im/codimd.git
Update styles of details, summary and figure
Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
parent
95e9f96aa0
commit
ea118c2ec8
|
@ -190,10 +190,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make details boxes look like on GitHub */
|
/* Make details boxes look like on GitHub */
|
||||||
|
.markdown-body summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body summary:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown-body details summary {
|
.markdown-body details summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-body summary {
|
.markdown-body details:not([open]) > *:not(summary) {
|
||||||
display: list-item;
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body figure {
|
||||||
|
margin: 1em 40px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue