syntax.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .highlight { background: #ffffff; }
  2. .highlight .c { color: #999988; font-style: italic } /* Comment */
  3. .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
  4. .highlight .k { font-weight: bold } /* Keyword */
  5. .highlight .o { font-weight: bold } /* Operator */
  6. .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
  7. .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
  8. .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
  9. .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
  10. .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
  11. .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
  12. .highlight .ge { font-style: italic } /* Generic.Emph */
  13. .highlight .gr { color: #aa0000 } /* Generic.Error */
  14. .highlight .gh { color: #999999 } /* Generic.Heading */
  15. .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
  16. .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
  17. .highlight .go { color: #888888 } /* Generic.Output */
  18. .highlight .gp { color: #555555 } /* Generic.Prompt */
  19. .highlight .gs { font-weight: bold } /* Generic.Strong */
  20. .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
  21. .highlight .gt { color: #aa0000 } /* Generic.Traceback */
  22. .highlight .kc { font-weight: bold } /* Keyword.Constant */
  23. .highlight .kd { font-weight: bold } /* Keyword.Declaration */
  24. .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
  25. .highlight .kr { font-weight: bold } /* Keyword.Reserved */
  26. .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
  27. .highlight .m { color: #009999 } /* Literal.Number */
  28. .highlight .s { color: #d14 } /* Literal.String */
  29. .highlight .na { color: #008080 } /* Name.Attribute */
  30. .highlight .nb { color: #0086B3 } /* Name.Builtin */
  31. .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
  32. .highlight .no { color: #008080 } /* Name.Constant */
  33. .highlight .ni { color: #800080 } /* Name.Entity */
  34. .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
  35. .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
  36. .highlight .nn { color: #555555 } /* Name.Namespace */
  37. .highlight .nt { color: #000080 } /* Name.Tag */
  38. .highlight .nv { color: #008080 } /* Name.Variable */
  39. .highlight .ow { font-weight: bold } /* Operator.Word */
  40. .highlight .w { color: #bbbbbb } /* Text.Whitespace */
  41. .highlight .mf { color: #009999 } /* Literal.Number.Float */
  42. .highlight .mh { color: #009999 } /* Literal.Number.Hex */
  43. .highlight .mi { color: #009999 } /* Literal.Number.Integer */
  44. .highlight .mo { color: #009999 } /* Literal.Number.Oct */
  45. .highlight .sb { color: #d14 } /* Literal.String.Backtick */
  46. .highlight .sc { color: #d14 } /* Literal.String.Char */
  47. .highlight .sd { color: #d14 } /* Literal.String.Doc */
  48. .highlight .s2 { color: #d14 } /* Literal.String.Double */
  49. .highlight .se { color: #d14 } /* Literal.String.Escape */
  50. .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
  51. .highlight .si { color: #d14 } /* Literal.String.Interpol */
  52. .highlight .sx { color: #d14 } /* Literal.String.Other */
  53. .highlight .sr { color: #009926 } /* Literal.String.Regex */
  54. .highlight .s1 { color: #d14 } /* Literal.String.Single */
  55. .highlight .ss { color: #990073 } /* Literal.String.Symbol */
  56. .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
  57. .highlight .vc { color: #008080 } /* Name.Variable.Class */
  58. .highlight .vg { color: #008080 } /* Name.Variable.Global */
  59. .highlight .vi { color: #008080 } /* Name.Variable.Instance */
  60. .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
  61. /* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
  62. .highlight .lineno {
  63. -webkit-user-select: none;
  64. -moz-user-select: none;
  65. -o-user-select: none;
  66. }
  67. /* Mozilla specific */
  68. .lineno::-moz-selection {
  69. background-color: transparent;
  70. }
  71. /* Other major browsers */
  72. .lineno::selection {
  73. background-color: transparent;
  74. }