mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
909c90f776
* Move speech definition into main template * Remove speech definition from definition-content.njk * add margin top helper * add content flag components * Add selection styling to .box class * Change content warning flag styling * Add additional content warning guidance and change styling * Expand examples list * reworded topic[s] after testing in screen reader * Also adjust wording on avoid content guidelines block * Output title into content warning example * Update 11ty/_includes/components/content-warning.njk Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/_includes/components/content-warning-flag.njk Co-authored-by: Tatiana Mac <github@tatianamac.com> * Update 11ty/_includes/components/content-warning.njk Co-authored-by: Tatiana Mac <github@tatianamac.com> Co-authored-by: Tatiana Mac <github@tatianamac.com>
47 lines
566 B
SCSS
47 lines
566 B
SCSS
ol {
|
|
margin: 0;
|
|
padding: 0 0 0 1em;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
padding-bottom: 0.5em;
|
|
|
|
&.subterm {
|
|
padding-left: pxToRem(10);
|
|
}
|
|
|
|
&:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
&.subterm:before {
|
|
content: '\21B3';
|
|
padding-right: pxToRem(5);
|
|
}
|
|
}
|
|
|
|
.list-semicolon {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
& > li {
|
|
display: inline;
|
|
|
|
&:not(:last-child)::after {
|
|
content: '; ';
|
|
}
|
|
}
|
|
}
|
|
|
|
.list-default {
|
|
li {
|
|
list-style: initial;
|
|
margin-left: 2rem;
|
|
&:last-child {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
}
|