Skip to content

Commit

Permalink
Added/Improved Formatting for Checkboxes (alshedivat#2191)
Browse files Browse the repository at this point in the history
A proposed solution for alshedivat#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 <31376482+george-gca@users.noreply.github.com>
  • Loading branch information
2 people authored and Karapost committed Jul 4, 2024
1 parent 16f330a commit af127d1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 10 deletions.
24 changes: 14 additions & 10 deletions _posts/2015-03-15-formatting-and-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,26 @@ Jean shorts raw denim Vice normcore, art party High Life PBR skateboard stumptow

#### Hipster list

<ul>
<li>brunch</li>
<li>fixie</li>
<li>raybans</li>
<li>messenger bag</li>
</ul>
- brunch
- fixie
- raybans
- messenger bag

#### Check List

- [x] Brush Teeth
- [ ] Put on socks
- [x] Put on left sock
- [ ] Put on right sock
- [x] Go to school

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.

<hr>

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.

<blockquote>
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.
—Anais Nin
</blockquote>
> 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.
> —Anais Nin
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.
16 changes: 16 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,22 @@ blockquote {
}
}

// Checklist

ul.task-list {
list-style-type: none; /* Remove bullets from all levels */
}

ul.task-list > li ul {
/* Nested lists within .task-list */
padding-inline-start: 1.5rem;
}

ul.task-list input[type="checkbox"] {
margin: 0.275rem 0.5rem 0.5rem -1rem;
vertical-align: middle;
}

// Math

.equation {
Expand Down

0 comments on commit af127d1

Please sign in to comment.