Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<style type="text/css">
.table-of-contents {
position: relative;
background-color: #ECEEF1;
padding: 40px 10px 10px 35px !important;
border-radius: 6px;
font-size: 14px;
line-height: 28px;
}
.table-of-contents::before {
content: ‘もくじ’;
position: absolute;
display: block;
text-align: center;
top: 8px;
left: 45%;
margin-left: -1em;
font-size: 18px;
font-weight: 700;
z-index: 2;
}
/* ### 目次周りの余白を調節する ### */
.entry-content ol,.entry-content ul {
margin: 0 0 0 0 !important;
padding: 0 0 0 18px;
}
</style>
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.