github.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. @charset "utf-8";
  2. /*
  3. *Author zhaoxuhui
  4. */
  5. // gitHub 风格
  6. /deep/ .markdown-theme-gitHub{
  7. pre {
  8. padding: 20px 10px!important;
  9. display: block;
  10. overflow-x: auto;
  11. color: #333;
  12. background: #f7f8fa !important;
  13. font-size: 13px;
  14. line-height: 20px;
  15. border-radius: 4px;
  16. margin: 10px 0 !important;
  17. overflow-x: auto !important;
  18. * {
  19. font-family: Consolas !important;
  20. }
  21. }
  22. .hljs-comment,
  23. .hljs-quote {
  24. color: #998;
  25. font-style: italic;
  26. }
  27. .hljs-selector-tag,
  28. .hljs-subst {
  29. color: #333;
  30. font-weight: bold;
  31. }
  32. .hljs-keyword {
  33. color: #d73a49;
  34. }
  35. .hljs-literal,
  36. .hljs-number,
  37. .hljs-tag .hljs-attr,
  38. .hljs-template-variable,
  39. .hljs-variable {
  40. color: #008080;
  41. }
  42. .hljs-doctag,
  43. .hljs-string {
  44. color: #d73a49;
  45. }
  46. .hljs-section,
  47. .hljs-selector-id,
  48. .hljs-title {
  49. color: #900;
  50. font-weight: bold;
  51. }
  52. .hljs-subst {
  53. font-weight: normal;
  54. }
  55. .hljs-class .hljs-title,
  56. .hljs-type {
  57. color: #458;
  58. font-weight: bold;
  59. }
  60. .hljs-attribute,
  61. .hljs-name,
  62. .hljs-tag {
  63. color: #000080;
  64. font-weight: normal;
  65. }
  66. .hljs-link,
  67. .hljs-regexp {
  68. color: #009926;
  69. }
  70. .hljs-bullet,
  71. .hljs-symbol {
  72. color: #990073;
  73. }
  74. .hljs-built_in,
  75. .hljs-builtin-name {
  76. color: #0086b3;
  77. }
  78. .hljs-meta {
  79. color: #999;
  80. font-weight: bold;
  81. }
  82. .hljs-deletion {
  83. background: #fdd;
  84. }
  85. .hljs-addition {
  86. background: #dfd;
  87. }
  88. .hljs-emphasis {
  89. font-style: italic;
  90. }
  91. .hljs-strong {
  92. font-weight: bold;
  93. }
  94. }