source: josm/trunk/data/help-browser.css@ 13722

Last change on this file since 13722 was 13571, checked in by Don-vip, 7 years ago

fix #16052 - format definition lists properly in help browser

  • Property svn:eol-style set to native
File size: 9.8 KB
Line 
1@CHARSET "ISO-8859-1";
2/*
3 * This is the CSS file used in the internal help browser.
4 * Refer to https://docs.oracle.com/javase/8/docs/api/javax/swing/text/html/CSS.html
5 * and https://www.w3.org/TR/CSS1/ to see what CSS properties are supported by Java.
6 * - Not rendered are width, height, float, clear, display, font-variant and others.
7 * - Inline elements can't have borders, margins and paddings.
8 */
9body {margin-left: 0.2cm; font-family: Arial, sans-serif; font-size:14pt; font-weight:normal}
10p {margin-top: 5px; margin-bottom: 5px;}
11h1 {font-family: Arial, sans-serif; font-size:24pt; font-weight:bold}
12h2 {margin-top: 14pt; font-family: Arial, sans-serif; font-size:20pt; font-weight:bold}
13h3 {margin-top: 14pt; font-family: Arial, sans-serif; font-size:16pt; font-weight:bold}
14h4 {margin-top: 14pt; font-family: Arial, sans-serif; font-size:14pt; font-weight:bold}
15a {font-family: Arial, sans-serif; font-size:14pt; font-weight:normal; text-decoration: underline; color: blue}
16ul {margin-left: 1cm; list-style-type: disc}
17ul ul {margin-left: 1cm; list-style-type: circle}
18ol {margin-left: 1cm;}
19strong {font-weight: bold}
20b {font-weight: bold}
21em {font-style: italic}
22i {font-style: italic}
23code, pre, samp, tt {
24 background-color: rgb(240, 240, 240);
25 font-family: Courier New;
26 color: rgb(102, 0, 0);
27}
28code, tt {
29 font-size: 110%;
30}
31.warning-header {
32 font-family: Arial, sans-serif;
33 font-size:24pt;
34 font-weight:bold
35}
36.warning-body {
37 background-color:rgb(253,255,221);
38 padding: 10pt;
39 border-color:rgb(128,128,128);
40 border-style: solid;
41 border-width: 1px;
42}
43
44.error-header {
45 font-family: Arial, sans-serif;
46 font-size:24pt;
47 font-weight:bold
48}
49.error-body {
50 background-color:rgb(254,195,190);
51 padding: 10pt;
52 border-color:rgb(128,128,128);
53 border-style: solid;
54 border-width: 1px;
55}
56
57/********
58 TRAC CSS
59 ********/
60
61dl.wiki { margin-top: 5px; margin-bottom: 5px }
62dl.wiki dt { font-weight: bold }
63dl.wiki dd { margin-left: 40px }
64
65div.code pre .hll { background-color: #ffffcc }
66div.code pre { background: #ffffff; }
67div.code pre .c { color: #999988; font-style: italic } /* Comment */
68div.code pre .err { color: #a61717; background-color: #e3d2d2 } /* Error */
69div.code pre .k { font-weight: bold } /* Keyword */
70div.code pre .o { font-weight: bold } /* Operator */
71div.code pre .ch { color: #999988; font-style: italic } /* Comment.Hashbang */
72div.code pre .cm { color: #999988; font-style: italic } /* Comment.Multiline */
73div.code pre .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
74div.code pre .cpf { color: #999988; font-style: italic } /* Comment.PreprocFile */
75div.code pre .c1 { color: #999988; font-style: italic } /* Comment.Single */
76div.code pre .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
77div.code pre .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
78div.code pre .ge { font-style: italic } /* Generic.Emph */
79div.code pre .gr { color: #aa0000 } /* Generic.Error */
80div.code pre .gh { color: #999999 } /* Generic.Heading */
81div.code pre .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
82div.code pre .go { color: #888888 } /* Generic.Output */
83div.code pre .gp { color: #555555 } /* Generic.Prompt */
84div.code pre .gs { font-weight: bold } /* Generic.Strong */
85div.code pre .gu { color: #aaaaaa } /* Generic.Subheading */
86div.code pre .gt { color: #aa0000 } /* Generic.Traceback */
87div.code pre .kc { font-weight: bold } /* Keyword.Constant */
88div.code pre .kd { font-weight: bold } /* Keyword.Declaration */
89div.code pre .kn { font-weight: bold } /* Keyword.Namespace */
90div.code pre .kp { font-weight: bold } /* Keyword.Pseudo */
91div.code pre .kr { font-weight: bold } /* Keyword.Reserved */
92div.code pre .kt { color: #445588; font-weight: bold } /* Keyword.Type */
93div.code pre .m { color: #009999 } /* Literal.Number */
94div.code pre .s { color: #bb8844 } /* Literal.String */
95div.code pre .na { color: #008080 } /* Name.Attribute */
96div.code pre .nb { color: #999999 } /* Name.Builtin */
97div.code pre .nc { color: #445588; font-weight: bold } /* Name.Class */
98div.code pre .no { color: #008080 } /* Name.Constant */
99div.code pre .ni { color: #800080 } /* Name.Entity */
100div.code pre .ne { color: #990000; font-weight: bold } /* Name.Exception */
101div.code pre .nf { color: #990000; font-weight: bold } /* Name.Function */
102div.code pre .nn { color: #555555 } /* Name.Namespace */
103div.code pre .nt { color: #000080 } /* Name.Tag */
104div.code pre .nv { color: #008080 } /* Name.Variable */
105div.code pre .ow { font-weight: bold } /* Operator.Word */
106div.code pre .w { color: #bbbbbb } /* Text.Whitespace */
107div.code pre .mb { color: #009999 } /* Literal.Number.Bin */
108div.code pre .mf { color: #009999 } /* Literal.Number.Float */
109div.code pre .mh { color: #009999 } /* Literal.Number.Hex */
110div.code pre .mi { color: #009999 } /* Literal.Number.Integer */
111div.code pre .mo { color: #009999 } /* Literal.Number.Oct */
112div.code pre .sb { color: #bb8844 } /* Literal.String.Backtick */
113div.code pre .sc { color: #bb8844 } /* Literal.String.Char */
114div.code pre .sd { color: #bb8844 } /* Literal.String.Doc */
115div.code pre .s2 { color: #bb8844 } /* Literal.String.Double */
116div.code pre .se { color: #bb8844 } /* Literal.String.Escape */
117div.code pre .sh { color: #bb8844 } /* Literal.String.Heredoc */
118div.code pre .si { color: #bb8844 } /* Literal.String.Interpol */
119div.code pre .sx { color: #bb8844 } /* Literal.String.Other */
120div.code pre .sr { color: #808000 } /* Literal.String.Regex */
121div.code pre .s1 { color: #bb8844 } /* Literal.String.Single */
122div.code pre .ss { color: #bb8844 } /* Literal.String.Symbol */
123div.code pre .bp { color: #999999 } /* Name.Builtin.Pseudo */
124div.code pre .vc { color: #008080 } /* Name.Variable.Class */
125div.code pre .vg { color: #008080 } /* Name.Variable.Global */
126div.code pre .vi { color: #008080 } /* Name.Variable.Instance */
127div.code pre .il { color: #009999 } /* Literal.Number.Integer.Long */
128
129table.code td .hll { background-color: #ffffcc }
130table.code td { background: #ffffff; }
131table.code td .c { color: #999988; font-style: italic } /* Comment */
132table.code td .err { color: #a61717; background-color: #e3d2d2 } /* Error */
133table.code td .k { font-weight: bold } /* Keyword */
134table.code td .o { font-weight: bold } /* Operator */
135table.code td .ch { color: #999988; font-style: italic } /* Comment.Hashbang */
136table.code td .cm { color: #999988; font-style: italic } /* Comment.Multiline */
137table.code td .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
138table.code td .cpf { color: #999988; font-style: italic } /* Comment.PreprocFile */
139table.code td .c1 { color: #999988; font-style: italic } /* Comment.Single */
140table.code td .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
141table.code td .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
142table.code td .ge { font-style: italic } /* Generic.Emph */
143table.code td .gr { color: #aa0000 } /* Generic.Error */
144table.code td .gh { color: #999999 } /* Generic.Heading */
145table.code td .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
146table.code td .go { color: #888888 } /* Generic.Output */
147table.code td .gp { color: #555555 } /* Generic.Prompt */
148table.code td .gs { font-weight: bold } /* Generic.Strong */
149table.code td .gu { color: #aaaaaa } /* Generic.Subheading */
150table.code td .gt { color: #aa0000 } /* Generic.Traceback */
151table.code td .kc { font-weight: bold } /* Keyword.Constant */
152table.code td .kd { font-weight: bold } /* Keyword.Declaration */
153table.code td .kn { font-weight: bold } /* Keyword.Namespace */
154table.code td .kp { font-weight: bold } /* Keyword.Pseudo */
155table.code td .kr { font-weight: bold } /* Keyword.Reserved */
156table.code td .kt { color: #445588; font-weight: bold } /* Keyword.Type */
157table.code td .m { color: #009999 } /* Literal.Number */
158table.code td .s { color: #bb8844 } /* Literal.String */
159table.code td .na { color: #008080 } /* Name.Attribute */
160table.code td .nb { color: #999999 } /* Name.Builtin */
161table.code td .nc { color: #445588; font-weight: bold } /* Name.Class */
162table.code td .no { color: #008080 } /* Name.Constant */
163table.code td .ni { color: #800080 } /* Name.Entity */
164table.code td .ne { color: #990000; font-weight: bold } /* Name.Exception */
165table.code td .nf { color: #990000; font-weight: bold } /* Name.Function */
166table.code td .nn { color: #555555 } /* Name.Namespace */
167table.code td .nt { color: #000080 } /* Name.Tag */
168table.code td .nv { color: #008080 } /* Name.Variable */
169table.code td .ow { font-weight: bold } /* Operator.Word */
170table.code td .w { color: #bbbbbb } /* Text.Whitespace */
171table.code td .mb { color: #009999 } /* Literal.Number.Bin */
172table.code td .mf { color: #009999 } /* Literal.Number.Float */
173table.code td .mh { color: #009999 } /* Literal.Number.Hex */
174table.code td .mi { color: #009999 } /* Literal.Number.Integer */
175table.code td .mo { color: #009999 } /* Literal.Number.Oct */
176table.code td .sb { color: #bb8844 } /* Literal.String.Backtick */
177table.code td .sc { color: #bb8844 } /* Literal.String.Char */
178table.code td .sd { color: #bb8844 } /* Literal.String.Doc */
179table.code td .s2 { color: #bb8844 } /* Literal.String.Double */
180table.code td .se { color: #bb8844 } /* Literal.String.Escape */
181table.code td .sh { color: #bb8844 } /* Literal.String.Heredoc */
182table.code td .si { color: #bb8844 } /* Literal.String.Interpol */
183table.code td .sx { color: #bb8844 } /* Literal.String.Other */
184table.code td .sr { color: #808000 } /* Literal.String.Regex */
185table.code td .s1 { color: #bb8844 } /* Literal.String.Single */
186table.code td .ss { color: #bb8844 } /* Literal.String.Symbol */
187table.code td .bp { color: #999999 } /* Name.Builtin.Pseudo */
188table.code td .vc { color: #008080 } /* Name.Variable.Class */
189table.code td .vg { color: #008080 } /* Name.Variable.Global */
190table.code td .vi { color: #008080 } /* Name.Variable.Instance */
191table.code td .il { color: #009999 } /* Literal.Number.Integer.Long */
Note: See TracBrowser for help on using the repository browser.