pydoctheme_dark.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /* Browser elements */
  2. :root {
  3. scrollbar-color: #616161 transparent;
  4. color-scheme: dark;
  5. }
  6. html,
  7. body {
  8. background-color: #222;
  9. color: rgba(255, 255, 255, 0.87);
  10. }
  11. div.related {
  12. color: rgba(255, 255, 255, 0.7); /* classic overwrite */
  13. border-color: #424242;
  14. }
  15. /* SIDEBAR */
  16. div.sphinxsidebar, .menu-wrapper {
  17. background-color: #333;
  18. color: inherit;
  19. }
  20. #sidebarbutton {
  21. /* important to overwrite style attribute */
  22. background-color: #555 !important;
  23. color: inherit !important;
  24. }
  25. div.sidebar, aside.sidebar {
  26. background-color: #424242;
  27. border-color: #616161;
  28. }
  29. /* ANCHORS AND HIGHLIGHTS */
  30. div.body a {
  31. color: #7af;
  32. }
  33. div.body a:visited {
  34. color: #09e;
  35. }
  36. a.headerlink:hover {
  37. background-color: #424242;
  38. }
  39. div.related a {
  40. color: currentColor;
  41. }
  42. div.footer,
  43. div.footer a {
  44. color: currentColor; /* classic overwrites */
  45. }
  46. dt:target,
  47. span.highlighted {
  48. background-color: #616161;
  49. }
  50. /* Below for most things in text */
  51. dl.field-list > dt {
  52. background-color: #434;
  53. }
  54. table.docutils td,
  55. table.docutils th {
  56. border-color: #616161 !important;
  57. }
  58. table.docutils th {
  59. background-color: #424242;
  60. }
  61. .refcount {
  62. color: #afa;
  63. }
  64. .stableabi {
  65. color: #bbf;
  66. }
  67. div.body pre {
  68. border-color: #616161;
  69. }
  70. code {
  71. background-color: #424242;
  72. }
  73. div.body div.seealso {
  74. background-color: rgba(255, 255, 0, 0.1);
  75. }
  76. div.warning {
  77. background-color: rgba(255, 0, 0, 0.2);
  78. }
  79. .warning code {
  80. background-color: rgba(255, 0, 0, 0.5);
  81. }
  82. aside.topic,
  83. div.topic,
  84. div.note,
  85. nav.contents {
  86. background-color: rgba(255, 255, 255, 0.1);
  87. border-color: currentColor;
  88. }
  89. .note code {
  90. background-color: rgba(255, 255, 255, 0.1);
  91. }
  92. .mobile-nav {
  93. box-shadow: rgba(255, 255, 255, 0.25) 0 0 2px 0;
  94. }
  95. .nav-content {
  96. background-color: black;
  97. }
  98. img.invert-in-dark-mode {
  99. filter: invert(1) hue-rotate(.5turn);
  100. }
  101. /* -- object description styles --------------------------------------------- */
  102. /* C++ specific styling */
  103. /* Override Sphinx's basic.css to fix colour contrast */
  104. .sig.c .k, .sig.c .kt,
  105. .sig.cpp .k, .sig.cpp .kt {
  106. color: #5283ff;
  107. }