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.

115 lines
3.5 KiB

  1. # Setting the normal and default types lets us keep (almost) the same colors
  2. # whether the terminal's default colors are white-on-black or black-on-white.
  3. # It is not exact since the default "white" is not necessarily the same color
  4. # as the ANSI lightgray, but is as close as we can get in a standard way.
  5. #
  6. # If you really want the terminal's default colors, and if lynx is built using
  7. # ncurses' default-color support, remove these two lines:
  8. normal: normal: lightgray:black
  9. default: normal: white:black
  10. # Normal type styles correspond to HTML tags.
  11. #
  12. # The next line (beginning with "em") means: use bold if mono, otherwise
  13. # brightblue on <defaultbackground>
  14. em: bold: brightblue
  15. strong: bold: brightred
  16. b: bold: red
  17. i: bold: brightblue
  18. a: bold: green
  19. img: dim: brown
  20. fig: normal: gray
  21. caption: reverse: brown
  22. hr: normal: yellow
  23. blockquote: normal: brightblue
  24. ul: normal: brown
  25. address: normal: magenta
  26. title: normal: magenta
  27. tt: dim: brightmagenta: black
  28. h1: bold: yellow: blue
  29. label: normal: magenta
  30. q: normal: yellow: magenta
  31. small: dim: default
  32. big: bold: yellow
  33. sup: bold: yellow
  34. sub: dim: gray
  35. li: normal: magenta
  36. code: normal: cyan
  37. cite: normal: cyan
  38. table: normal: brightcyan
  39. tr: bold: brown
  40. td: normal: default
  41. br: normal: default
  42. # Special styles - not corresponding directly to HTML tags
  43. # alert - status bar, when message begins "Alert".
  44. # alink - active link
  45. # normal - default attributes
  46. # status - status bar
  47. # whereis - whereis search target
  48. #
  49. #normal:normal:default:blue
  50. alink: reverse: yellow: black
  51. status: reverse: yellow: blue
  52. alert: bold: yellow: red
  53. whereis: reverse+underline: magenta: cyan
  54. # currently not used
  55. #value:normal:green
  56. menu.bg: normal: black: lightgray
  57. menu.frame: normal: black: lightgray
  58. menu.entry: normal: lightgray: black
  59. menu.n: normal: red: gray
  60. menu.active: normal: yellow: black
  61. menu.sb: normal: brightred: lightgray
  62. forwbackw.arrow:reverse
  63. hot.paste: normal: brightred: gray
  64. # Styles with classes - <ul class=red> etc.
  65. ul.red: underline: brightred
  66. ul.blue: bold: brightblue
  67. li.red: reverse: red: yellow
  68. li.blue: bold: blue
  69. strong.a: bold: black: red
  70. em.a: reverse: black: blue
  71. strong.b: bold: white: red
  72. em.b: reverse: white: blue
  73. strong.debug: reverse: green
  74. font.letter: normal: white: blue
  75. input.submit: normal: cyan
  76. tr.baone: bold: yellow
  77. tr.batwo: bold: green
  78. tr.bathree: bold: red
  79. #
  80. # Special handling for link.
  81. link: normal: white
  82. link.green: bold: brightgreen
  83. link.red: bold: black: red
  84. link.blue: bold: white: blue
  85. link.toc: bold: black: white
  86. # Special cases for link - the rel or title is appended after the class.
  87. # <link rel=next class=red href="1">
  88. link.red.next: bold: red
  89. link.red.prev: bold: yellow: red
  90. link.blue.prev: bold: yellow: blue
  91. link.blue.next: bold: blue
  92. link.green.toc: bold: white: green
  93. #
  94. # Define styles that will be used when syntax highlighting is requested
  95. # (commandline option -prettysrc).
  96. span.htmlsrc_comment:normal: white
  97. span.htmlsrc_tag:normal: white
  98. #If you don't like that the tag name and attribute name are displayed
  99. #in different colors, comment the following line.
  100. span.htmlsrc_attrib:normal: cyan
  101. span.htmlsrc_attrval:normal: magenta
  102. span.htmlsrc_abracket:normal: white
  103. span.htmlsrc_entity:normal: white
  104. ##span.htmlsrc_href:
  105. ##span.htmlsrc_entire:
  106. span.htmlsrc_badseq:normal: red
  107. span.htmlsrc_badtag:normal: red
  108. span.htmlsrc_badattr:normal: red
  109. span.htmlsrc_sgmlspecial:normal: yellow