github.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. github.com style (c) Vasily Polovnyov <[email protected]>
  3. */
  4. .hljs {
  5. display: block;
  6. overflow-x: auto;
  7. padding: 0.5em;
  8. color: #333;
  9. background: #f8f8f8;
  10. }
  11. .hljs-comment,
  12. .hljs-quote {
  13. color: #998;
  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. .hljs-variable,
  25. .hljs-template-variable,
  26. .hljs-tag .hljs-attr {
  27. color: #008080;
  28. }
  29. .hljs-string,
  30. .hljs-doctag {
  31. color: #d14;
  32. }
  33. .hljs-title,
  34. .hljs-section,
  35. .hljs-selector-id {
  36. color: #900;
  37. font-weight: bold;
  38. }
  39. .hljs-subst {
  40. font-weight: normal;
  41. }
  42. .hljs-type,
  43. .hljs-class .hljs-title {
  44. color: #458;
  45. font-weight: bold;
  46. }
  47. .hljs-tag,
  48. .hljs-name,
  49. .hljs-attribute {
  50. color: #000080;
  51. font-weight: normal;
  52. }
  53. .hljs-regexp,
  54. .hljs-link {
  55. color: #009926;
  56. }
  57. .hljs-symbol,
  58. .hljs-bullet {
  59. color: #990073;
  60. }
  61. .hljs-built_in {
  62. color: #0086b3;
  63. }
  64. .hljs-meta {
  65. color: #999;
  66. font-weight: bold;
  67. }
  68. .hljs-deletion {
  69. background: #fdd;
  70. }
  71. .hljs-addition {
  72. background: #dfd;
  73. }
  74. .hljs-emphasis {
  75. font-style: italic;
  76. }
  77. .hljs-strong {
  78. font-weight: bold;
  79. }