blob: 69ae45538fcf1fa51646eae5f933b0f0918e070f [file] [log] [blame]
Misha Brukman4b0faec2003-10-22 23:23:49 +00001/*
Misha Brukman10c0a2e2004-09-07 05:09:22 +00002 * LLVM documentation style sheet
Misha Brukman4b0faec2003-10-22 23:23:49 +00003 */
4
5/* Common styles */
Misha Brukman7905a8a2003-10-24 17:34:50 +00006.body { color: black; background: white; margin: 0 0 0 0 }
Misha Brukman4b0faec2003-10-22 23:23:49 +00007
Misha Brukmane1f464e2003-11-22 00:59:08 +00008/* No borders on image links */
9a:link img, a:visited img {border-style: none}
10
Misha Brukman3f1b24c2003-11-22 01:23:53 +000011address img { float: right; width: 88px; height: 31px; }
12address { clear: right; }
13
Reid Spencer2f1e7a02004-08-26 20:43:21 +000014TR, TD { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
Reid Spencer448a4af2004-10-31 23:01:02 +000015TH { border: 2px solid gray; font-weight: bold; font-size: 105%;
16 color: black; background: url("img/lines.gif");
Reid Spencer41b34ff2004-11-01 09:25:03 +000017 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center;
Reid Spencer448a4af2004-10-31 23:01:02 +000018 vertical-align: middle; }
Reid Spencer2f1e7a02004-08-26 20:43:21 +000019TABLE { text-align: center; border: 2px solid black;
20 border-collapse: collapse; margin-top: 1em; margin-left: 1em;
21 margin-right: 1em; margin-bottom: 1em; }
Misha Brukman4b0faec2003-10-22 23:23:49 +000022/*
23 * Documentation
24 */
25/* Common for title and header */
26.doc_title, .doc_section, .doc_subsection {
Misha Brukmanb9e41eb2004-05-12 21:20:56 +000027 color: black; background: url("img/lines.gif");
Reid Spencer936e5ca2004-11-01 09:26:57 +000028 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
Misha Brukmanb9e41eb2004-05-12 21:20:56 +000029 border-width: 1px;
30 border-style: solid none solid none;
31 text-align: center;
32 vertical-align: middle;
Brian Gaeke1ce764e2003-11-12 20:31:18 +000033 padding-left: 8pt;
34 padding-top: 1px;
35 padding-bottom: 2px
Misha Brukman4b0faec2003-10-22 23:23:49 +000036}
37
38.doc_title { text-align: left; font-size: 25pt }
Chris Lattner88c595f2004-05-23 21:03:30 +000039.doc_section { text-align: center; font-size: 22pt;
40 margin: 20pt 0pt 5pt 0pt; }
41.doc_subsection { width: 75%;
Misha Brukmanb9e41eb2004-05-12 21:20:56 +000042 text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
Chris Lattner88c595f2004-05-23 21:03:30 +000043 margin: 1.5em 0.5em 0.5em 0.5em }
Misha Brukman7905a8a2003-10-24 17:34:50 +000044
Chris Lattner88c595f2004-05-23 21:03:30 +000045.doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em;
Misha Brukman7905a8a2003-10-24 17:34:50 +000046 font-weight: bold; font-style: oblique;
Chris Lattner88c595f2004-05-23 21:03:30 +000047 border-bottom: 1px solid #999999; font-size: 12pt;
48 width: 75%; }
49.doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
Chris Lattner1c2c61f2005-05-16 16:30:10 +000050.doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
Misha Brukman85be5e02003-10-24 17:56:09 +000051
Misha Brukmane1f464e2003-11-22 00:59:08 +000052.doc_footer { text-align: left; padding: 0 0 0 0 }
Misha Brukman4b0faec2003-10-22 23:23:49 +000053
Misha Brukman0465e892005-02-09 22:47:47 +000054.doc_hilite { color: blue; font-weight: bold; }
Misha Brukman9583acb2003-10-24 19:58:36 +000055
Chris Lattner88c595f2004-05-23 21:03:30 +000056.doc_table { text-align: center; width: 90%;
Misha Brukman5a141db2004-01-15 00:13:59 +000057 padding: 1px 1px 1px 1px; border: 1px; }
Chris Lattner261efe92003-11-25 01:02:51 +000058
Reid Spencer0bd34a22004-05-23 21:25:50 +000059.doc_table_nw { text-align: center; border: 1px;
60 padding: 1px 1px 1px 1px; }
61
Misha Brukmana3ce4292004-04-06 03:53:49 +000062.doc_warning { color: red; font-weight: bold }
Misha Brukmanf4e4feb2004-04-15 20:49:32 +000063
64.doc_code { border: solid 1px gray; background: #eeeeee;
Chris Lattner58ac6742004-05-24 18:05:58 +000065 margin: 0 1em 0 1em;
66 padding: 0 1em 0 1em;
67 display:table;
68 }
Reid Spencerc148e5e2006-07-27 05:29:25 +000069.doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
Reid Spencer2f1e7a02004-08-26 20:43:21 +000070
Reid Spencer41b34ff2004-11-01 09:25:03 +000071TABLE.layout { text-align: left; border: none; border-collapse: collapse;
Reid Spencer09221722004-11-01 08:18:06 +000072 padding: 4px 4px 4px 4px; }
73TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; }
74TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
75 vertical-align: top;}
76TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
77 vertical-align: top;}
78TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
79 vertical-align: top;}
Reid Spencer936e5ca2004-11-01 09:26:57 +000080TH.layout { border: none; font-weight: bold; font-size: 105%;
Reid Spencer09221722004-11-01 08:18:06 +000081 text-align:center; vertical-align: middle; }
82
Reid Spencer2f1e7a02004-08-26 20:43:21 +000083/* Left align table cell */
84.td_left { border: 2px solid gray; text-align: left; }