theme_overrides.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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: linear-gradient(to right, $light-grey , $gray-base) !important;
  29. }
  30. /* Logo */
  31. .fa-home::before, .icon-home::before {
  32. content: url('small_logoonly.png')
  33. }
  34. /* Sidebar TOC */
  35. .wy-menu-vertical li.current {
  36. color: #CCCCCC;
  37. border-color: black;
  38. background: rgba(0,0,0,0.5);
  39. }
  40. .wy-menu-vertical li.toctree-l1.current > a {
  41. color: black;
  42. border-color: whitesmoke;
  43. background-color: whitesmoke;
  44. }
  45. .wy-menu-vertical li.toctree-l2.current > a,
  46. .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a,
  47. .wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
  48. color: #CCCCCC;
  49. border-color: black;
  50. background-color: rgba(0,0,0,0.05);
  51. }
  52. .wy-menu-vertical li.current a:hover,
  53. .wy-menu-vertical li.toctree-l1.current > a:hover,
  54. .wy-menu-vertical li.toctree-l2.current > a:hover,
  55. .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a:hover,
  56. .wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a:hover {
  57. color: white;
  58. border-color: black;
  59. font-weight: bold;
  60. background-color: rgba(0,0,0);
  61. }
  62. .wy-menu-vertical li.toctree-l1 a,
  63. .wy-menu-vertical li.toctree-l2 a,
  64. .wy-menu-vertical li.toctree-l3 a,
  65. .wy-menu-vertical li.toctree-l4 a {
  66. color: #CCCCCC;
  67. border-color: black;
  68. }
  69. /* Main Content */
  70. .wy-nav-content-wrap {
  71. background: whitesmoke;
  72. }
  73. a, a:hover {
  74. color: #990000;
  75. }
  76. a:visited {
  77. color: #cc0000;
  78. }
  79. a.icon-home:visited {
  80. color: #ffffff;
  81. }
  82. /* Code blocks */
  83. .highlight {
  84. background: #e1f0db;
  85. }
  86. /* Default Notes */
  87. .wy-alert.wy-alert-info,
  88. .rst-content .note,
  89. .rst-content .wy-alert-info.attention,
  90. .rst-content .wy-alert-info.caution,
  91. .rst-content .wy-alert-info.danger,
  92. .rst-content .wy-alert-info.error,
  93. .rst-content .wy-alert-info.hint,
  94. .rst-content .wy-alert-info.important,
  95. .rst-content .wy-alert-info.tip,
  96. .rst-content .wy-alert-info.warning,
  97. .rst-content .seealso, .rst-content
  98. .wy-alert-info.admonition-todo,
  99. .rst-content .wy-alert-info.admonition {
  100. background: #d9d9d9;
  101. }
  102. .wy-alert.wy-alert-info
  103. .wy-alert-title,
  104. .rst-content .note .wy-alert-title,
  105. .rst-content .wy-alert-info.attention .wy-alert-title,
  106. .rst-content .wy-alert-info.caution .wy-alert-title,
  107. .rst-content .wy-alert-info.danger .wy-alert-title,
  108. .rst-content .wy-alert-info.error .wy-alert-title,
  109. .rst-content .wy-alert-info.hint .wy-alert-title,
  110. .rst-content .wy-alert-info.important .wy-alert-title,
  111. .rst-content .wy-alert-info.tip .wy-alert-title,
  112. .rst-content .wy-alert-info.warning .wy-alert-title,
  113. .rst-content .seealso .wy-alert-title,
  114. .rst-content .wy-alert-info.admonition-todo .wy-alert-title,
  115. .rst-content .wy-alert-info.admonition .wy-alert-title,
  116. .wy-alert.wy-alert-info .rst-content .admonition-title,
  117. .rst-content .wy-alert.wy-alert-info .admonition-title,
  118. .rst-content .note .admonition-title,
  119. .rst-content .wy-alert-info.attention .admonition-title,
  120. .rst-content .wy-alert-info.caution .admonition-title,
  121. .rst-content .wy-alert-info.danger .admonition-title,
  122. .rst-content .wy-alert-info.error .admonition-title,
  123. .rst-content .wy-alert-info.hint .admonition-title,
  124. .rst-content .wy-alert-info.important .admonition-title,
  125. .rst-content .wy-alert-info.tip .admonition-title,
  126. .rst-content .wy-alert-info.warning .admonition-title,
  127. .rst-content .seealso .admonition-title, .rst-content
  128. .wy-alert-info.admonition-todo .admonition-title,
  129. .rst-content .wy-alert-info.admonition .admonition-title {
  130. background: #737373;
  131. }
  132. /* Note Warnings */
  133. .wy-alert.wy-alert-warning .wy-alert-title, .rst-content .wy-alert-warning.note .wy-alert-title, .rst-content .attention .wy-alert-title, .rst-content .caution .wy-alert-title, .rst-content .wy-alert-warning.danger .wy-alert-title, .rst-content .wy-alert-warning.error .wy-alert-title, .rst-content .wy-alert-warning.hint .wy-alert-title, .rst-content .wy-alert-warning.important .wy-alert-title, .rst-content .wy-alert-warning.tip .wy-alert-title, .rst-content .warning .wy-alert-title, .rst-content .wy-alert-warning.seealso .wy-alert-title, .rst-content .admonition-todo .wy-alert-title, .rst-content .wy-alert-warning.admonition .wy-alert-title, .wy-alert.wy-alert-warning .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-warning .admonition-title, .rst-content .wy-alert-warning.note .admonition-title, .rst-content .attention .admonition-title, .rst-content .caution .admonition-title, .rst-content .wy-alert-warning.danger .admonition-title, .rst-content .wy-alert-warning.error .admonition-title, .rst-content .wy-alert-warning.hint .admonition-title, .rst-content .wy-alert-warning.important .admonition-title, .rst-content .wy-alert-warning.tip .admonition-title, .rst-content .warning .admonition-title, .rst-content .wy-alert-warning.seealso .admonition-title, .rst-content .admonition-todo .admonition-title, .rst-content .wy-alert-warning.admonition .admonition-title {
  134. background: #e6b800;
  135. }
  136. .wy-alert.wy-alert-warning, .rst-content .wy-alert-warning.note, .rst-content .attention, .rst-content .caution, .rst-content .wy-alert-warning.danger, .rst-content .wy-alert-warning.error, .rst-content .wy-alert-warning.hint, .rst-content .wy-alert-warning.important, .rst-content .wy-alert-warning.tip, .rst-content .warning, .rst-content .wy-alert-warning.seealso, .rst-content .admonition-todo, .rst-content .wy-alert-warning.admonition {
  137. background: #FcFde6;
  138. }