Park Setting catalog blog

TOC

Park Setting catalog blog

Reference: https://www.cnblogs.com/mingjiatang/p/5954352.html

Park set up blog directory function,

Want a custom directory blog garden, you need to apply for js function.

  • In the blog's first garden 管理, 设置the application js;
  • In 页首Html代码replicate what content
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link href="http://files.cnblogs.com/files/mingjiatang/mystyle.css" rel="stylesheet">
<script type="text/javascript" src="http://files.cnblogs.com/files/mingjiatang/mycnblogs.js"></script>
<script type="text/javascript" src="http://files.cnblogs.com/files/mingjiatang/mystyle.js"></script>
  • Style settings directory

    In fact, some ways to the above settings finished it's over, but I personally will be one part of the style changed a bit

#sideCatalog-catalog{
    overflow: auto!important;
    font-family: Consolas,DroidSans,"Liberation Mono", Menlo, Courier, monospace;
}

#sideCatalog-catalog::-webkit-scrollbar {
    display: none;
}


Click the button to the directory is hidden.,





Guess you like

Origin www.cnblogs.com/ziyue7575/p/11407354.html