borg.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. @import url("theme.css");
  2. /* The Return of the Borg.
  3. *
  4. * Have a bit green and grey and darkness (and if only in the upper left corner).
  5. */
  6. .wy-side-nav-search {
  7. background-color: #000000 !important;
  8. }
  9. .wy-side-nav-search input[type="text"] {
  10. border-color: #000000;
  11. }
  12. .wy-side-nav-search > a {
  13. color: rgba(255, 255, 255, 0.5);
  14. }
  15. .wy-side-nav-search > div.version {
  16. color: rgba(255, 255, 255, 0.5);
  17. }
  18. dt code {
  19. font-weight: normal;
  20. }
  21. #internals .toctree-wrapper > ul {
  22. column-count: 3;
  23. -webkit-column-count: 3;
  24. }
  25. #internals .toctree-wrapper > ul > li {
  26. display: inline-block;
  27. font-weight: bold;
  28. }
  29. #internals .toctree-wrapper > ul > li > ul {
  30. font-weight: normal;
  31. }
  32. /* bootstrap has a .container class which clashes with docutils' container class. */
  33. .docutils.container {
  34. width: auto;
  35. margin: 0;
  36. padding: 0;
  37. }
  38. /* the default (38px) produces a jumpy baseline in Firefox on Linux. */
  39. h1 {
  40. font-size: 36px;
  41. }
  42. .text-logo {
  43. background-color: #000200;
  44. color: #00dd00;
  45. }
  46. .text-logo:hover,
  47. .text-logo:active,
  48. .text-logo:focus {
  49. color: #5afe57;
  50. }
  51. /* by default the top and bottom margins are unequal which looks a bit unbalanced. */
  52. .sidebar-block {
  53. padding: 0;
  54. margin: 14px 0 24px 0;
  55. }
  56. #borg-documentation h1 + p .external img {
  57. width: 100%;
  58. }
  59. .container.experimental,
  60. #debugging-facilities,
  61. #borg-recreate {
  62. /* don't change text dimensions */
  63. margin: 0 -30px; /* padding below + border width */
  64. padding: 0 10px; /* 10 px visual margin between edge of text and the border */
  65. /* fallback for browsers that don't have repeating-linear-gradient: thick, red lines */
  66. border-left: 20px solid red;
  67. border-right: 20px solid red;
  68. /* fancy red stripes */
  69. border-image: repeating-linear-gradient(
  70. -45deg,rgba(255,0,0,0.1) 0,rgba(255,0,0,0.75) 10px,rgba(0,0,0,0) 10px,rgba(0,0,0,0) 20px,rgba(255,0,0,0.75) 20px) 0 20 repeat;
  71. }
  72. .topic {
  73. margin: 0 1em;
  74. padding: 0 1em;
  75. /* #4e4a4a = background of the ToC sidebar */
  76. border-left: 2px solid #4e4a4a;;
  77. border-right: 2px solid #4e4a4a;;
  78. }
  79. table.docutils:not(.footnote) td,
  80. table.docutils:not(.footnote) th {
  81. padding: .2em;
  82. }
  83. table.docutils:not(.footnote) {
  84. border-collapse: collapse;
  85. border: none;
  86. }
  87. table.docutils:not(.footnote) td,
  88. table.docutils:not(.footnote) th {
  89. border: 1px solid #ddd;
  90. }
  91. table.docutils:not(.footnote) tr:first-child th,
  92. table.docutils:not(.footnote) tr:first-child td {
  93. border-top: 0;
  94. }
  95. table.docutils:not(.footnote) tr:last-child td {
  96. border-bottom: 0;
  97. }
  98. table.docutils:not(.footnote) tr td:first-child,
  99. table.docutils:not(.footnote) tr th:first-child,
  100. table.docutils.option-list tr td {
  101. border-left: 0;
  102. }
  103. table.docutils:not(.footnote) tr td:last-child,
  104. table.docutils:not(.footnote) tr th:last-child,
  105. table.docutils.option-list tr td {
  106. border-right: 0;
  107. }
  108. kbd, /* used in usage pages for options */
  109. code,
  110. .rst-content tt.literal,
  111. .rst-content tt.literal,
  112. .rst-content code.literal,
  113. .rst-content tt,
  114. .rst-content code,
  115. p .literal,
  116. p .literal span {
  117. border: none;
  118. padding: 0;
  119. color: black; /* slight contrast with #404040 of regular text */
  120. background: none;
  121. }
  122. kbd {
  123. box-shadow: none;
  124. line-height: 23px;
  125. word-wrap: normal;
  126. font-size: 15px;
  127. font-family: Consolas, monospace;
  128. }
  129. kbd .option {
  130. white-space: nowrap;
  131. }
  132. table.docutils.option-list td.option-group {
  133. min-width: 10em;
  134. }
  135. cite {
  136. white-space: nowrap;
  137. color: black; /* slight contrast with #404040 of regular text */
  138. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter",
  139. "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  140. font-style: normal;
  141. text-decoration: underline;
  142. }