1
0
Fork 0
digital-edc-notebook/.obsidian/plugins/definition-list/styles.css

29 lines
655 B
CSS
Raw Normal View History

2024-11-23 16:53:06 +00:00
/* reading mode */
dl dt {
font-weight: bold;
padding-block-start: var(--list-spacing);
}
dd {
margin-inline-start: var(--list-indent);
padding-block-end: var(--list-spacing);
}
/* live preview */
.dl-dt {
font-weight: bold;
padding-block-start: var(--list-spacing);
}
.markdown-source-view.mod-cm6 .cm-line.dl-dd-reg, .markdown-source-view.mod-cm6 .cm-line.dl-dd-indent {
padding-inline-start: var(--list-indent-editing);
padding-block-end: var(--list-spacing); /* to add space between definitions, must use padding */
}
.markdown-source-view.mod-cm6 .cm-line.dl-dd-indent {
text-indent: 0;
}
.dl-hidden-marker {
display: none;
}