diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-11-30 17:24:01 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-07 14:23:42 +0100 |
| commit | 4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f (patch) | |
| tree | 99de1c0323d87fc798bafacdd5c04f7566322da4 /.config/lynx/lynx.lss | |
| download | config-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.tar.gz config-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.zip | |
Initial commit
Diffstat (limited to '.config/lynx/lynx.lss')
| -rw-r--r-- | .config/lynx/lynx.lss | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/.config/lynx/lynx.lss b/.config/lynx/lynx.lss new file mode 100644 index 0000000..2d02eb1 --- /dev/null +++ b/.config/lynx/lynx.lss | |||
| @@ -0,0 +1,115 @@ | |||
| 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 | |||
| 11 | # Normal type styles correspond to HTML tags. | ||
| 12 | # | ||
| 13 | # The next line (beginning with "em") means: use bold if mono, otherwise | ||
| 14 | # brightblue on <defaultbackground> | ||
| 15 | em: bold: brightblue | ||
| 16 | strong: bold: brightred | ||
| 17 | b: bold: red | ||
| 18 | i: bold: brightblue | ||
| 19 | a: bold: green | ||
| 20 | img: dim: brown | ||
| 21 | fig: normal: gray | ||
| 22 | caption: reverse: brown | ||
| 23 | hr: normal: yellow | ||
| 24 | blockquote: normal: brightblue | ||
| 25 | ul: normal: brown | ||
| 26 | address: normal: magenta | ||
| 27 | title: normal: magenta | ||
| 28 | tt: dim: brightmagenta: black | ||
| 29 | h1: bold: yellow: blue | ||
| 30 | label: normal: magenta | ||
| 31 | q: normal: yellow: magenta | ||
| 32 | small: dim: default | ||
| 33 | big: bold: yellow | ||
| 34 | sup: bold: yellow | ||
| 35 | sub: dim: gray | ||
| 36 | li: normal: magenta | ||
| 37 | code: normal: cyan | ||
| 38 | cite: normal: cyan | ||
| 39 | |||
| 40 | table: normal: brightcyan | ||
| 41 | tr: bold: brown | ||
| 42 | td: normal: default | ||
| 43 | br: normal: default | ||
| 44 | |||
| 45 | # Special styles - not corresponding directly to HTML tags | ||
| 46 | # alert - status bar, when message begins "Alert". | ||
| 47 | # alink - active link | ||
| 48 | # normal - default attributes | ||
| 49 | # status - status bar | ||
| 50 | # whereis - whereis search target | ||
| 51 | # | ||
| 52 | #normal:normal:default:blue | ||
| 53 | alink: reverse: yellow: black | ||
| 54 | status: reverse: yellow: blue | ||
| 55 | alert: bold: yellow: red | ||
| 56 | whereis: reverse+underline: magenta: cyan | ||
| 57 | # currently not used | ||
| 58 | #value:normal:green | ||
| 59 | |||
| 60 | menu.bg: normal: black: lightgray | ||
| 61 | menu.frame: normal: black: lightgray | ||
| 62 | menu.entry: normal: lightgray: black | ||
| 63 | menu.n: normal: red: gray | ||
| 64 | menu.active: normal: yellow: black | ||
| 65 | menu.sb: normal: brightred: lightgray | ||
| 66 | |||
| 67 | forwbackw.arrow:reverse | ||
| 68 | hot.paste: normal: brightred: gray | ||
| 69 | |||
| 70 | # Styles with classes - <ul class=red> etc. | ||
| 71 | ul.red: underline: brightred | ||
| 72 | ul.blue: bold: brightblue | ||
| 73 | li.red: reverse: red: yellow | ||
| 74 | li.blue: bold: blue | ||
| 75 | strong.a: bold: black: red | ||
| 76 | em.a: reverse: black: blue | ||
| 77 | strong.b: bold: white: red | ||
| 78 | em.b: reverse: white: blue | ||
| 79 | strong.debug: reverse: green | ||
| 80 | font.letter: normal: white: blue | ||
| 81 | input.submit: normal: cyan | ||
| 82 | tr.baone: bold: yellow | ||
| 83 | tr.batwo: bold: green | ||
| 84 | tr.bathree: bold: red | ||
| 85 | # | ||
| 86 | # Special handling for link. | ||
| 87 | link: normal: white | ||
| 88 | link.green: bold: brightgreen | ||
| 89 | link.red: bold: black: red | ||
| 90 | link.blue: bold: white: blue | ||
| 91 | link.toc: bold: black: white | ||
| 92 | # Special cases for link - the rel or title is appended after the class. | ||
| 93 | # <link rel=next class=red href="1"> | ||
| 94 | link.red.next: bold: red | ||
| 95 | link.red.prev: bold: yellow: red | ||
| 96 | link.blue.prev: bold: yellow: blue | ||
| 97 | link.blue.next: bold: blue | ||
| 98 | link.green.toc: bold: white: green | ||
| 99 | # | ||
| 100 | # Define styles that will be used when syntax highlighting is requested | ||
| 101 | # (commandline option -prettysrc). | ||
| 102 | span.htmlsrc_comment:normal: white | ||
| 103 | span.htmlsrc_tag:normal: white | ||
| 104 | #If you don't like that the tag name and attribute name are displayed | ||
| 105 | #in different colors, comment the following line. | ||
| 106 | span.htmlsrc_attrib:normal: cyan | ||
| 107 | span.htmlsrc_attrval:normal: magenta | ||
| 108 | span.htmlsrc_abracket:normal: white | ||
| 109 | span.htmlsrc_entity:normal: white | ||
| 110 | ##span.htmlsrc_href: | ||
| 111 | ##span.htmlsrc_entire: | ||
| 112 | span.htmlsrc_badseq:normal: red | ||
| 113 | span.htmlsrc_badtag:normal: red | ||
| 114 | span.htmlsrc_badattr:normal: red | ||
| 115 | span.htmlsrc_sgmlspecial:normal: yellow | ||
