summaryrefslogtreecommitdiff
path: root/.config/lynx/lynx.lss
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-11-30 17:24:01 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-12-07 14:23:42 +0100
commit4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f (patch)
tree99de1c0323d87fc798bafacdd5c04f7566322da4 /.config/lynx/lynx.lss
downloadconfig-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.tar.gz
config-4fc73c77daaa5075fc01ab5d0d2b4e9b3aa0938f.zip
Initial commit
Diffstat (limited to '.config/lynx/lynx.lss')
-rw-r--r--.config/lynx/lynx.lss115
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:
8normal: normal: lightgray:black
9default: 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>
15em: bold: brightblue
16strong: bold: brightred
17b: bold: red
18i: bold: brightblue
19a: bold: green
20img: dim: brown
21fig: normal: gray
22caption: reverse: brown
23hr: normal: yellow
24blockquote: normal: brightblue
25ul: normal: brown
26address: normal: magenta
27title: normal: magenta
28tt: dim: brightmagenta: black
29h1: bold: yellow: blue
30label: normal: magenta
31q: normal: yellow: magenta
32small: dim: default
33big: bold: yellow
34sup: bold: yellow
35sub: dim: gray
36li: normal: magenta
37code: normal: cyan
38cite: normal: cyan
39
40table: normal: brightcyan
41tr: bold: brown
42td: normal: default
43br: 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
53alink: reverse: yellow: black
54status: reverse: yellow: blue
55alert: bold: yellow: red
56whereis: reverse+underline: magenta: cyan
57# currently not used
58#value:normal:green
59
60menu.bg: normal: black: lightgray
61menu.frame: normal: black: lightgray
62menu.entry: normal: lightgray: black
63menu.n: normal: red: gray
64menu.active: normal: yellow: black
65menu.sb: normal: brightred: lightgray
66
67forwbackw.arrow:reverse
68hot.paste: normal: brightred: gray
69
70# Styles with classes - <ul class=red> etc.
71ul.red: underline: brightred
72ul.blue: bold: brightblue
73li.red: reverse: red: yellow
74li.blue: bold: blue
75strong.a: bold: black: red
76em.a: reverse: black: blue
77strong.b: bold: white: red
78em.b: reverse: white: blue
79strong.debug: reverse: green
80font.letter: normal: white: blue
81input.submit: normal: cyan
82tr.baone: bold: yellow
83tr.batwo: bold: green
84tr.bathree: bold: red
85#
86# Special handling for link.
87link: normal: white
88link.green: bold: brightgreen
89link.red: bold: black: red
90link.blue: bold: white: blue
91link.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">
94link.red.next: bold: red
95link.red.prev: bold: yellow: red
96link.blue.prev: bold: yellow: blue
97link.blue.next: bold: blue
98link.green.toc: bold: white: green
99#
100# Define styles that will be used when syntax highlighting is requested
101# (commandline option -prettysrc).
102span.htmlsrc_comment:normal: white
103span.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.
106span.htmlsrc_attrib:normal: cyan
107span.htmlsrc_attrval:normal: magenta
108span.htmlsrc_abracket:normal: white
109span.htmlsrc_entity:normal: white
110##span.htmlsrc_href:
111##span.htmlsrc_entire:
112span.htmlsrc_badseq:normal: red
113span.htmlsrc_badtag:normal: red
114span.htmlsrc_badattr:normal: red
115span.htmlsrc_sgmlspecial:normal: yellow

Generated with cgit - Back to sebastiano.tronto.net