borg.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. #borg-recreate {
  46. /* don't change text dimensions */
  47. margin: 0 -30px; /* padding below + border width */
  48. padding: 0 10px; /* 10 px visual margin between edge of text and the border */
  49. /* fallback for browsers that don't have repeating-linear-gradient: thick, red lines */
  50. border-left: 20px solid red;
  51. border-right: 20px solid red;
  52. /* fancy red stripes */
  53. border-image: repeating-linear-gradient(
  54. -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;
  55. }
  56. .topic {
  57. margin: 0 1em;
  58. padding: 0 1em;
  59. /* #4e4a4a = background of the ToC sidebar */
  60. border-left: 2px solid #4e4a4a;;
  61. border-right: 2px solid #4e4a4a;;
  62. }
  63. table.docutils:not(.footnote) td,
  64. table.docutils:not(.footnote) th {
  65. padding: .2em;
  66. }
  67. table.docutils:not(.footnote) {
  68. border-collapse: collapse;
  69. border: none;
  70. }
  71. table.docutils:not(.footnote) td,
  72. table.docutils:not(.footnote) th {
  73. border: 1px solid #ddd;
  74. }
  75. table.docutils:not(.footnote) tr:first-child th,
  76. table.docutils:not(.footnote) tr:first-child td {
  77. border-top: 0;
  78. }
  79. table.docutils:not(.footnote) tr:last-child td {
  80. border-bottom: 0;
  81. }
  82. table.docutils:not(.footnote) tr td:first-child,
  83. table.docutils:not(.footnote) tr th:first-child {
  84. border-left: 0;
  85. }
  86. table.docutils:not(.footnote) tr td:last-child,
  87. table.docutils:not(.footnote) tr th:last-child,
  88. table.docutils.borg-options-table tr td {
  89. border-right: 0;
  90. }
  91. table.docutils.option-list tr td,
  92. table.docutils.borg-options-table tr td {
  93. border-left: 0;
  94. border-right: 0;
  95. }
  96. table.docutils.borg-options-table tr td:first-child:not([colspan="3"]) {
  97. border-top: 0;
  98. border-bottom: 0;
  99. }
  100. .borg-options-table td[colspan="3"] p {
  101. margin: 0;
  102. }
  103. .borg-options-table {
  104. width: 100%;
  105. }
  106. kbd, /* used in usage pages for options */
  107. code,
  108. .rst-content tt.literal,
  109. .rst-content tt.literal,
  110. .rst-content code.literal,
  111. .rst-content tt,
  112. .rst-content code,
  113. p .literal,
  114. p .literal span {
  115. border: none;
  116. padding: 0;
  117. color: black; /* slight contrast with #404040 of regular text */
  118. background: none;
  119. }
  120. kbd {
  121. box-shadow: none;
  122. line-height: 23px;
  123. word-wrap: normal;
  124. font-size: 15px;
  125. font-family: Consolas, monospace;
  126. }
  127. .borg-options-table tr td:nth-child(2) .pre {
  128. white-space: nowrap;
  129. }
  130. .borg-options-table tr td:first-child {
  131. width: 2em;
  132. }
  133. cite {
  134. white-space: nowrap;
  135. color: black; /* slight contrast with #404040 of regular text */
  136. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter",
  137. "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  138. font-style: normal;
  139. text-decoration: underline;
  140. }
  141. .borg-common-opt-ref {
  142. font-weight: bold;
  143. }
  144. .sidebar-toc ul li.toctree-l2 a,
  145. .sidebar-toc ul li.toctree-l3 a {
  146. padding-right: 25px;
  147. }
  148. #common-options .option {
  149. white-space: nowrap;
  150. }