Add styling for GFM task lists

Close #2092
This commit is contained in:
Michael Rose 2019-03-13 08:30:30 -04:00
parent 097c01eff1
commit 8625e0708a
4 changed files with 27 additions and 2 deletions

View file

@ -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)

View file

@ -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
========================================================================== */

View file

@ -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)

View file

@ -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
* unordered item
### Task Lists
- [x] Finish my changes
- [ ] Push my commits to GitHub
- [ ] Open a pull request