No Description

base.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. body {
  2. padding-top: 70px;
  3. }
  4. h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
  5. content: "";
  6. display: block;
  7. margin-top: -75px;
  8. height: 75px;
  9. }
  10. h2 code, h3 code, h4 code {
  11. background-color: inherit;
  12. }
  13. ul.nav li.main {
  14. font-weight: bold;
  15. }
  16. .container > div.col-md-3 {
  17. padding-left: 0;
  18. }
  19. .container > div.col-md-9 {
  20. padding-bottom: 100px;
  21. }
  22. div.source-links {
  23. float: right;
  24. }
  25. /*
  26. * Side navigation
  27. *
  28. * Scrollspy and affixed enhanced navigation to highlight sections and secondary
  29. * sections of docs content.
  30. */
  31. /* By default it's not affixed in mobile views, so undo that */
  32. .bs-sidebar.affix {
  33. position: static;
  34. }
  35. .bs-sidebar.well {
  36. padding: 0;
  37. }
  38. /* First level of nav */
  39. .bs-sidenav {
  40. margin-top: 30px;
  41. margin-bottom: 30px;
  42. padding-top: 10px;
  43. padding-bottom: 10px;
  44. border-radius: 5px;
  45. }
  46. /* All levels of nav */
  47. .bs-sidebar .nav > li > a {
  48. display: block;
  49. padding: 5px 20px;
  50. z-index: 1;
  51. }
  52. .bs-sidebar .nav > li > a:hover,
  53. .bs-sidebar .nav > li > a:focus {
  54. text-decoration: none;
  55. border-right: 1px solid;
  56. }
  57. .bs-sidebar .nav > .active > a,
  58. .bs-sidebar .nav > .active:hover > a,
  59. .bs-sidebar .nav > .active:focus > a {
  60. font-weight: bold;
  61. background-color: transparent;
  62. border-right: 1px solid;
  63. }
  64. /* Nav: second level (shown on .active) */
  65. .bs-sidebar .nav .nav {
  66. display: none; /* Hide by default, but at >768px, show it */
  67. margin-bottom: 8px;
  68. }
  69. .bs-sidebar .nav .nav > li > a {
  70. padding-top: 3px;
  71. padding-bottom: 3px;
  72. padding-left: 30px;
  73. font-size: 90%;
  74. }
  75. /* Show and affix the side nav when space allows it */
  76. @media (min-width: 992px) {
  77. .bs-sidebar .nav > .active > ul {
  78. display: block;
  79. }
  80. /* Widen the fixed sidebar */
  81. .bs-sidebar.affix,
  82. .bs-sidebar.affix-bottom {
  83. width: 213px;
  84. }
  85. .bs-sidebar.affix {
  86. position: fixed; /* Undo the static from mobile first approach */
  87. top: 80px;
  88. }
  89. .bs-sidebar.affix-bottom {
  90. position: absolute; /* Undo the static from mobile first approach */
  91. }
  92. .bs-sidebar.affix-bottom .bs-sidenav,
  93. .bs-sidebar.affix .bs-sidenav {
  94. margin-top: 0;
  95. margin-bottom: 0;
  96. }
  97. }
  98. @media (min-width: 1200px) {
  99. /* Widen the fixed sidebar again */
  100. .bs-sidebar.affix-bottom,
  101. .bs-sidebar.affix {
  102. width: 263px;
  103. }
  104. }