NoteOnMe博客平台搭建
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

309 lines
3.5 KiB

пре 3 година
  1. /*
  2. * Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
  3. * Copyright (c) 2017-present Sven Greb <development@svengreb.de>
  4. *
  5. * Project: Nord highlight.js
  6. * Version: 0.1.0
  7. * Repository: https://github.com/arcticicestudio/nord-highlightjs
  8. * License: MIT
  9. * References:
  10. * https://github.com/arcticicestudio/nord
  11. */
  12. .hljs {
  13. display: block;
  14. overflow-x: auto;
  15. padding: 0.5em;
  16. background: #2E3440;
  17. }
  18. .hljs,
  19. .hljs-subst {
  20. color: #D8DEE9;
  21. }
  22. .hljs-selector-tag {
  23. color: #81A1C1;
  24. }
  25. .hljs-selector-id {
  26. color: #8FBCBB;
  27. font-weight: bold;
  28. }
  29. .hljs-selector-class {
  30. color: #8FBCBB;
  31. }
  32. .hljs-selector-attr {
  33. color: #8FBCBB;
  34. }
  35. .hljs-selector-pseudo {
  36. color: #88C0D0;
  37. }
  38. .hljs-addition {
  39. background-color: rgba(163, 190, 140, 0.5);
  40. }
  41. .hljs-deletion {
  42. background-color: rgba(191, 97, 106, 0.5);
  43. }
  44. .hljs-built_in,
  45. .hljs-type {
  46. color: #8FBCBB;
  47. }
  48. .hljs-class {
  49. color: #8FBCBB;
  50. }
  51. .hljs-function {
  52. color: #88C0D0;
  53. }
  54. .hljs-function > .hljs-title {
  55. color: #88C0D0;
  56. }
  57. .hljs-keyword,
  58. .hljs-literal,
  59. .hljs-symbol {
  60. color: #81A1C1;
  61. }
  62. .hljs-number {
  63. color: #B48EAD;
  64. }
  65. .hljs-regexp {
  66. color: #EBCB8B;
  67. }
  68. .hljs-string {
  69. color: #A3BE8C;
  70. }
  71. .hljs-title {
  72. color: #8FBCBB;
  73. }
  74. .hljs-params {
  75. color: #D8DEE9;
  76. }
  77. .hljs-bullet {
  78. color: #81A1C1;
  79. }
  80. .hljs-code {
  81. color: #8FBCBB;
  82. }
  83. .hljs-emphasis {
  84. font-style: italic;
  85. }
  86. .hljs-formula {
  87. color: #8FBCBB;
  88. }
  89. .hljs-strong {
  90. font-weight: bold;
  91. }
  92. .hljs-link:hover {
  93. text-decoration: underline;
  94. }
  95. .hljs-quote {
  96. color: #4C566A;
  97. }
  98. .hljs-comment {
  99. color: #4C566A;
  100. }
  101. .hljs-doctag {
  102. color: #8FBCBB;
  103. }
  104. .hljs-meta,
  105. .hljs-meta-keyword {
  106. color: #5E81AC;
  107. }
  108. .hljs-meta-string {
  109. color: #A3BE8C;
  110. }
  111. .hljs-attr {
  112. color: #8FBCBB;
  113. }
  114. .hljs-attribute {
  115. color: #D8DEE9;
  116. }
  117. .hljs-builtin-name {
  118. color: #81A1C1;
  119. }
  120. .hljs-name {
  121. color: #81A1C1;
  122. }
  123. .hljs-section {
  124. color: #88C0D0;
  125. }
  126. .hljs-tag {
  127. color: #81A1C1;
  128. }
  129. .hljs-variable {
  130. color: #D8DEE9;
  131. }
  132. .hljs-template-variable {
  133. color: #D8DEE9;
  134. }
  135. .hljs-template-tag {
  136. color: #5E81AC;
  137. }
  138. .abnf .hljs-attribute {
  139. color: #88C0D0;
  140. }
  141. .abnf .hljs-symbol {
  142. color: #EBCB8B;
  143. }
  144. .apache .hljs-attribute {
  145. color: #88C0D0;
  146. }
  147. .apache .hljs-section {
  148. color: #81A1C1;
  149. }
  150. .arduino .hljs-built_in {
  151. color: #88C0D0;
  152. }
  153. .aspectj .hljs-meta {
  154. color: #D08770;
  155. }
  156. .aspectj > .hljs-title {
  157. color: #88C0D0;
  158. }
  159. .bnf .hljs-attribute {
  160. color: #8FBCBB;
  161. }
  162. .clojure .hljs-name {
  163. color: #88C0D0;
  164. }
  165. .clojure .hljs-symbol {
  166. color: #EBCB8B;
  167. }
  168. .coq .hljs-built_in {
  169. color: #88C0D0;
  170. }
  171. .cpp .hljs-meta-string {
  172. color: #8FBCBB;
  173. }
  174. .css .hljs-built_in {
  175. color: #88C0D0;
  176. }
  177. .css .hljs-keyword {
  178. color: #D08770;
  179. }
  180. .diff .hljs-meta {
  181. color: #8FBCBB;
  182. }
  183. .ebnf .hljs-attribute {
  184. color: #8FBCBB;
  185. }
  186. .glsl .hljs-built_in {
  187. color: #88C0D0;
  188. }
  189. .groovy .hljs-meta:not(:first-child) {
  190. color: #D08770;
  191. }
  192. .haxe .hljs-meta {
  193. color: #D08770;
  194. }
  195. .java .hljs-meta {
  196. color: #D08770;
  197. }
  198. .ldif .hljs-attribute {
  199. color: #8FBCBB;
  200. }
  201. .lisp .hljs-name {
  202. color: #88C0D0;
  203. }
  204. .lua .hljs-built_in {
  205. color: #88C0D0;
  206. }
  207. .moonscript .hljs-built_in {
  208. color: #88C0D0;
  209. }
  210. .nginx .hljs-attribute {
  211. color: #88C0D0;
  212. }
  213. .nginx .hljs-section {
  214. color: #5E81AC;
  215. }
  216. .pf .hljs-built_in {
  217. color: #88C0D0;
  218. }
  219. .processing .hljs-built_in {
  220. color: #88C0D0;
  221. }
  222. .scss .hljs-keyword {
  223. color: #81A1C1;
  224. }
  225. .stylus .hljs-keyword {
  226. color: #81A1C1;
  227. }
  228. .swift .hljs-meta {
  229. color: #D08770;
  230. }
  231. .vim .hljs-built_in {
  232. color: #88C0D0;
  233. font-style: italic;
  234. }
  235. .yaml .hljs-meta {
  236. color: #D08770;
  237. }