Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ul.table-of-contents {
background: #ffe4e1; /* 背景色の指定 */
padding: 10px 10px 10px 25px;
}
ul.table-of-contents:before {
content: “もくじ”; /* 目次リストの直前に表示する文字列 */
font-size: 1.4rem;
display: block;
background: #f08080; /* 見出し部分の背景色を指定 */
margin-left: -17px; /* リスト部分の・を調整 */
padding: 5px;
margin-bottom: 15px;
color: #000000; /* 文字色を指定 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.