Created
August 14, 2017 13:26
-
-
Save atenami/a3c9674eff715c991824680c3c67f568 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
<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