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.

50 lines
1.5 KiB

  1. /*
  2. * CC0-1.0 <https://creativecommons.org/publicdomain/zero/1.0/legalcode>
  3. * Light color scheme using 216 web-safe colors.
  4. * Suitable for print, and blinding people with brightness.
  5. * Haphazardly thrown together because bright colors hurt my eyes
  6. */
  7. * { background:#fff; color:#333 }
  8. /*
  9. * Underlined links add visual noise which make them hard-to-read.
  10. * Use colors to make them stand out, instead.
  11. */
  12. a { color:#00f; text-decoration:none }
  13. a:visited { color:#808 }
  14. /* quoted text gets a different color */
  15. *.q { color:#006 }
  16. /*
  17. * these may be used with cgit, too
  18. * (cgit uses <div>, public-inbox uses <span>)
  19. */
  20. *.add { color:#060 }
  21. *.del {color:#900 }
  22. *.head { color:#000 }
  23. *.hunk { color:#960 }
  24. /*
  25. * highlight 3.x colors (tested 3.18) for displaying blobs.
  26. * This doesn't use most of the colors available, as I find too
  27. * many colors overwhelming, so the default is commented out.
  28. */
  29. .hl.num { color:#f30 } /* number */
  30. .hl.esc { color:#f0f } /* escape character */
  31. .hl.str { color:#f30 } /* string */
  32. .hl.ppc { color:#c3c } /* preprocessor */
  33. .hl.pps { color:#f30 } /* preprocessor string */
  34. .hl.slc { color:#099 } /* single-line comment */
  35. .hl.com { color:#099 } /* multi-line comment */
  36. /* .hl.opt { color:#ccc } */ /* operator */
  37. /* .hl.ipl { color:#ccc } */ /* interpolation */
  38. /* keyword groups kw[a-z] */
  39. .hl.kwa { color:#f90 }
  40. .hl.kwb { color:#060 }
  41. .hl.kwc { color:#f90 }
  42. /* .hl.kwd { color:#ccc } */
  43. /* line-number (unused by public-inbox) */
  44. /* .hl.lin { color:#ccc } */