1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

add content_toc

This commit is contained in:
ruanyf 2014-04-22 09:27:49 +08:00
parent 420c1aa863
commit 2ed4b5d298

View File

@ -118,7 +118,7 @@ body {
} }
} }
#content pre { #content pre{
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding-top: 10px; padding-top: 10px;
@ -193,7 +193,7 @@ body {
#content ul li { #content ul li {
text-indent: -5px; /* to compensate for the padding for the dash */ text-indent: -5px; /* to compensate for the padding for the dash */
font-size: 13px; font-size: 0.8rem;
} }
#content ul li.link { #content ul li.link {
@ -209,6 +209,11 @@ body {
text-decoration: none; text-decoration: none;
} }
#content .content-toc{
background: #bdc3c7;
border-radius: 5px;
}
#back_to_top { #back_to_top {
display: none; display: none;
position: fixed; position: fixed;