Last active
August 14, 2017 13:24
-
-
Save atenami/761fda1f7f592d5d4acdaee062980e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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