Skip to content

Commit 77b5cdd

Browse files
committed
Refmarks lists
See #260
1 parent 89d09cb commit 77b5cdd

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

src/assets/sass/modules/_lists.scss

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,40 @@ dd {
249249
.button-list {
250250
float: right;
251251
}
252+
253+
/**
254+
* Reference-mark notes lists (6 items).
255+
*
256+
* Example HTML:
257+
*
258+
* <ol class="list--refmarks">
259+
*/
260+
261+
.list--refmarks {
262+
padding: 0;
263+
list-style: none;
264+
265+
li:nth-of-type(1)::before {
266+
content: "\002a\0020"; // asterisk
267+
}
268+
269+
li:nth-of-type(2)::before {
270+
content: "\2020\0020"; // dagger
271+
}
272+
273+
li:nth-of-type(3)::before {
274+
content: "\2021\0020"; // double dagger
275+
}
276+
277+
li:nth-of-type(4)::before {
278+
content: "\00a7\0020"; // section
279+
}
280+
281+
li:nth-of-type(5)::before {
282+
content: "\00b6\0020"; // pilcrow
283+
}
284+
285+
li:nth-of-type(6)::before {
286+
content: "\2016\0020"; // parallel bars
287+
}
288+
}

0 commit comments

Comments
 (0)