1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Improve the checkbox style (#207)

Hotfix: the solution of #203 will affect the layout `archives`
This commit is contained in:
Cotes Chung
2020-12-13 01:45:52 +08:00
parent 07d29ec9bf
commit cea339088b
2 changed files with 13 additions and 10 deletions

View File

@@ -862,18 +862,21 @@ div.post-content .table-wrapper {
}// p
ul {
padding-left: 2rem;
&.task-list, &:not([class]) {
padding-left: 2rem;
.task-list-item {
list-style-type: none;
}
.task-list-item {
list-style-type: none;
}
input[type=checkbox] {
margin: 0 .5rem .25rem -1.3rem;
vertical-align: middle;
input[type=checkbox] {
margin: 0 .5rem .25rem -1.3rem;
vertical-align: middle;
}
}
}
}
} // ul
} // .post-content
.tag:hover {
@extend %tag-hover;