llvm.org GIT mirror llvm / 8cc8288
Merge llvm-rst.css and llvm.css. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60984 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Glushenkov 10 years ago
6 changed file(s) with 47 addition(s) and 226 deletion(s). Raw diff Collapse all Expand all
44
55
66 Customizing LLVMC: Reference Manual
7
7
88
99
1010
44
55
66 Tutorial - Using LLVMC
7
7
88
99
1010
+0
-96
docs/llvm-rst.css less more
None /*
1 * LLVM documentation style sheet
2 */
3
4 /* Common styles */
5 .body { color: black; background: white; margin: 0 0 0 0 }
6
7 /* No borders on image links */
8 a:link img, a:visited img {border-style: none}
9
10 address img { float: right; width: 88px; height: 31px; }
11 address { clear: right; }
12
13 TR, TD { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
14 TH { border: 2px solid gray; font-weight: bold; font-size: 105%;
15 background: url("img/lines.gif");
16 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center;
17 vertical-align: middle; }
18 TABLE { text-align: center; border: 2px solid black;
19 border-collapse: collapse; margin-top: 1em; margin-left: 1em;
20 margin-right: 1em; margin-bottom: 1em; }
21 /*
22 * Documentation
23 */
24 /* Common for title and header */
25 h1, h2 {
26 color: black; background: url("img/lines.gif");
27 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
28 border-width: 1px;
29 border-style: solid none solid none;
30 text-align: center;
31 vertical-align: middle;
32 padding-left: 8pt;
33 padding-top: 1px;
34 padding-bottom: 2px;
35 }
36
37 h1 {
38 text-align: center;
39 font-size: 22pt;
40 margin: 20pt 0pt 5pt 0pt;
41 }
42
43 .title { padding-top: 0; margin-top: 0; text-align: left;
44 font-size: 25pt }
45
46 h2 { width: 75%;
47 text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
48 margin: 1.5em 0.5em 0.5em 0.5em }
49
50 h3 { margin: 2.0em 0.5em 0.5em 0.5em;
51 font-weight: bold; font-style: oblique;
52 border-bottom: 1px solid #999999; font-size: 12pt;
53 width: 75%; }
54
55 #contents { display: none; }
56 ul { list-style-type: decimal }
57
58 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
59 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
60
61 .doc_footer { text-align: left; padding: 0 0 0 0 }
62
63 .doc_hilite { color: blue; font-weight: bold; }
64
65 .doc_table { text-align: center; width: 90%;
66 padding: 1px 1px 1px 1px; border: 1px; }
67
68 .doc_table_nw { text-align: center; border: 1px;
69 padding: 1px 1px 1px 1px; }
70
71 .doc_warning { color: red; font-weight: bold }
72
73 .literal-block { border: solid 1px gray; background: #eeeeee;
74 margin: 0 1em 0 1em;
75 padding: 1em 2em 1em 1em;
76 display:table;
77 }
78 .doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
79
80 TABLE.layout { text-align: left; border: none; border-collapse: collapse;
81 padding: 4px 4px 4px 4px; }
82 TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; }
83 TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
84 vertical-align: top;}
85 TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
86 vertical-align: top;}
87 TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
88 vertical-align: top;}
89 TH.layout { border: none; font-weight: bold; font-size: 105%;
90 text-align:center; vertical-align: middle; }
91
92 /* Left align table cell */
93 .td_left { border: 2px solid gray; text-align: left; }
94
95 .toc-backref { color: black; text-decoration: none; }
1111 address { clear: right; }
1212
1313 TR, TD { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
14 TH { border: 2px solid gray; font-weight: bold; font-size: 105%;
14 TH { border: 2px solid gray; font-weight: bold; font-size: 105%;
1515 background: url("img/lines.gif");
16 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center;
16 font-family: "Georgia,Palatino,Times,Roman,SanSerif";
17 text-align:center;
1718 vertical-align: middle; }
18 TABLE { text-align: center; border: 2px solid black;
19 border-collapse: collapse; margin-top: 1em; margin-left: 1em;
19 TABLE { text-align: center; border: 2px solid black;
20 border-collapse: collapse; margin-top: 1em; margin-left: 1em;
2021 margin-right: 1em; margin-bottom: 1em; }
21 /*
22 * Documentation
22 /*
23 * Documentation
2324 */
2425 /* Common for title and header */
25 .doc_title, .doc_section, .doc_subsection {
26 .doc_title, .doc_section, .doc_subsection, h1, h2 {
2627 color: black; background: url("img/lines.gif");
2728 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
2829 border-width: 1px;
3435 padding-bottom: 2px
3536 }
3637
37 .doc_title { text-align: left; font-size: 25pt }
38 .doc_section { text-align: center; font-size: 22pt;
39 margin: 20pt 0pt 5pt 0pt; }
40 .doc_subsection { width: 75%;
41 text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
42 margin: 1.5em 0.5em 0.5em 0.5em }
38 h1, .doc_section { text-align: center; font-size: 22pt;
39 margin: 20pt 0pt 5pt 0pt; }
4340
44 .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em;
45 font-weight: bold; font-style: oblique;
46 border-bottom: 1px solid #999999; font-size: 12pt;
47 width: 75%; }
41 .doc_title, .title { text-align: left; font-size: 25pt }
42
43 h2, .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 }
47
48 h3, .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;
51 width: 75%; }
52
4853 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
4954 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
5055
5257
5358 .doc_hilite { color: blue; font-weight: bold; }
5459
55 .doc_table { text-align: center; width: 90%;
60 .doc_table { text-align: center; width: 90%;
5661 padding: 1px 1px 1px 1px; border: 1px; }
5762
58 .doc_table_nw { text-align: center; border: 1px;
63 .doc_table_nw { text-align: center; border: 1px;
5964 padding: 1px 1px 1px 1px; }
6065
6166 .doc_warning { color: red; font-weight: bold }
6267
63 .doc_code { border: solid 1px gray; background: #eeeeee;
64 margin: 0 1em 0 1em;
68 .doc_code, .literal-block
69 { border: solid 1px gray; background: #eeeeee;
70 margin: 0 1em 0 1em;
6571 padding: 0 1em 0 1em;
6672 display:table;
6773 }
68 .doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
74
75 .doc_notes { background: #fafafa; border: 1px solid #cecece;
76 padding: 0.1em }
6977
7078 TABLE.layout { text-align: left; border: none; border-collapse: collapse;
7179 padding: 4px 4px 4px 4px; }
7280 TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; }
73 TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
81 TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
7482 vertical-align: top;}
75 TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
83 TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
7684 vertical-align: top;}
77 TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
85 TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
7886 vertical-align: top;}
79 TH.layout { border: none; font-weight: bold; font-size: 105%;
87 TH.layout { border: none; font-weight: bold; font-size: 105%;
8088 text-align:center; vertical-align: middle; }
8189
8290 /* Left align table cell */
8391 .td_left { border: 2px solid gray; text-align: left; }
92
93 /* ReST-specific */
94 .title { margin-top: 0}
95 #contents { display: none; }
96 div.contents ul { list-style-type: decimal }
97 .literal-block { padding: 1em 2em 1em 1em }
98 .toc-backref { color: black; text-decoration: none; }
99 LEVEL=../../..
1010 include $(LEVEL)/Makefile.config
1111
12 RST_CSS=llvm-rst.css
1312 DOC_DIR=../../../docs
14 RST2HTML=rst2html --stylesheet=$(RST_CSS) --link-stylesheet
13 RST2HTML=rst2html --stylesheet=llvm.css --link-stylesheet
1514
16 all : LLVMC-Reference.html LLVMC-Tutorial.html $(RST_CSS)
17 $(CP) $(RST_CSS) $(DOC_DIR)/$(RST_CSS)
15 all : LLVMC-Reference.html LLVMC-Tutorial.html
1816 $(CP) LLVMC-Reference.html $(DOC_DIR)/CompilerDriver.html
1917 $(CP) LLVMC-Tutorial.html $(DOC_DIR)/CompilerDriverTutorial.html
2018
21 LLVMC-Tutorial.html : LLVMC-Tutorial.rst $(RST_CSS)
19 LLVMC-Tutorial.html : LLVMC-Tutorial.rst
2220 $(RST2HTML) $< $@
2321
24 LLVMC-Reference.html : LLVMC-Reference.rst $(RST_CSS)
22 LLVMC-Reference.html : LLVMC-Reference.rst
2523 $(RST2HTML) $< $@
2624
2725 clean :
+0
-96
tools/llvmc/doc/llvm-rst.css less more
None /*
1 * LLVM documentation style sheet
2 */
3
4 /* Common styles */
5 .body { color: black; background: white; margin: 0 0 0 0 }
6
7 /* No borders on image links */
8 a:link img, a:visited img {border-style: none}
9
10 address img { float: right; width: 88px; height: 31px; }
11 address { clear: right; }
12
13 TR, TD { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
14 TH { border: 2px solid gray; font-weight: bold; font-size: 105%;
15 background: url("img/lines.gif");
16 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center;
17 vertical-align: middle; }
18 TABLE { text-align: center; border: 2px solid black;
19 border-collapse: collapse; margin-top: 1em; margin-left: 1em;
20 margin-right: 1em; margin-bottom: 1em; }
21 /*
22 * Documentation
23 */
24 /* Common for title and header */
25 h1, h2 {
26 color: black; background: url("img/lines.gif");
27 font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold;
28 border-width: 1px;
29 border-style: solid none solid none;
30 text-align: center;
31 vertical-align: middle;
32 padding-left: 8pt;
33 padding-top: 1px;
34 padding-bottom: 2px;
35 }
36
37 h1 {
38 text-align: center;
39 font-size: 22pt;
40 margin: 20pt 0pt 5pt 0pt;
41 }
42
43 .title { padding-top: 0; margin-top: 0; text-align: left;
44 font-size: 25pt }
45
46 h2 { width: 75%;
47 text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt;
48 margin: 1.5em 0.5em 0.5em 0.5em }
49
50 h3 { margin: 2.0em 0.5em 0.5em 0.5em;
51 font-weight: bold; font-style: oblique;
52 border-bottom: 1px solid #999999; font-size: 12pt;
53 width: 75%; }
54
55 #contents { display: none; }
56 ul { list-style-type: decimal }
57
58 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
59 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
60
61 .doc_footer { text-align: left; padding: 0 0 0 0 }
62
63 .doc_hilite { color: blue; font-weight: bold; }
64
65 .doc_table { text-align: center; width: 90%;
66 padding: 1px 1px 1px 1px; border: 1px; }
67
68 .doc_table_nw { text-align: center; border: 1px;
69 padding: 1px 1px 1px 1px; }
70
71 .doc_warning { color: red; font-weight: bold }
72
73 .literal-block { border: solid 1px gray; background: #eeeeee;
74 margin: 0 1em 0 1em;
75 padding: 1em 2em 1em 1em;
76 display:table;
77 }
78 .doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em }
79
80 TABLE.layout { text-align: left; border: none; border-collapse: collapse;
81 padding: 4px 4px 4px 4px; }
82 TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; }
83 TD.layout { border: none; padding: 4pt 4pt 2pt 2pt;
84 vertical-align: top;}
85 TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left;
86 vertical-align: top;}
87 TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right;
88 vertical-align: top;}
89 TH.layout { border: none; font-weight: bold; font-size: 105%;
90 text-align:center; vertical-align: middle; }
91
92 /* Left align table cell */
93 .td_left { border: 2px solid gray; text-align: left; }
94
95 .toc-backref { color: black; text-decoration: none; }