Advertisement
Guest User

Untitled

a guest
Aug 25th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.68 KB | None | 0 0
  1. /*
  2.  * jquery.tocify.css 1.9.0
  3.  * Author: @gregfranko
  4.  */
  5.  
  6. /* The Table of Contents container element */
  7. .tocify {
  8.   overflow: auto;
  9.   position: fixed;
  10.   left: 1024px;
  11. }
  12.  
  13. /* The Table of Contents is composed of multiple nested unordered lists.  These styles remove the default styling of an unordered list because it is ugly. */
  14. .tocify ul, .tocify li {
  15.     list-style: none;
  16.     margin: 0;
  17.     padding: 0;
  18.     border: none;
  19.     line-height: 30px;
  20. }
  21.  
  22. /* Top level header elements */
  23. .tocify-header {
  24.     text-indent: 10px;
  25. }
  26.  
  27. /* Top level subheader elements.  These are the first nested items underneath a header element. */
  28. .tocify-subheader {
  29.     text-indent: 20px;
  30.     display: none;
  31. }
  32.  
  33. /* Makes the font smaller for all subheader elements. */
  34. .tocify-subheader li {
  35.     font-size: 12px;
  36. }
  37.  
  38. /* Further indents second level subheader elements. */
  39. .tocify-subheader .tocify-subheader {
  40.     text-indent: 30px;
  41. }
  42.  
  43. /* Further indents third level subheader elements. You can continue this pattern if you have more nested elements. */
  44. .tocify-subheader .tocify-subheader .tocify-subheader {
  45.     text-indent: 40px;
  46. }
  47.  
  48. /* Twitter Bootstrap Override Style */
  49. .nav-list > li > a, .nav-list .nav-header {
  50.     margin: 0px;
  51. }
  52.  
  53. /* Twitter Bootstrap Override Style */
  54. .nav-list > li > a {
  55.     padding: 5px;
  56. }
  57.  
  58. /* sidebar */
  59. .bs-docs-sidebar {
  60.     padding-left: 20px;
  61.     margin-top: 20px;
  62.     margin-bottom: 20px;
  63. }
  64.  
  65. /* all links */
  66. .bs-docs-sidebar .nav>li>a {
  67.     color: #999;
  68.     border-left: 2px solid transparent;
  69.     padding: 4px 20px;
  70.     font-size: 13px;
  71.     font-weight: 400;
  72. }
  73.  
  74. /* nested links */
  75. .bs-docs-sidebar .nav .nav>li>a {
  76.     padding-top: 1px;
  77.     padding-bottom: 1px;
  78.     padding-left: 30px;
  79.     font-size: 12px;
  80. }
  81.  
  82. /* active & hover links */
  83. .bs-docs-sidebar .nav>.active>a,
  84. .bs-docs-sidebar .nav>li>a:hover,
  85. .bs-docs-sidebar .nav>li>a:focus {
  86.     color: #397bb7;                
  87.     text-decoration: none;          
  88.     background-color: transparent;  
  89.     border-left-color: #397bb7;
  90. }
  91. /* all active links */
  92. .bs-docs-sidebar .nav>.active>a,
  93. .bs-docs-sidebar .nav>.active:hover>a,
  94. .bs-docs-sidebar .nav>.active:focus>a {
  95.     font-weight: 700;
  96. }
  97. /* nested active links */
  98. .bs-docs-sidebar .nav .nav>.active>a,
  99. .bs-docs-sidebar .nav .nav>.active:hover>a,
  100. .bs-docs-sidebar .nav .nav>.active:focus>a {
  101.     font-weight: 500;
  102. }
  103.  
  104. /* hide inactive nested list */
  105. .bs-docs-sidebar .nav ul.nav {
  106.     display: none;          
  107. }
  108. /* show active nested list */
  109. .bs-docs-sidebar .nav>.active>ul.nav {
  110.     display: block;          
  111. }
  112.  
  113. @media screen and (max-width: 1280px){
  114.     .bs-docs-sidebar {
  115.         display:none
  116.     }
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement