|
|
|
@ -7,10 +7,47 @@ body {
|
|
|
|
|
--accent-h: 201; /* Accent hue */
|
|
|
|
|
--accent-s: 17%; /* Accent saturation */
|
|
|
|
|
--accent-l: 50%; /* Accent lightness */
|
|
|
|
|
--ax3: #000;
|
|
|
|
|
}
|
|
|
|
|
.theme-dark,
|
|
|
|
|
.theme-light {
|
|
|
|
|
--background-modifier-accent: var(--ax3);
|
|
|
|
|
--checkbox-color: var(--ax3);
|
|
|
|
|
}
|
|
|
|
|
/* Checklists, task lists, checkboxes */
|
|
|
|
|
body {
|
|
|
|
|
--checkbox-radius: 50%;
|
|
|
|
|
--checkbox-top: 2px;
|
|
|
|
|
--checkbox-left: 0px;
|
|
|
|
|
--checkbox-margin: 0px 6px 0px -2em;
|
|
|
|
|
}
|
|
|
|
|
.checkbox-square {
|
|
|
|
|
--checkbox-size: calc(var(--font-text-size) * 0.85);
|
|
|
|
|
--checkbox-radius: 4px;
|
|
|
|
|
--checkbox-top: 1px;
|
|
|
|
|
--checkbox-left: 0px;
|
|
|
|
|
--checkbox-margin: 0px 8px 0px -2em;
|
|
|
|
|
}
|
|
|
|
|
body.minimal-strike-lists {
|
|
|
|
|
--checklist-done-decoration: line-through;
|
|
|
|
|
}
|
|
|
|
|
body:not(.minimal-strike-lists) {
|
|
|
|
|
--checklist-done-decoration: none;
|
|
|
|
|
--checklist-done-color: var(--text-normal);
|
|
|
|
|
}
|
|
|
|
|
.markdown-preview-section > .contains-task-list {
|
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
.mod-cm6 .HyperMD-task-line[data-task] .cm-formatting-list-ol ~ .task-list-label .task-list-item-checkbox {
|
|
|
|
|
margin: 1px;
|
|
|
|
|
}
|
|
|
|
|
.markdown-preview-view .task-list-item-checkbox {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: var(--checkbox-top);
|
|
|
|
|
left: var(--checkbox-left);
|
|
|
|
|
}
|
|
|
|
|
.markdown-preview-view ul > li.task-list-item {
|
|
|
|
|
text-indent: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Checklist icons */
|
|
|
|
@ -58,6 +95,7 @@ body {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-color: #000;
|
|
|
|
|
}
|
|
|
|
|
input[data-task="/"]:checked:after, li[data-task="/"] > input:checked:after, li[data-task="/"] > p > input:checked:after {
|
|
|
|
|
top: 0;
|
|
|
|
|