Dark Git Book

Dark Git book

  1. /* ==UserStyle==
  2. @name Dark Git Book
  3. @namespace mailto: fish404hsif@gmail.com
  4. @version 0.2.0
  5. @description Dark Git book
  6. @author fish-404
  7. @license MIT
  8. ==/UserStyle== */
  9.  
  10. @-moz-document domain("gitbook.io") {
  11. /* Left Sidebar */
  12. .r-1vckr1u
  13. , .r-1vckr1u /* Code */
  14. {
  15. background-color: #161823;
  16. }
  17. /* Left Sidebar Header Text */
  18. [data-rnw-int-class="nearest_249__265-1767_"] {
  19. color: whitesmoke;
  20. }
  21. /* Left Sidebar grident */
  22. .r-10ptun7 {
  23. background-image: none !important;
  24. }
  25. /* Left sidebar gitbook icon */
  26. .r-1b00too {
  27. background-color: black;
  28. }
  29. /* Content and Right sidebar */
  30. .r-14lw9ot {
  31. background-color: #283142;
  32. }
  33. /* Content Text */
  34. .r-1nf4jbm {
  35. color: whitesmoke;
  36. }
  37. /* Quote | both sidebar text | search ico | inline code */
  38. .r-1bnj018
  39. {
  40. color: rgb(125, 162, 211);
  41. }
  42. /* Code block hightlight */
  43. .r-y7gyvo
  44. , .r-vq47rg
  45. , .r-11faab8
  46. , .r-qtrn9a
  47. , .r-1ghhsy9 /* Left siderbar active text */
  48. , body:not(.dragging) [data-rnw-int-class="nearest____"]:focus [data-rnw-int-class="nearest___265-1767_"] /* right siderbar focus */
  49. , .r-8j6ftb
  50. {
  51. color: #eaff00;
  52. }
  53. .r-123mryc {
  54. color: orange
  55. }
  56. /* right sider bar active left border */
  57. .r-hqnlqz
  58. , .r-11tfr12
  59. {
  60. border-left-color: #eaff00;
  61. }
  62. /* Link */
  63. body:not(.dragging) [data-rnw-int-class="link____"]:hover [data-rnw-int-class="nearest_*"]
  64. , [data-rnw-int-class="nearest_*"]
  65. , body:not(.dragging) [data-rnw-int-class="nearest____"]:hover [data-rnw-int-class="nearest___*"]
  66. , body:not(.dragging) [data-rnw-int-class="link____"]:hover [data-rnw-int-class="nearest_265-1758_267-1759-243__"]
  67. , [data-rnw-int-class="nearest_265-1758_267-1759-243__"]
  68. , [data-rnw-int-class="nearest_249__265-1758_"]
  69. {
  70. color: lightgreen;
  71. }
  72. }
  73.  
  74. @-moz-document domain("gitbooks.io") {
  75. .book-summary
  76. , .markdown-section code
  77. , .gl-wrapper
  78. , .markdown-section pre
  79. {
  80. background-color: #161823;
  81. color: whitesmoke !important;
  82. }
  83. .book-body
  84. , .gl-wrapper .gitbook-link
  85. , #book-search-input
  86. {
  87. background-color: #283142;
  88. }
  89. .markdown-section
  90. , .book-summary ul.summary li a
  91. , .book-summary ul.summary li span
  92. , search-results-title
  93. , .book-body
  94. , #book-search-results .search-results .has-results .search-results-item
  95. , .book-header
  96. {
  97. color: whitesmoke !important;
  98. }
  99. .gl-wrapper::before {
  100. display: none;
  101. }
  102. .book-summary ul.summary li.active > a
  103. , .markdown-section a
  104. , #book-search-results .search-results .has-results .search-results-item a
  105. {
  106. color: yellow !important;
  107. }
  108. }