a11y-light.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. pre code.hljs {
  2. display: block;
  3. overflow-x: auto;
  4. padding: 1em
  5. }
  6. code.hljs {
  7. padding: 3px 5px
  8. }
  9. /*!
  10. Theme: a11y-light
  11. Author: @ericwbailey
  12. Maintainer: @ericwbailey
  13. Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css
  14. */
  15. .hljs {
  16. background: #fefefe;
  17. color: #545454
  18. }
  19. /* Comment */
  20. .hljs-comment,
  21. .hljs-quote {
  22. color: #696969
  23. }
  24. /* Red */
  25. .hljs-variable,
  26. .hljs-template-variable,
  27. .hljs-tag,
  28. .hljs-name,
  29. .hljs-selector-id,
  30. .hljs-selector-class,
  31. .hljs-regexp,
  32. .hljs-deletion {
  33. color: #d91e18
  34. }
  35. /* Orange */
  36. .hljs-number,
  37. .hljs-built_in,
  38. .hljs-literal,
  39. .hljs-type,
  40. .hljs-params,
  41. .hljs-meta,
  42. .hljs-link {
  43. color: #aa5d00
  44. }
  45. /* Yellow */
  46. .hljs-attribute {
  47. color: #aa5d00
  48. }
  49. /* Green */
  50. .hljs-string,
  51. .hljs-symbol,
  52. .hljs-bullet,
  53. .hljs-addition {
  54. color: #008000
  55. }
  56. /* Blue */
  57. .hljs-title,
  58. .hljs-section {
  59. color: #007faa
  60. }
  61. /* Purple */
  62. .hljs-keyword,
  63. .hljs-selector-tag {
  64. color: #7928a1
  65. }
  66. .hljs-emphasis {
  67. font-style: italic
  68. }
  69. .hljs-strong {
  70. font-weight: bold
  71. }
  72. @media screen and (-ms-high-contrast: active) {
  73. .hljs-addition,
  74. .hljs-attribute,
  75. .hljs-built_in,
  76. .hljs-bullet,
  77. .hljs-comment,
  78. .hljs-link,
  79. .hljs-literal,
  80. .hljs-meta,
  81. .hljs-number,
  82. .hljs-params,
  83. .hljs-string,
  84. .hljs-symbol,
  85. .hljs-type,
  86. .hljs-quote {
  87. color: highlight
  88. }
  89. .hljs-keyword,
  90. .hljs-selector-tag {
  91. font-weight: bold
  92. }
  93. }