Dark NotABug

Dark theme for notabug.org

  1. /* ==UserStyle==
  2. @name Dark NotABug
  3. @description Dark theme for notabug.org
  4. @author NotYou
  5. @namespace -
  6. @version 0.1
  7. @license GPL-3.0-or-later
  8. ==/UserStyle== */
  9.  
  10. @-moz-document domain("notabug.org") {
  11. :root {
  12. --c-w: rgb(255, 255, 255);
  13. --c-w-t: rgba(255, 255, 255, .7);
  14. --c-h: rgb(22, 27, 34);
  15. --c-b: rgb(48, 54, 61);
  16. --c-i: rgb(13, 17, 23);
  17. }
  18.  
  19. * {
  20. scrollbar-width: thin;
  21. scrollbar-color: var(--c-b) var(--c-i);
  22. }
  23.  
  24. #home-div {
  25. width: 100%;
  26. background-color: var(--c-b);
  27. overflow: hidden;
  28. }
  29.  
  30. #home-title-l-span, #home-title-r-span, .hljs-string {
  31. color: rgb(255, 227, 143) !important;
  32. }
  33.  
  34. #home-title-span {
  35. color: rgb(116, 255, 67);
  36. }
  37.  
  38. .item .ui.mini.image, [alt="logo"], [src="/img/hack.png"] {
  39. filter: invert(1);
  40. }
  41.  
  42. #header-div, .menu.transition, .ui.button .ui.basic.label, #repo-files-table * {
  43. background-color: var(--c-h) !important;
  44. color: var(--c-w);
  45. }
  46.  
  47. #header-div .item, #header-div .ui.header {
  48. color: var(--c-w) !important;
  49. }
  50.  
  51. #header-div .item:hover, #header-div .ui.header:hover, .notabug-item:hover, .ui.menu .ui.dropdown .menu > .notabug-item:hover {
  52. background-color: unset !important;
  53. color: var(--c-w-t) !important;
  54. }
  55.  
  56. .menu.transition.visible, #repo-files-table, #branch-list .item {
  57. border: 1px solid var(--c-b) !important;
  58. }
  59.  
  60. .ui.dropdown .menu > .divider, footer {
  61. border-top: 1px solid var(--c-b);
  62. }
  63.  
  64. #header-div .ui.dropdown > .menu > .item:hover {
  65. background-color: rgb(31, 111, 235) !important;
  66. border-radius: unset;
  67. }
  68.  
  69. .following.bar.light {
  70. border-bottom: 1px solid rgba(0, 0, 0, 0);
  71. }
  72.  
  73. .ui.card, .ui.cards > .card {
  74. box-shadow: rgb(0, 0, 0) 0px 1px 3px 0px, var(--c-h) 0px 0px 0px 1px;
  75. background-color: var(--c-h);
  76. }
  77.  
  78. .ui.grid .ui.three, .ui.compact.small.menu, .ui.vertical {
  79. border: 1px;
  80. }
  81.  
  82. .ui.top.header, .ui.grid .ui.three > .item, .ui.attached.table.segment, .ui.compact .item, .ui.attached.segment, .ui.vertical .item {
  83. background-color: var(--c-h) !important;
  84. border: 1px solid var(--c-b) !important;
  85. }
  86.  
  87. .ui.grid .ui.three > .item.active {
  88. background-color: rgb(18, 24, 31);
  89. }
  90.  
  91. .item, .black, .black > * > *, .ui.header, .ui.tiny.basic.status.buttons > :not(.active), .ui.menu .ui.dropdown .menu > .item, .ui.menu .ui.dropdown .menu > .active.item, body > .full, .ui.card, .ui.cards > .card, #header-div .ui.dropdown > .menu > .item:hover, .ui.basic.button, #branch-list .item, .ui.selection.dropdown *, .ui.tiny .ui.basic.button:not(.active), input, code, label {
  92. color: var(--c-w) !important;
  93. }
  94.  
  95. .icon, footer, .ui.top.header, #file-content > * > .markdown, .markdown:not(code) h1 .octicon-link, .markdown:not(code) h2 .octicon-link, .markdown:not(code) h3 .octicon-link, .markdown:not(code) h4 .octicon-link, .markdown:not(code) h5 .octicon-link, .markdown:not(code) h6 .octicon-link, #repo-clone-url, .file-actions .ui.button, .ui.selection.dropdown, .ui.huge .divider {
  96. color: var(--c-w);
  97. }
  98.  
  99. .ui.menu .ui.dropdown .menu > .item:hover, .ui.menu .ui.dropdown .menu > .active.item:hover, .ui.menu .ui.dropdown .menu > .item:active, .ui.menu .ui.dropdown .menu > .active.item:active, .ui.basic.button:hover, .ui.pagination .disabled.item, .ui.basic.button:active, .ui.basic.button:focus {
  100. color: var(--c-w-t) !important;
  101. }
  102.  
  103. .ui.basic.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:active, .ui.basic.buttons .button:active, .ui.basic.button:focus, .ui.basic.buttons .button:focus, input, body > .full, .header-wrapper, #branch-list .item, .file-actions .ui.button, body:not(.full-width) {
  104. background-color: var(--c-i) !important;
  105. }
  106.  
  107. #home-footer-div, #git-stats, #branch-list .item.selected, .ui.container .ui.center.segment, .ui.pagination {
  108. background-color: var(--c-h) !important;
  109. }
  110.  
  111. .ui.selection.dropdown, .ui.vertical .active.item, .ui.pagination .active.item, .lines-num > *, .ui.gray.label {
  112. background-color: var(--c-b) !important;
  113. }
  114.  
  115. input, .ui.compact .active.item, .file-actions .ui.button:hover {
  116. border: 1px solid var(--c-b) !important;
  117. }
  118.  
  119. .linenums * {
  120. color: var(--c-w-t);
  121. }
  122.  
  123. footer {
  124. background-color: unset;
  125. }
  126.  
  127. .ui.attached.segment {
  128. border-radius: 4px;
  129. }
  130.  
  131. .ui.tabular .active.item {
  132. color: var(--c-w) !important;
  133. border-bottom: 0px !important;
  134. border-color: rgba(34, 36, 38, 0.15) !important;
  135. background-color: var(--c-i) !important;
  136. }
  137.  
  138. .markdown:not(code) h1, .markdown:not(code) h2 {
  139. border-bottom: 1px solid var(--c-b);
  140. }
  141.  
  142. .disabled {
  143. cursor: not-allowed !important;
  144. }
  145.  
  146. pre, .linenums {
  147. background-color: rgb(19, 19, 19) !important;
  148. }
  149.  
  150. .hljs-variable {
  151. color: rgb(56, 199, 232);
  152. }
  153.  
  154. .hljs-keyword {
  155. color: rgb(108, 238, 81);
  156. }
  157.  
  158. .hljs-comment, .hljs-quote {
  159. color: rgb(125, 125, 125);
  160. }
  161.  
  162. .hljs-number {
  163. color: rgb(183, 80, 187);
  164. }
  165.  
  166. .hljs-tag, .hljs-name, .hljs-attribute {
  167. color: rgb(210, 191, 83);
  168. }
  169.  
  170. .hljs-attr {
  171. color: rgb(244, 84, 84) !important;
  172. }
  173.  
  174. .hljs-selector-tag {
  175. color: rgb(213, 100, 100) !important;
  176. }
  177.  
  178. .hljs-selector-class {
  179. color: rgb(100, 213, 213) !important;
  180. }
  181.  
  182. .hljs-selector-pseudo {
  183. color: rgb(100, 213, 117) !important;
  184. }
  185.  
  186. .hljs-selector-id {
  187. color: rgb(100, 104, 213) !important;
  188. }
  189.  
  190. .hljs-params {
  191. color: rgb(196, 157, 108) !important;
  192. }
  193.  
  194. .hljs-class .hljs-title {
  195. color: rgb(102, 112, 255);
  196. }
  197.  
  198. .hljs-function .hljs-title {
  199. color: rgb(236, 115, 42);
  200. }
  201.  
  202. .hljs-function .hljs-title {
  203. color: rgb(236, 115, 42);
  204. }
  205.  
  206. .hljs-built_in, .hljs-builtin-name {
  207. color: rgb(24, 186, 240) !important;
  208. }
  209.  
  210. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址