You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

83 lines
1.9 KiB

  1. .container { max-width: 970px; }
  2. .section-header {
  3. padding-bottom: 4px;
  4. margin: 20px 0 10px;
  5. border-bottom: 1px solid #eeeeee;
  6. }
  7. /* Sidebar navigation (copied from bootstrap docs.css) */
  8. /* First level of nav */
  9. .gddo-sidebar {
  10. margin-top: 5px;
  11. margin-bottom: 30px;
  12. padding-bottom: 10px;
  13. text-shadow: 0 1px 0 #fff;
  14. border-radius: 5px;
  15. }
  16. /* By default it's not affixed in mobile views, so undo that */
  17. .gddo-sidebar .nav.affix {
  18. position: static;
  19. }
  20. .gddo-sidebar .nav {
  21. overflow: auto;
  22. height: 95%;
  23. }
  24. /* All levels of nav */
  25. .gddo-sidebar .nav > li > a {
  26. display: block;
  27. color: #716b7a;
  28. padding: 5px 0px;
  29. }
  30. .gddo-sidebar .nav > li > a:hover,
  31. .gddo-sidebar .nav > li > a:focus {
  32. text-decoration: none;
  33. background-color: #e5e3e9;
  34. }
  35. .gddo-sidebar .nav > .active > a,
  36. .gddo-sidebar .nav > .active:hover > a,
  37. .gddo-sidebar .nav > .active:focus > a {
  38. font-weight: bold;
  39. color: #563d7c;
  40. background-color: transparent;
  41. }
  42. /* Nav: second level (shown on .active) */
  43. .gddo-sidebar .nav .nav {
  44. display: none; /* Hide by default, but at >768px, show it */
  45. margin-bottom: 8px;
  46. }
  47. .gddo-sidebar .nav .nav > li > a {
  48. padding-top: 3px;
  49. padding-bottom: 3px;
  50. padding-left: 15px;
  51. font-size: 90%;
  52. }
  53. /* Show and affix the side nav when space allows it */
  54. @media screen and (min-width: 992px) {
  55. .gddo-sidebar .nav > .active > ul {
  56. display: block;
  57. }
  58. /* Widen the fixed sidebar */
  59. .gddo-sidebar .nav.affix,
  60. .gddo-sidebar .nav.affix-bottom {
  61. width: 213px;
  62. }
  63. .gddo-sidebar .nav.affix {
  64. position: fixed; /* Undo the static from mobile first approach */
  65. top: 10px;
  66. }
  67. .gddo-sidebar .nav.affix-bottom {
  68. position: absolute; /* Undo the static from mobile first approach */
  69. }
  70. .gddo-sidebar .nav.affix-bottom .bs-sidenav,
  71. .gddo-sidebar .nav.affix .bs-sidenav {
  72. margin-top: 0;
  73. margin-bottom: 0;
  74. }
  75. }