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; } |
| 15 | TH { border: 2px solid gray; font-weight: bold; font-size: 105%; } |
| 16 | TABLE { text-align: center; border: 2px solid black; |
| 17 | border-collapse: collapse; margin-top: 1em; margin-left: 1em; |
| 18 | margin-right: 1em; margin-bottom: 1em; } |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 19 | /* |
| 20 | * Documentation |
| 21 | */ |
| 22 | /* Common for title and header */ |
| 23 | .doc_title, .doc_section, .doc_subsection { |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 24 | color: black; background: url("img/lines.gif"); |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 25 | font-family: "Georgia,Palatino,Times,Roman"; font-weight: bold; |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 26 | border-width: 1px; |
| 27 | border-style: solid none solid none; |
| 28 | text-align: center; |
| 29 | vertical-align: middle; |
Brian Gaeke | 1ce764e | 2003-11-12 20:31:18 +0000 | [diff] [blame] | 30 | padding-left: 8pt; |
| 31 | padding-top: 1px; |
| 32 | padding-bottom: 2px |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | .doc_title { text-align: left; font-size: 25pt } |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 36 | .doc_section { text-align: center; font-size: 22pt; |
| 37 | margin: 20pt 0pt 5pt 0pt; } |
| 38 | .doc_subsection { width: 75%; |
Misha Brukman | b9e41eb | 2004-05-12 21:20:56 +0000 | [diff] [blame] | 39 | text-align: left; font-size: 12pt; padding: 4pt 4pt 4pt 4pt; |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 40 | margin: 1.5em 0.5em 0.5em 0.5em } |
Misha Brukman | 7905a8a | 2003-10-24 17:34:50 +0000 | [diff] [blame] | 41 | |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 42 | .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em; |
Misha Brukman | 7905a8a | 2003-10-24 17:34:50 +0000 | [diff] [blame] | 43 | font-weight: bold; font-style: oblique; |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 44 | border-bottom: 1px solid #999999; font-size: 12pt; |
| 45 | width: 75%; } |
| 46 | .doc_author { text-align: left; font-weight: bold; padding-left: 20pt } |
Misha Brukman | 85be5e0 | 2003-10-24 17:56:09 +0000 | [diff] [blame] | 47 | .doc_text { text-align: left; padding-left: 20pt } |
| 48 | |
Misha Brukman | e1f464e | 2003-11-22 00:59:08 +0000 | [diff] [blame] | 49 | .doc_footer { text-align: left; padding: 0 0 0 0 } |
Misha Brukman | 4b0faec | 2003-10-22 23:23:49 +0000 | [diff] [blame] | 50 | |
Misha Brukman | 9583acb | 2003-10-24 19:58:36 +0000 | [diff] [blame] | 51 | .doc_red { color: red } |
| 52 | |
Chris Lattner | 88c595f | 2004-05-23 21:03:30 +0000 | [diff] [blame] | 53 | .doc_table { text-align: center; width: 90%; |
Misha Brukman | 5a141db | 2004-01-15 00:13:59 +0000 | [diff] [blame] | 54 | padding: 1px 1px 1px 1px; border: 1px; } |
Chris Lattner | 261efe9 | 2003-11-25 01:02:51 +0000 | [diff] [blame] | 55 | |
Reid Spencer | 0bd34a2 | 2004-05-23 21:25:50 +0000 | [diff] [blame] | 56 | .doc_table_nw { text-align: center; border: 1px; |
| 57 | padding: 1px 1px 1px 1px; } |
| 58 | |
Misha Brukman | a3ce429 | 2004-04-06 03:53:49 +0000 | [diff] [blame] | 59 | .doc_warning { color: red; font-weight: bold } |
Misha Brukman | f4e4feb | 2004-04-15 20:49:32 +0000 | [diff] [blame] | 60 | |
| 61 | .doc_code { border: solid 1px gray; background: #eeeeee; |
Chris Lattner | 58ac674 | 2004-05-24 18:05:58 +0000 | [diff] [blame] | 62 | margin: 0 1em 0 1em; |
| 63 | padding: 0 1em 0 1em; |
| 64 | display:table; |
| 65 | } |
Reid Spencer | 2f1e7a0 | 2004-08-26 20:43:21 +0000 | [diff] [blame] | 66 | |
| 67 | /* Left align table cell */ |
| 68 | .td_left { border: 2px solid gray; text-align: left; } |