Skip to content

Instantly share code, notes, and snippets.

@daimac178
Last active May 15, 2018 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daimac178/5d346235d0e302653d6a0e451fbbb6f4 to your computer and use it in GitHub Desktop.
Save daimac178/5d346235d0e302653d6a0e451fbbb6f4 to your computer and use it in GitHub Desktop.
/************************************
** 目次
************************************/
.toc {
margin-left: auto;
margin-right: auto;
}
.toc-toggle-label{
font-size: 80%;
margin: 0 5px;
cursor: pointer
}
.toc-title {
position: relative;
padding-left: 1em;/*アイコン分のスペース*/
line-height: 1.4;
}
.toc-title:before{
font-family: "FontAwesome";
content: "\f03a";/*アイコンのユニコード*/
position: relative;/*絶対位置*/
font-size: 1em;/*サイズ*/
left: 0;/*アイコンの位置*/
top: 0;/*アイコンの位置*/
color: #000000; /*アイコン色*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment