~ubuntu-branches/ubuntu/edgy/lynx/edgy

« back to all changes in this revision

Viewing changes to samples/lynx.lss

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-16 12:14:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040916121410-cz1gu92c4nqfeyrg
Tags: upstream-2.8.5
ImportĀ upstreamĀ versionĀ 2.8.5

Show diffs side-by-side

added added

removed removed

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