diff --git a/CHANGELOG.md b/CHANGELOG.md index ca69743a..e82335ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +- Add styling for [GFM task lists](https://help.github.com/en/articles/about-task-lists#creating-task-lists). [#2092](https://github.com/mmistakes/minimal-mistakes/issues/2092) - Update Google Universal Analytics to load async. [#2079](https://github.com/mmistakes/minimal-mistakes/pull/2079) - Remove Google+ social sharing button, comment provider, and author link configs from theme. - Add missing Chinese text strings. [#2072](https://github.com/mmistakes/minimal-mistakes/pull/2072) diff --git a/_sass/minimal-mistakes/_utilities.scss b/_sass/minimal-mistakes/_utilities.scss index e569b601..a2f4b1ce 100644 --- a/_sass/minimal-mistakes/_utilities.scss +++ b/_sass/minimal-mistakes/_utilities.scss @@ -103,6 +103,23 @@ body:hover .visually-hidden button { white-space: nowrap; } +/* + Task lists + ========================================================================== */ + +.task-list { + padding:0; + + li { + list-style-type: none; + } + + .task-list-item-checkbox { + margin-right: 0.5em; + opacity: 1; + } +} + /* Alignment ========================================================================== */ diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index a7d3954f..fdb8979a 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2019-03-05T18:56:32-05:00 +last_modified_at: 2019-03-13T08:30:09-04:00 toc: false --- @@ -13,6 +13,7 @@ toc: false ### Enhancements +- Add styling for [GFM task lists](https://help.github.com/en/articles/about-task-lists#creating-task-lists). [#2092](https://github.com/mmistakes/minimal-mistakes/issues/2092) - Update Google Universal Analytics to load async. [#2079](https://github.com/mmistakes/minimal-mistakes/pull/2079) - Remove Google+ social sharing button, comment provider, and author link configs from theme. - Add missing Chinese text strings. [#2072](https://github.com/mmistakes/minimal-mistakes/pull/2072) diff --git a/test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md b/test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md index cc4fd5e5..727ab6a8 100644 --- a/test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md +++ b/test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md @@ -57,4 +57,10 @@ Nested and mixed lists are an interesting beast. It's a corner case to make sure 1. **ordered item** 2. **ordered item** * unordered item -* unordered item \ No newline at end of file +* unordered item + +### Task Lists + +- [x] Finish my changes +- [ ] Push my commits to GitHub +- [ ] Open a pull request \ No newline at end of file