feat: added checkbox formatting
This commit is contained in:
parent
623893002c
commit
a6ce214130
4 changed files with 41 additions and 1 deletions
|
|
@ -180,6 +180,35 @@ a {
|
|||
background: none;
|
||||
}
|
||||
|
||||
/* Task lists (checkboxes) */
|
||||
.post-content ul.contains-task-list {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.post-content .task-list-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.post-content .task-list-item-checkbox {
|
||||
margin-top: 0.35rem;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
accent-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.post-content .task-list-item > label {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Nested task lists */
|
||||
.post-content .task-list-item ul.contains-task-list {
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
/* Lists in post content */
|
||||
.post-content ul,
|
||||
.post-content ol {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue