Created
January 1, 2016 10:12
-
-
Save fukuihi/5d0d0b378afc412b022c to your computer and use it in GitHub Desktop.
はてなブログのSolidテーマでの、目次記法の目次用のスタイルシート。
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
/* 目次記法用 */ | |
article .entry-content .table-of-contents{ | |
background: initial; | |
margin: 30px 0 30px; | |
padding: 15px 15px 15px 50px; | |
border: 1px solid #CCC; | |
} | |
article .entry-content .table-of-contents{ | |
margin: 10px 0 0; | |
} | |
article .entry-content .table-of-contents ul{ | |
padding: 0 0 0 1.5em; | |
list-style-type: decimal; | |
} | |
article .entry-content .table-of-contents li{ | |
list-style-type: decimal; | |
} | |
article .entry-content .table-of-contents li li{ | |
list-style-type: lower-roman; | |
} | |
article .entry-content .table-of-contents li li li{ | |
list-style-type: circle; | |
} | |
article .entry-content .table-of-contents:before{ | |
content:"【目次】"; | |
display:block; | |
font-weight:bold; | |
font-size:110%; | |
margin: 0 0 0 -3em; | |
letter-spacing: 0.5em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment