You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.7 KiB

  1. /*
  2. * CC0-1.0 <https://creativecommons.org/publicdomain/zero/1.0/legalcode>
  3. * Dark color scheme using 216 web-safe colors, inspired
  4. * somewhat by the default color scheme in mutt.
  5. * It reduces eyestrain for me, and energy usage for all:
  6. * https://en.wikipedia.org/wiki/Light-on-dark_color_scheme
  7. */
  8. * { background:#000; color:#ccc }
  9. /*
  10. * Underlined links add visual noise which make them hard-to-read.
  11. * Use colors to make them stand out, instead.
  12. */
  13. a { color:#69f; text-decoration:none }
  14. a:visited { color:#96f }
  15. /* quoted text in emails gets a different color */
  16. *.q { color:#09f }
  17. /*
  18. * these may be used with cgit <https://git.zx2c4.com/cgit/>, too.
  19. * (cgit uses <div>, public-inbox uses <span>)
  20. */
  21. *.add { color:#0ff } /* diff post-image lines */
  22. *.del { color:#f0f } /* diff pre-image lines */
  23. *.head { color:#fff } /* diff header (metainformation) */
  24. *.hunk { color:#c93 } /* diff hunk-header */
  25. /*
  26. * highlight 3.x colors (tested 3.18) for displaying blobs.
  27. * This doesn't use most of the colors available, as I find too
  28. * many colors overwhelming, so the default is commented out.
  29. */
  30. .hl.num { color:#f30 } /* number */
  31. .hl.esc { color:#f0f } /* escape character */
  32. .hl.str { color:#f30 } /* string */
  33. .hl.ppc { color:#f0f } /* preprocessor */
  34. .hl.pps { color:#f30 } /* preprocessor string */
  35. .hl.slc { color:#09f } /* single-line comment */
  36. .hl.com { color:#09f } /* multi-line comment */
  37. /* .hl.opt { color:#ccc } */ /* operator */
  38. /* .hl.ipl { color:#ccc } */ /* interpolation */
  39. /* keyword groups kw[a-z] */
  40. .hl.kwa { color:#ff0 }
  41. .hl.kwb { color:#0f0 }
  42. .hl.kwc { color:#ff0 }
  43. /* .hl.kwd { color:#ccc } */
  44. /* line-number (unused by public-inbox) */
  45. /* .hl.lin { color:#ccc } */