箇条書きのバレットをFontAwesomeにするUserCSS
code:style.css
.line .indent-mark .dot::before {
display: block;
position: absolute;
top: -10px;
font-family: 'Font Awesome 5 Free';
font-size: 6px;
content: '\f068'; /* マイナス記号:通常 */
font-weight: 900;
}
code:style.css
.line .indent-mark .dot {
background-color: transparent;
}
code:style.css
.line .indent-mark .c-0 + .dot::before {
font-size: 10px;
}
.line .indent-mark .c-1 + .dot::before {
font-size: 9px;
}
.line .indent-mark .c-2 + .dot::before {
font-size: 8px;
}
.line .indent-mark .c-3 + .dot::before {
font-size: 7px;
}
code:style.css
.indent-mark .dot:nth-child(6n+2)::before {
}
.indent-mark .dot:nth-child(6n+3)::before {
}
.indent-mark .dot:nth-child(6n+4)::before {
}
.indent-mark .dot:nth-child(6n+5)::before {
}
.indent-mark .dot:nth-child(6n+6)::before {
}
.indent-mark .dot:nth-child(6n+7)::before {
}
番号つきリスト
code:style.css
.line.number-list .dot {
display: list-item; /* 表示する */
}
code:style.css
.line.number-list .dot::before {
position: inherit;
top: -11px;
content: '\f292'; /* #:通常 */ /* content: '\f2dc'; /* 雪:クリスマス用 */
font-size: 4px;
}
code:style.css
.line.number-list .c-0 + .dot::before {
font-size: 8px;
}
.line.number-list .c-1 + .dot::before {
font-size: 7px;
}
.line.number-list .c-2 + .dot::before {
font-size: 6px;
}
.line.number-list .c-3 + .dot::before {
font-size: 5px;
}
.line.number-list .c-4 + .dot::before {
font-size: 4px;
}