1
0
Fork 0
digital-edc-notebook/.obsidian/plugins/definition-list/styles.css
2024-11-23 11:53:06 -05:00

29 lines
655 B
CSS

/* 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;
}