char-index型マーカー記法
UserCSS.icon
書式:[# \command <text>]
例:
code:style.css
/* \week */
background-color: hsl(from var(--page-bg) h s l / .65); color: hsl(from var(--page-text-color) h s l / .4);
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 6) { display: none; }
}
/* \white */
background-color: white; color: #333; :is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 7) { display: none; }
}
/* \black */
background-color: black; color: hsl(223 15% 80%);
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 7) { display: none; }
}
/* \yellow */
background-color: var(--c-yellow-4, gold); color: black;
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 8) { display: none; }
}
/* \blue */
background-color: var(--c-blue-3, deepskyblue); color: hsl(223 15% 80%);
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 6) { display: none; }
}
/* \green */
background-color: var(--c-green-4, forestgreen); color: white;
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 7) { display: none; }
}
/* \red */
background-color: crimson; color: white;
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 5) { display: none; }
}
/* \orange */
background-color: #7c007c; color: white; :is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 8) { display: none; }
}
/* \purple */
background-color: #7c007c; color: white; :is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 8) { display: none; }
}
/* \indigo */
background-color: indigo; color: white;
:is(&, & > span:nth-of-type(1)) > span.char-index:nth-of-type(-n + 8) { display: none; }
}
}