From 0b84a1237d8da493709e10e216dc8bcbeb29631d Mon Sep 17 00:00:00 2001 From: "Dr. David Krassnig" <96623786+DavidKrassnig@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:30:26 +0100 Subject: [PATCH] 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 <31376482+george-gca@users.noreply.github.com> --- _posts/2015-03-15-formatting-and-links.md | 24 +++++++++++++---------- _sass/_base.scss | 16 +++++++++++++++ 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/_posts/2015-03-15-formatting-and-links.md b/_posts/2015-03-15-formatting-and-links.md index e1b52d762386..0962756d5a78 100644 --- a/_posts/2015-03-15-formatting-and-links.md +++ b/_posts/2015-03-15-formatting-and-links.md @@ -11,12 +11,18 @@ Jean shorts raw denim Vice normcore, art party High Life PBR skateboard stumptow #### Hipster list -
- 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 -+> 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. diff --git a/_sass/_base.scss b/_sass/_base.scss index 7f44bb699fe4..ecac04992f01 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -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 {