github.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /* CSS style content from github's default pygments highlighter template.
  2. Cursor and selection styles from textmate.css. */
  3. .ace-github .ace_gutter {
  4. background: #e8e8e8;
  5. color: #AAA;
  6. }
  7. .ace-github {
  8. background: #fff;
  9. color: #000;
  10. }
  11. .ace-github .ace_keyword {
  12. font-weight: bold;
  13. }
  14. .ace-github .ace_string {
  15. color: #D14;
  16. }
  17. .ace-github .ace_variable.ace_class {
  18. color: teal;
  19. }
  20. .ace-github .ace_constant.ace_numeric {
  21. color: #099;
  22. }
  23. .ace-github .ace_constant.ace_buildin {
  24. color: #0086B3;
  25. }
  26. .ace-github .ace_support.ace_function {
  27. color: #0086B3;
  28. }
  29. .ace-github .ace_comment {
  30. color: #998;
  31. font-style: italic;
  32. }
  33. .ace-github .ace_variable.ace_language {
  34. color: #0086B3;
  35. }
  36. .ace-github .ace_paren {
  37. font-weight: bold;
  38. }
  39. .ace-github .ace_boolean {
  40. font-weight: bold;
  41. }
  42. .ace-github .ace_string.ace_regexp {
  43. color: #009926;
  44. font-weight: normal;
  45. }
  46. .ace-github .ace_variable.ace_instance {
  47. color: teal;
  48. }
  49. .ace-github .ace_constant.ace_language {
  50. font-weight: bold;
  51. }
  52. .ace-github .ace_cursor {
  53. color: black;
  54. }
  55. .ace-github.ace_focus .ace_marker-layer .ace_active-line {
  56. background: rgb(255, 255, 204);
  57. }
  58. .ace-github .ace_marker-layer .ace_active-line {
  59. background: rgb(245, 245, 245);
  60. }
  61. .ace-github .ace_marker-layer .ace_selection {
  62. background: rgb(181, 213, 255);
  63. }
  64. .ace-github.ace_multiselect .ace_selection.ace_start {
  65. box-shadow: 0 0 3px 0px white;
  66. }
  67. /* bold keywords cause cursor issues for some fonts */
  68. /* this disables bold style for editor and keeps for static highlighter */
  69. .ace-github.ace_nobold .ace_line > span {
  70. font-weight: normal !important;
  71. }
  72. .ace-github .ace_marker-layer .ace_step {
  73. background: rgb(252, 255, 0);
  74. }
  75. .ace-github .ace_marker-layer .ace_stack {
  76. background: rgb(164, 229, 101);
  77. }
  78. .ace-github .ace_marker-layer .ace_bracket {
  79. margin: -1px 0 0 -1px;
  80. border: 1px solid rgb(192, 192, 192);
  81. }
  82. .ace-github .ace_gutter-active-line {
  83. background-color : rgba(0, 0, 0, 0.07);
  84. }
  85. .ace-github .ace_marker-layer .ace_selected-word {
  86. background: rgb(250, 250, 255);
  87. border: 1px solid rgb(200, 200, 250);
  88. }
  89. .ace-github .ace_invisible {
  90. color: #BFBFBF
  91. }
  92. .ace-github .ace_print-margin {
  93. width: 1px;
  94. background: #e8e8e8;
  95. }
  96. .ace-github .ace_indent-guide {
  97. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
  98. }