github.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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_marker-layer .ace_active-line {
  56. background: rgb(255, 255, 204);
  57. }
  58. .ace-github .ace_marker-layer .ace_selection {
  59. background: rgb(181, 213, 255);
  60. }
  61. .ace-github.ace_multiselect .ace_selection.ace_start {
  62. box-shadow: 0 0 3px 0px white;
  63. border-radius: 2px;
  64. }
  65. /* bold keywords cause cursor issues for some fonts */
  66. /* this disables bold style for editor and keeps for static highlighter */
  67. .ace-github.ace_nobold .ace_line > span {
  68. font-weight: normal !important;
  69. }
  70. .ace-github .ace_marker-layer .ace_step {
  71. background: rgb(252, 255, 0);
  72. }
  73. .ace-github .ace_marker-layer .ace_stack {
  74. background: rgb(164, 229, 101);
  75. }
  76. .ace-github .ace_marker-layer .ace_bracket {
  77. margin: -1px 0 0 -1px;
  78. border: 1px solid rgb(192, 192, 192);
  79. }
  80. .ace-github .ace_gutter-active-line {
  81. background-color : rgba(0, 0, 0, 0.07);
  82. }
  83. .ace-github .ace_marker-layer .ace_selected-word {
  84. background: rgb(250, 250, 255);
  85. border: 1px solid rgb(200, 200, 250);
  86. }
  87. .ace-github .ace_print-margin {
  88. width: 1px;
  89. background: #e8e8e8;
  90. }
  91. .ace-github .ace_indent-guide {
  92. background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
  93. }