github.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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: Github
  11. Author: Defman21
  12. License: ~ MIT (or more permissive) [via base16-schemes-source]
  13. Maintainer: @highlightjs/core-team
  14. Version: 2021.09.0
  15. */
  16. /*
  17. WARNING: DO NOT EDIT THIS FILE DIRECTLY.
  18. This theme file was auto-generated from the Base16 scheme github
  19. by the Highlight.js Base16 template builder.
  20. - https://github.com/highlightjs/base16-highlightjs
  21. */
  22. /*
  23. base00 #ffffff Default Background
  24. base01 #f5f5f5 Lighter Background (Used for status bars, line number and folding marks)
  25. base02 #c8c8fa Selection Background
  26. base03 #969896 Comments, Invisibles, Line Highlighting
  27. base04 #e8e8e8 Dark Foreground (Used for status bars)
  28. base05 #333333 Default Foreground, Caret, Delimiters, Operators
  29. base06 #ffffff Light Foreground (Not often used)
  30. base07 #ffffff Light Background (Not often used)
  31. base08 #ed6a43 Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
  32. base09 #0086b3 Integers, Boolean, Constants, XML Attributes, Markup Link Url
  33. base0A #795da3 Classes, Markup Bold, Search Text Background
  34. base0B #183691 Strings, Inherited Class, Markup Code, Diff Inserted
  35. base0C #183691 Support, Regular Expressions, Escape Characters, Markup Quotes
  36. base0D #795da3 Functions, Methods, Attribute IDs, Headings
  37. base0E #a71d5d Keywords, Storage, Selector, Markup Italic, Diff Changed
  38. base0F #333333 Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
  39. */
  40. pre code.hljs {
  41. display: block;
  42. overflow-x: auto;
  43. padding: 1em
  44. }
  45. code.hljs {
  46. padding: 3px 5px
  47. }
  48. .hljs {
  49. color: #333333;
  50. background: #ffffff
  51. }
  52. .hljs::selection,
  53. .hljs ::selection {
  54. background-color: #c8c8fa;
  55. color: #333333
  56. }
  57. /* purposely do not highlight these things */
  58. .hljs-formula,
  59. .hljs-params,
  60. .hljs-property {
  61. }
  62. /* base03 - #969896 - Comments, Invisibles, Line Highlighting */
  63. .hljs-comment {
  64. color: #969896
  65. }
  66. /* base04 - #e8e8e8 - Dark Foreground (Used for status bars) */
  67. .hljs-tag {
  68. color: #e8e8e8
  69. }
  70. /* base05 - #333333 - Default Foreground, Caret, Delimiters, Operators */
  71. .hljs-subst,
  72. .hljs-punctuation,
  73. .hljs-operator {
  74. color: #333333
  75. }
  76. .hljs-operator {
  77. opacity: 0.7
  78. }
  79. /* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
  80. .hljs-bullet,
  81. .hljs-variable,
  82. .hljs-template-variable,
  83. .hljs-selector-tag,
  84. .hljs-name,
  85. .hljs-deletion {
  86. color: #ed6a43
  87. }
  88. /* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
  89. .hljs-symbol,
  90. .hljs-number,
  91. .hljs-link,
  92. .hljs-attr,
  93. .hljs-variable.constant_,
  94. .hljs-literal {
  95. color: #0086b3
  96. }
  97. /* base0A - Classes, Markup Bold, Search Text Background */
  98. .hljs-title,
  99. .hljs-class .hljs-title,
  100. .hljs-title.class_ {
  101. color: #795da3
  102. }
  103. .hljs-strong {
  104. font-weight: bold;
  105. color: #795da3
  106. }
  107. /* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
  108. .hljs-code,
  109. .hljs-addition,
  110. .hljs-title.class_.inherited__,
  111. .hljs-string {
  112. color: #183691
  113. }
  114. /* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
  115. /* guessing */
  116. .hljs-built_in,
  117. .hljs-doctag,
  118. .hljs-quote,
  119. .hljs-keyword.hljs-atrule,
  120. .hljs-regexp {
  121. color: #183691
  122. }
  123. /* base0D - Functions, Methods, Attribute IDs, Headings */
  124. .hljs-function .hljs-title,
  125. .hljs-attribute,
  126. .ruby .hljs-property,
  127. .hljs-title.function_,
  128. .hljs-section {
  129. color: #795da3
  130. }
  131. /* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
  132. /* .hljs-selector-id, */
  133. /* .hljs-selector-class, */
  134. /* .hljs-selector-attr, */
  135. /* .hljs-selector-pseudo, */
  136. .hljs-type,
  137. .hljs-template-tag,
  138. .diff .hljs-meta,
  139. .hljs-keyword {
  140. color: #a71d5d
  141. }
  142. .hljs-emphasis {
  143. color: #a71d5d;
  144. font-style: italic
  145. }
  146. /* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
  147. /*
  148. prevent top level .keyword and .string scopes
  149. from leaking into meta by accident
  150. */
  151. .hljs-meta,
  152. .hljs-meta .hljs-keyword,
  153. .hljs-meta .hljs-string {
  154. color: #333333
  155. }
  156. /* for v10 compatible themes */
  157. .hljs-meta .hljs-keyword,
  158. .hljs-meta-keyword {
  159. font-weight: bold
  160. }