2 * LLVM documentation style sheet
6 .body { color: black
; background: white
; margin: 0 0 0 0 }
8 /* No borders on image links */
9 a:link img
, a:visited img
{ border-style: none
}
11 address img
{ float: right
; width: 88px; height: 31px; }
12 address
{ clear: right
; }
14 table
{ text-align: center
; border: 2px solid black
;
15 border-collapse: collapse
; margin-top: 1em; margin-left: 1em;
16 margin-right: 1em; margin-bottom: 1em; }
17 tr
, td
{ border: 2px solid gray
; padding: 4pt 4pt 2pt 2pt; }
18 th
{ border: 2px solid gray
; font-weight: bold
; font-size: 105%;
19 background: url
("lines.gif");
20 font-family: "Georgia,Palatino,Times,Roman,SanSerif";
21 text-align: center
; vertical-align: middle
; }
25 /* Common for title and header */
26 .doc_title, .doc_section, .doc_subsection, h1, h2, h3 {
27 color: black
; background: url
("lines.gif");
28 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold
;
30 border-style: solid none solid none
;
32 vertical-align: middle
;
38 h1
, .doc_title
, .title
{ text-align: left
; font-size: 25pt }
40 h2
, .doc_section
{ text-align: center
; font-size: 22pt;
41 margin: 20pt 0pt 5pt 0pt; }
43 h3
, .doc_subsection
{ width: 75%;
44 text-align: left
; font-size: 12pt;
45 padding: 4pt 4pt 4pt 4pt;
46 margin: 1.5em 0.5em 0.5em 0.5em }
48 h4
, .doc_subsubsection
{ margin: 2.0em 0.5em 0.5em 0.5em;
49 font-weight: bold
; font-style: oblique
;
50 border-bottom: 1px solid
#999999; font-size: 12pt;
53 .doc_author { text-align: left
; font-weight: bold
; padding-left: 20pt }
54 .doc_text { text-align: left
; padding-left: 20pt; padding-right: 10pt }
56 .doc_footer { text-align: left
; padding: 0 0 0 0 }
58 .doc_hilite { color: blue
; font-weight: bold
; }
60 .doc_table { text-align: center
; width: 90%;
61 padding: 1px 1px 1px 1px; border: 1px; }
63 .doc_warning { color: red
; font-weight: bold
}
65 /* <div class="doc_code"> would use this class, and <div> adds more padding */
66 .doc_code
, .literal-block
67 { border: solid
1px gray
; background: #eeeeee;
74 padding: 1em 2em 1em 1em;
75 border: solid
1px gray
;
81 h2
+div
, h2
+p
{text-align: left
; padding-left: 20pt; padding-right: 10pt;}
82 h3
+div
, h3
+p
{text-align: left
; padding-left: 20pt; padding-right: 10pt;}
83 h4
+div
, h4
+p
{text-align: left
; padding-left: 20pt; padding-right: 10pt;}
85 /* It is preferable to use <pre class="doc_code"> everywhere instead of the
86 * <div class="doc_code"><pre>...</ptr></div> construct.
88 * Once all docs use <pre> for code regions, this style can be merged with the
89 * one above, and we can drop the [pre] qualifier.
91 pre
.doc_code
, .literal-block
{ padding: 1em 2em 1em 1em }
93 .doc_notes { background: #fafafa; border: 1px solid
#cecece;
94 display: table
; padding: 0 1em 0 .1em }
96 table
.layout
{ text-align: left
; border: none
; border-collapse: collapse
;
97 padding: 4px 4px 4px 4px; }
98 tr
.layout
, td
.layout
, td
.left
, td
.right
99 { border: none
; padding: 4pt 4pt 2pt 2pt; vertical-align: top
; }
100 td
.left
{ text-align: left
}
101 td
.right
{ text-align: right
}
102 th
.layout
{ border: none
; font-weight: bold
; font-size: 105%;
103 text-align: center
; vertical-align: middle
; }
105 /* Left align table cell */
106 .td_left { border: 2px solid gray
; text-align: left
; }
109 .title { margin-top: 0 }
110 .topic-title{ display: none
}
111 div
.contents ul
{ list-style-type: decimal
}
112 .toc-backref { color: black
; text-decoration: none
; }