mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(style): style task lists with emoji check boxes
This commit is contained in:
parent
8e2b1cc26b
commit
6110bcf371
1 changed files with 20 additions and 0 deletions
|
@ -9,3 +9,23 @@
|
|||
line-height: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// Emoji task lists
|
||||
|
||||
.task-list input[type='checkbox']:checked {
|
||||
appearance: initial;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
border: none;
|
||||
background: initial;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.task-list input[type='checkbox']:not(:checked) {
|
||||
width: .9em;
|
||||
height: .9em;
|
||||
}
|
||||
|
||||
.task-list input[type='checkbox']:checked::after {
|
||||
content:"✅";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue