Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 1 | /* |
Misha Brukman | 10c0a2e | 2004-09-07 05:09:22 +0000 | [diff] [blame] | 2 | * LLVM documentation style sheet |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 3 | */ |
| 4 | |
| 5 | /* Common styles */ |
Misha Brukman | 7905a8a | 2003-10-24 17:34:50 +0000 | [diff] [blame] | 6 | .body { color: black; background: white; margin: 0 0 0 0 } |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 7 | |
Misha Brukman | e1f464e | 2003-11-22 00:59:08 +0000 | [diff] [blame] | 8 | /* No borders on image links */ |
| 9 | a:link img, a:visited img {border-style: none} |
| 10 | |
Misha Brukman | 3f1b24c | 2003-11-22 01:23:53 +0000 | [diff] [blame] | 11 | address img { float: right; width: 88px; height: 31px; } |
| 12 | address { clear: right; } |
| 13 | |
Reid Spencer | 2f1e7a0 | 2004-08-26 20:43:21 +0000 | [diff] [blame] | 14 | TR, TD { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; } |
Reid Spencer | 448a4af | 2004-10-31 23:01:02 +0000 | [diff] [blame] | 15 | TH { border: 2px solid gray; font-weight: bold; font-size: 105%; |
| 16 | color: black; background: url("img/lines.gif"); |
Reid Spencer | 41b34ff | 2004-11-01 09:25:03 +0000 | [diff] [blame] | 17 | font-family: "Georgia,Palatino,Times,Roman,SanSerif"; text-align:center; |
Reid Spencer | 448a4af | 2004-10-31 23:01:02 +0000 | [diff] [blame] | 18 | vertical-align: middle; } |
Reid Spencer | 2f1e7a0 | 2004-08-26 20:43:21 +0000 | [diff] [blame] | 19 | TABLE { 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 Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 22 | /* |
| 23 | * Documentation |
| 24 | */ |
| 25 | /* Common for title and header */ |
| 26 | .doc_title, .doc_section, .doc_subsection { |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 27 | color: black; background: url("img/lines.gif"); |
Reid Spencer | 936e5ca | 2004-11-01 09:26:57 +0000 | [diff] [blame] | 28 | font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold; |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 29 | border-width: 1px; |
| 30 | border-style: solid none solid none; |
| 31 | text-align: center; |
| 32 | vertical-align: middle; |
Brian Gaeke | 1ce764e | 2003-11-12 20:31:18 +0000 | [diff] [blame] | 33 | padding-left: 8pt; |
| 34 | padding-top: 1px; |
| 35 | padding-bottom: 2px |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | .doc_title { text-align: left; font-size: 25pt } |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 39 | .doc_section { text-align: center; font-size: 22pt; |
| 40 | margin: 20pt 0pt 5pt 0pt; } |
| 41 | .doc_subsection { width: 75%; |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 42 | text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt; |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 43 | margin: 1.5em 0.5em 0.5em 0.5em } |
Misha Brukman | 7905a8a | 2003-10-24 17:34:50 +0000 | [diff] [blame] | 44 | |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 45 | .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em; |
Misha Brukman | 7905a8a | 2003-10-24 17:34:50 +0000 | [diff] [blame] | 46 | font-weight: bold; font-style: oblique; |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 47 | border-bottom: 1px solid #999999; font-size: 12pt; |
| 48 | width: 75%; } |
| 49 | .doc_author { text-align: left; font-weight: bold; padding-left: 20pt } |
Chris Lattner | 1c2c61f | 2005-05-16 16:30:10 +0000 | [diff] [blame] | 50 | .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt } |
Misha Brukman | 85be5e0 | 2003-10-24 17:56:09 +0000 | [diff] [blame] | 51 | |
Misha Brukman | e1f464e | 2003-11-22 00:59:08 +0000 | [diff] [blame] | 52 | .doc_footer { text-align: left; padding: 0 0 0 0 } |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 53 | |
Misha Brukman | 0465e89 | 2005-02-09 22:47:47 +0000 | [diff] [blame] | 54 | .doc_hilite { color: blue; font-weight: bold; } |
Misha Brukman | 9583acb | 2003-10-24 19:58:36 +0000 | [diff] [blame] | 55 | |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 56 | .doc_table { text-align: center; width: 90%; |
Misha Brukman | 5a141db | 2004-01-15 00:13:59 +0000 | [diff] [blame] | 57 | padding: 1px 1px 1px 1px; border: 1px; } |
Chris Lattner | 261efe9 | 2003-11-25 01:02:51 +0000 | [diff] [blame] | 58 | |
Reid Spencer | 0bd34a2 | 2004-05-23 21:25:50 +0000 | [diff] [blame] | 59 | .doc_table_nw { text-align: center; border: 1px; |
| 60 | padding: 1px 1px 1px 1px; } |
| 61 | |
Misha Brukman | a3ce429 | 2004-04-06 03:53:49 +0000 | [diff] [blame] | 62 | .doc_warning { color: red; font-weight: bold } |
Misha Brukman | f4e4feb | 2004-04-15 20:49:32 +0000 | [diff] [blame] | 63 | |
| 64 | .doc_code { border: solid 1px gray; background: #eeeeee; |
Chris Lattner | 58ac674 | 2004-05-24 18:05:58 +0000 | [diff] [blame] | 65 | margin: 0 1em 0 1em; |
| 66 | padding: 0 1em 0 1em; |
| 67 | display:table; |
| 68 | } |
Reid Spencer | c148e5e | 2006-07-27 05:29:25 +0000 | [diff] [blame] | 69 | .doc_notes { background: #fafafa; border: 1px solid #cecece; padding: 0.1em } |
Reid Spencer | 2f1e7a0 | 2004-08-26 20:43:21 +0000 | [diff] [blame] | 70 | |
Reid Spencer | 41b34ff | 2004-11-01 09:25:03 +0000 | [diff] [blame] | 71 | TABLE.layout { text-align: left; border: none; border-collapse: collapse; |
Reid Spencer | 0922172 | 2004-11-01 08:18:06 +0000 | [diff] [blame] | 72 | padding: 4px 4px 4px 4px; } |
| 73 | TR.layout { border: none; padding: 4pt 4pt 2pt 2pt; } |
| 74 | TD.layout { border: none; padding: 4pt 4pt 2pt 2pt; |
| 75 | vertical-align: top;} |
| 76 | TD.left { border: none; padding: 4pt 4pt 2pt 2pt; text-align: left; |
| 77 | vertical-align: top;} |
| 78 | TD.right { border: none; padding: 4pt 4pt 2pt 2pt; text-align: right; |
| 79 | vertical-align: top;} |
Reid Spencer | 936e5ca | 2004-11-01 09:26:57 +0000 | [diff] [blame] | 80 | TH.layout { border: none; font-weight: bold; font-size: 105%; |
Reid Spencer | 0922172 | 2004-11-01 08:18:06 +0000 | [diff] [blame] | 81 | text-align:center; vertical-align: middle; } |
| 82 | |
Reid Spencer | 2f1e7a0 | 2004-08-26 20:43:21 +0000 | [diff] [blame] | 83 | /* Left align table cell */ |
| 84 | .td_left { border: 2px solid gray; text-align: left; } |