Skip to content

Commit 0b84a12

Browse files
Added/Improved Formatting for Checkboxes (#2191)
A proposed solution for #2190. Padding is added such that I considered it aesthetically pleasing and the bullet points in front of the check marks were removed. --------- Co-authored-by: George <[email protected]>
1 parent 5df7a6a commit 0b84a12

File tree

2 files changed

+30
-10
lines changed

2 files changed

+30
-10
lines changed

_posts/2015-03-15-formatting-and-links.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,26 @@ Jean shorts raw denim Vice normcore, art party High Life PBR skateboard stumptow
1111

1212
#### Hipster list
1313

14-
<ul>
15-
<li>brunch</li>
16-
<li>fixie</li>
17-
<li>raybans</li>
18-
<li>messenger bag</li>
19-
</ul>
14+
- brunch
15+
- fixie
16+
- raybans
17+
- messenger bag
18+
19+
#### Check List
20+
21+
- [x] Brush Teeth
22+
- [ ] Put on socks
23+
- [x] Put on left sock
24+
- [ ] Put on right sock
25+
- [x] Go to school
2026

2127
Hoodie Thundercats retro, tote bag 8-bit Godard craft beer gastropub. Truffaut Tumblr taxidermy, raw denim Kickstarter sartorial dreamcatcher. Quinoa chambray slow-carb salvia readymade, bicycle rights 90's yr typewriter selfies letterpress cardigan vegan.
2228

2329
<hr>
2430

2531
Pug heirloom High Life vinyl swag, single-origin coffee four dollar toast taxidermy reprehenderit fap distillery master cleanse locavore. Est anim sapiente leggings Brooklyn ea. Thundercats locavore excepteur veniam eiusmod. Raw denim Truffaut Schlitz, migas sapiente Portland VHS twee Bushwick Marfa typewriter retro id keytar.
2632

27-
<blockquote>
28-
We do not grow absolutely, chronologically. We grow sometimes in one dimension, and not in another, unevenly. We grow partially. We are relative. We are mature in one realm, childish in another.
29-
—Anais Nin
30-
</blockquote>
33+
> We do not grow absolutely, chronologically. We grow sometimes in one dimension, and not in another, unevenly. We grow partially. We are relative. We are mature in one realm, childish in another.
34+
> —Anais Nin
3135
3236
Fap aliqua qui, scenester pug Echo Park polaroid irony shabby chic ex cardigan church-key Odd Future accusamus. Blog stumptown sartorial squid, gastropub duis aesthetic Truffaut vero. Pinterest tilde twee, odio mumblecore jean shorts lumbersexual.

_sass/_base.scss

+16
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,22 @@ blockquote {
127127
}
128128
}
129129

130+
// Checklist
131+
132+
ul.task-list {
133+
list-style-type: none; /* Remove bullets from all levels */
134+
}
135+
136+
ul.task-list > li ul {
137+
/* Nested lists within .task-list */
138+
padding-inline-start: 1.5rem;
139+
}
140+
141+
ul.task-list input[type="checkbox"] {
142+
margin: 0.275rem 0.5rem 0.5rem -1rem;
143+
vertical-align: middle;
144+
}
145+
130146
// Math
131147

132148
.equation {

0 commit comments

Comments
 (0)