summaryrefslogtreecommitdiffstats
path: root/samples/lynx.lss
blob: 2d02eb181320eb462c6e93b69e0c2b099fd9f194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Setting the normal and default types lets us keep (almost) the same colors
# whether the terminal's default colors are white-on-black or black-on-white.
# It is not exact since the default "white" is not necessarily the same color
# as the ANSI lightgray, but is as close as we can get in a standard way.
#
# If you really want the terminal's default colors, and if lynx is built using
# ncurses' default-color support, remove these two lines:
normal:		normal:			lightgray:black
default:	normal:			white:black

# Normal type styles correspond to HTML tags.
#
# The next line (beginning with "em") means:  use bold if mono, otherwise
# brightblue on <defaultbackground>
em:		bold:			brightblue
strong:		bold:			brightred
b:		bold:			red
i:		bold:			brightblue
a:		bold:			green
img:		dim:			brown
fig:		normal:			gray
caption:	reverse:		brown
hr:		normal:			yellow
blockquote:	normal:			brightblue
ul:		normal:			brown
address:	normal:			magenta
title:		normal:			magenta
tt:		dim:			brightmagenta:	black
h1:		bold:			yellow:		blue
label:		normal:			magenta
q:		normal:			yellow:		magenta
small:		dim:			default
big:		bold:			yellow
sup:		bold:			yellow
sub:		dim:			gray
li:		normal:			magenta
code:		normal:			cyan
cite:		normal:			cyan

table:		normal:			brightcyan
tr:		bold:			brown
td:		normal:			default
br:		normal:			default

# Special styles - not corresponding directly to HTML tags
#	alert	- status bar, when message begins "Alert".
#	alink	- active link
#	normal	- default attributes
#	status	- status bar
#	whereis	- whereis search target
#
#normal:normal:default:blue
alink:		reverse:		yellow:		black
status:		reverse:		yellow:		blue
alert:		bold:			yellow:		red
whereis:	reverse+underline:	magenta:	cyan
# currently not used
#value:normal:green

menu.bg:	normal:			black:		lightgray
menu.frame:	normal:			black:		lightgray
menu.entry:	normal:			lightgray:	black
menu.n:		normal:			red:		gray
menu.active:	normal:			yellow:		black
menu.sb:	normal:			brightred:	lightgray

forwbackw.arrow:reverse
hot.paste:	normal:			brightred:	gray

# Styles with classes - <ul class=red> etc.
ul.red:		underline:		brightred
ul.blue:	bold:			brightblue
li.red:		reverse:		red:		yellow
li.blue:	bold:			blue
strong.a:	bold:			black:		red
em.a:		reverse:		black:		blue
strong.b:	bold:			white:		red
em.b:		reverse:		white:		blue
strong.debug:	reverse:		green
font.letter:	normal:			white:		blue
input.submit:	normal:			cyan
tr.baone:	bold:			yellow
tr.batwo:	bold:			green
tr.bathree:	bold:			red
#
# Special handling for link.
link:		normal:			white
link.green:	bold:			brightgreen
link.red:	bold:			black:		red
link.blue:	bold:			white:		blue
link.toc:	bold:			black:		white
# Special cases for link - the rel or title is appended after the class.
# <link rel=next class=red href="1">
link.red.next:	bold:			red
link.red.prev:	bold:			yellow:		red
link.blue.prev:	bold:			yellow:		blue
link.blue.next:	bold:			blue
link.green.toc:	bold:			white:		green
#
# Define styles that will be used when syntax highlighting is requested
# (commandline option -prettysrc). 
span.htmlsrc_comment:normal:		white
span.htmlsrc_tag:normal:		white
#If you don't like that the tag name and attribute name are displayed 
#in different colors, comment the following line. 
span.htmlsrc_attrib:normal:		cyan
span.htmlsrc_attrval:normal:		magenta
span.htmlsrc_abracket:normal:		white
span.htmlsrc_entity:normal:		white
##span.htmlsrc_href:
##span.htmlsrc_entire:
span.htmlsrc_badseq:normal:		red
span.htmlsrc_badtag:normal:		red
span.htmlsrc_badattr:normal:		red
span.htmlsrc_sgmlspecial:normal:	yellow