theme_overrides.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /* override table width restrictions
  2. See: https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
  3. */
  4. @media screen and (min-width: 767px) {
  5. .wy-table-responsive table td {
  6. white-space: normal !important;
  7. }
  8. .wy-table-responsive {
  9. overflow: visible !important;
  10. }
  11. }
  12. /**
  13. * BRANDING
  14. */
  15. /* Sidebar Title */
  16. .wy-side-nav-search {
  17. background: none !important;
  18. }
  19. .wy-side-nav-search input[type="text"] {
  20. border-color: black;
  21. }
  22. .wy-nav-side {
  23. color: #CCCCCC !important;
  24. background: #2D2D34 !important;
  25. background-image: url("hexagon_pattern.png") !important;
  26. background-repeat: repeat !important;
  27. background: -webkit-linear-gradient(left, $light-grey , $gray-base) !important;
  28. background: -o-linear-gradient(right, $light-grey, $gray-base) !important;
  29. background: -moz-linear-gradient(right, $light-grey, $gray-base) !important;
  30. background: linear-gradient(to right, $light-grey , $gray-base) !important;
  31. }
  32. /* Sidebar TOC */
  33. .wy-menu-vertical li.current {
  34. color: #CCCCCC;
  35. border-color: black;
  36. background: rgba(0,0,0,0.5);
  37. }
  38. .wy-menu-vertical li.toctree-l1.current > a {
  39. color: black;
  40. border-color: whitesmoke;
  41. background-color: whitesmoke;
  42. }
  43. .wy-menu-vertical li.toctree-l2.current > a,
  44. .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a,
  45. .wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
  46. color: #CCCCCC;
  47. border-color: black;
  48. background-color: rgba(0,0,0,0.05);
  49. }
  50. .wy-menu-vertical li.current a:hover,
  51. .wy-menu-vertical li.toctree-l1.current > a:hover,
  52. .wy-menu-vertical li.toctree-l2.current > a:hover,
  53. .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover,
  54. .wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover {
  55. color: white;
  56. border-color: black;
  57. font-weight: bold;
  58. background-color: rgba(0,0,0);
  59. }
  60. .wy-menu-vertical li.toctree-l1 a,
  61. .wy-menu-vertical li.toctree-l2 a,
  62. .wy-menu-vertical li.toctree-l3 a,
  63. .wy-menu-vertical li.toctree-l4 a {
  64. color: #CCCCCC;
  65. border-color: black;
  66. }
  67. /* Main Content */
  68. .wy-nav-content-wrap {
  69. background: whitesmoke;
  70. }
  71. a, a:hover {
  72. color: #990000;
  73. }