borg.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. .experimental,
  33. #debugging-facilities,
  34. #borg-recreate {
  35. /* don't change text dimensions */
  36. margin: 0 -40px; /* padding below + border width */
  37. padding: 0 20px; /* 20 px visual margin between edge of text and the border */
  38. /* fallback for browsers that don't have repeating-linear-gradient: thick, red lines */
  39. border-left: 20px solid red;
  40. border-right: 20px solid red;
  41. /* fancy red stripes */
  42. border-image: repeating-linear-gradient(
  43. -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;
  44. }
  45. .topic {
  46. margin: 0 1em;
  47. padding: 0 1em;
  48. /* #4e4a4a = background of the ToC sidebar */
  49. border-left: 2px solid #4e4a4a;;
  50. border-right: 2px solid #4e4a4a;;
  51. }
  52. /* the rtd theme has "nowrap" here which causes tables to have scroll bars.
  53. * undo that setting. it does not seem to cause issues, even when making the
  54. * viewport narrow.
  55. */
  56. .wy-table-responsive table td, .wy-table-responsive table th {
  57. white-space: normal;
  58. }
  59. /* for some reason the rtd theme makes text in tables very small.
  60. * fix that.
  61. */
  62. .wy-table td,
  63. .rst-content table.docutils td,
  64. .rst-content table.field-list td,
  65. .wy-table th,
  66. .rst-content table.docutils th,
  67. .rst-content table.field-list th {
  68. font-size: 100%;
  69. }
  70. code,
  71. .rst-content tt.literal,
  72. .rst-content tt.literal,
  73. .rst-content code.literal,
  74. .rst-content tt,
  75. .rst-content code,
  76. p .literal,
  77. p .literal span {
  78. border: none;
  79. padding: 0;
  80. color: black; /* slight contrast with #404040 of regular text */
  81. background: none;
  82. }
  83. cite {
  84. white-space: nowrap;
  85. color: black; /* slight contrast with #404040 of regular text */
  86. font-size: 75%;
  87. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter",
  88. "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
  89. font-style: normal;
  90. text-decoration: underline;
  91. }