borg.css 3.9 KB

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