Debian Codegraph @

src/dr/util/HTMLOutput.java

raw symbols SCIP
1 /*
2 * HTMLOutput.java
3 *
4 * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard
5 *
6 * This file is part of BEAST.
7 * See the NOTICE file distributed with this work for additional
8 * information regarding copyright ownership and licensing.
9 *
10 * BEAST is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as
12 * published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * BEAST is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with BEAST; if not, write to the
22 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
23 * Boston, MA 02110-1301 USA
24 */
25
26 package dr.util;
27
28 public class HTMLOutput {
29
30
31 public static final String HTML_OPEN = "<html>\n";
32
33 public static final String HTML_HEAD =
34 " <head>\n" +
35 " <style type=\"text/css\">\n" +
36 " body { \n" +
37 " margin-left: 10%; \n" +
38 " margin-right: 10%; \n" +
39 " font-family: sans-serif\n" +
40 " }\n" +
41 " h2 { margin-top: 1em }\n" +
42 " h2,h3,h4,h5,h6 { \n" +
43 " margin-left: -3%;\n" +
44 " font-family:Optima;\n" +
45 " }\n" +
46 " pre {\n" +
47 " color: green; font-weight: bold;\n" +
48 " white-space: pre; font-family: \"Courier New\", monospace;\n" +
49 " }\n" +
50 " tt { color: green }\n" +
51 " em { font-style: normal; font-weight: bold }\n" +
52 " strong { text-transform: uppercase; font-weight: bold }\n" +
53 " table {\n" +
54 " margin-left: -4%;\n" +
55 " font-family: sans-serif;\n" +
56 " background: white;\n" +
57 " border-width: 1px;\n" +
58 " border-color: white;\n" +
59 " }\n" +
60 " </style>\n" +
61 " </head>\n";
62 }