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.

101 lines
1.9 KiB

3 years ago
  1. /*
  2. grayscale style (c) MY Sun <simonmysun@gmail.com>
  3. */
  4. .hljs {
  5. display: block;
  6. overflow-x: auto;
  7. padding: 0.5em;
  8. color: #333;
  9. background: #fff;
  10. }
  11. .hljs-comment,
  12. .hljs-quote {
  13. color: #777;
  14. font-style: italic;
  15. }
  16. .hljs-keyword,
  17. .hljs-selector-tag,
  18. .hljs-subst {
  19. color: #333;
  20. font-weight: bold;
  21. }
  22. .hljs-number,
  23. .hljs-literal {
  24. color: #777;
  25. }
  26. .hljs-string,
  27. .hljs-doctag,
  28. .hljs-formula {
  29. color: #333;
  30. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat;
  31. }
  32. .hljs-title,
  33. .hljs-section,
  34. .hljs-selector-id {
  35. color: #000;
  36. font-weight: bold;
  37. }
  38. .hljs-subst {
  39. font-weight: normal;
  40. }
  41. .hljs-class .hljs-title,
  42. .hljs-type,
  43. .hljs-name {
  44. color: #333;
  45. font-weight: bold;
  46. }
  47. .hljs-tag {
  48. color: #333;
  49. }
  50. .hljs-regexp {
  51. color: #333;
  52. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat;
  53. }
  54. .hljs-symbol,
  55. .hljs-bullet,
  56. .hljs-link {
  57. color: #000;
  58. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat;
  59. }
  60. .hljs-built_in,
  61. .hljs-builtin-name {
  62. color: #000;
  63. text-decoration: underline;
  64. }
  65. .hljs-meta {
  66. color: #999;
  67. font-weight: bold;
  68. }
  69. .hljs-deletion {
  70. color: #fff;
  71. background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat;
  72. }
  73. .hljs-addition {
  74. color: #000;
  75. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat;
  76. }
  77. .hljs-emphasis {
  78. font-style: italic;
  79. }
  80. .hljs-strong {
  81. font-weight: bold;
  82. }