1*2fc86ccdSsameeran joshi/* 2*2fc86ccdSsameeran joshi * LLVM documentation style sheet 3*2fc86ccdSsameeran joshi */ 4*2fc86ccdSsameeran joshi 5*2fc86ccdSsameeran joshi/* Common styles */ 6*2fc86ccdSsameeran joshi.body { color: black; background: white; margin: 0 0 0 0 } 7*2fc86ccdSsameeran joshi 8*2fc86ccdSsameeran joshi/* No borders on image links */ 9*2fc86ccdSsameeran joshia:link img, a:visited img { border-style: none } 10*2fc86ccdSsameeran joshi 11*2fc86ccdSsameeran joshiaddress img { float: right; width: 88px; height: 31px; } 12*2fc86ccdSsameeran joshiaddress { clear: right; } 13*2fc86ccdSsameeran joshi 14*2fc86ccdSsameeran joshitable { text-align: center; border: 2px solid black; 15*2fc86ccdSsameeran joshi border-collapse: collapse; margin-top: 1em; margin-left: 1em; 16*2fc86ccdSsameeran joshi margin-right: 1em; margin-bottom: 1em; } 17*2fc86ccdSsameeran joshitr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; } 18*2fc86ccdSsameeran joshith { border: 2px solid gray; font-weight: bold; font-size: 105%; 19*2fc86ccdSsameeran joshi background: url("lines.gif"); 20*2fc86ccdSsameeran joshi font-family: "Georgia,Palatino,Times,Roman,SanSerif"; 21*2fc86ccdSsameeran joshi text-align: center; vertical-align: middle; } 22*2fc86ccdSsameeran joshi/* 23*2fc86ccdSsameeran joshi * Documentation 24*2fc86ccdSsameeran joshi */ 25*2fc86ccdSsameeran joshi/* Common for title and header */ 26*2fc86ccdSsameeran joshi.doc_title, .doc_section, .doc_subsection, h1, h2, h3 { 27*2fc86ccdSsameeran joshi color: black; background: url("lines.gif"); 28*2fc86ccdSsameeran joshi font-family: "Georgia,Palatino,Times,Roman,SanSerif"; font-weight: bold; 29*2fc86ccdSsameeran joshi border-width: 1px; 30*2fc86ccdSsameeran joshi border-style: solid none solid none; 31*2fc86ccdSsameeran joshi text-align: center; 32*2fc86ccdSsameeran joshi vertical-align: middle; 33*2fc86ccdSsameeran joshi padding-left: 8pt; 34*2fc86ccdSsameeran joshi padding-top: 1px; 35*2fc86ccdSsameeran joshi padding-bottom: 2px 36*2fc86ccdSsameeran joshi} 37*2fc86ccdSsameeran joshi 38*2fc86ccdSsameeran joshih1, .doc_title, .title { text-align: left; font-size: 25pt } 39*2fc86ccdSsameeran joshi 40*2fc86ccdSsameeran joshih2, .doc_section { text-align: center; font-size: 22pt; 41*2fc86ccdSsameeran joshi margin: 20pt 0pt 5pt 0pt; } 42*2fc86ccdSsameeran joshi 43*2fc86ccdSsameeran joshih3, .doc_subsection { width: 75%; 44*2fc86ccdSsameeran joshi text-align: left; font-size: 12pt; 45*2fc86ccdSsameeran joshi padding: 4pt 4pt 4pt 4pt; 46*2fc86ccdSsameeran joshi margin: 1.5em 0.5em 0.5em 0.5em } 47*2fc86ccdSsameeran joshi 48*2fc86ccdSsameeran joshih4, .doc_subsubsection { margin: 2.0em 0.5em 0.5em 0.5em; 49*2fc86ccdSsameeran joshi font-weight: bold; font-style: oblique; 50*2fc86ccdSsameeran joshi border-bottom: 1px solid #999999; font-size: 12pt; 51*2fc86ccdSsameeran joshi width: 75%; } 52*2fc86ccdSsameeran joshi 53*2fc86ccdSsameeran joshi.doc_author { text-align: left; font-weight: bold; padding-left: 20pt } 54*2fc86ccdSsameeran joshi.doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt } 55*2fc86ccdSsameeran joshi 56*2fc86ccdSsameeran joshi.doc_footer { text-align: left; padding: 0 0 0 0 } 57*2fc86ccdSsameeran joshi 58*2fc86ccdSsameeran joshi.doc_hilite { color: blue; font-weight: bold; } 59*2fc86ccdSsameeran joshi 60*2fc86ccdSsameeran joshi.doc_table { text-align: center; width: 90%; 61*2fc86ccdSsameeran joshi padding: 1px 1px 1px 1px; border: 1px; } 62*2fc86ccdSsameeran joshi 63*2fc86ccdSsameeran joshi.doc_warning { color: red; font-weight: bold } 64*2fc86ccdSsameeran joshi 65*2fc86ccdSsameeran joshi/* <div class="doc_code"> would use this class, and <div> adds more padding */ 66*2fc86ccdSsameeran joshi.doc_code, .literal-block 67*2fc86ccdSsameeran joshi { border: solid 1px gray; background: #eeeeee; 68*2fc86ccdSsameeran joshi margin: 0 1em 0 1em; 69*2fc86ccdSsameeran joshi padding: 0 1em 0 1em; 70*2fc86ccdSsameeran joshi display: table; 71*2fc86ccdSsameeran joshi } 72*2fc86ccdSsameeran joshi 73*2fc86ccdSsameeran joshiblockquote pre { 74*2fc86ccdSsameeran joshi padding: 1em 2em 1em 1em; 75*2fc86ccdSsameeran joshi border: solid 1px gray; 76*2fc86ccdSsameeran joshi background: #eeeeee; 77*2fc86ccdSsameeran joshi margin: 0 1em 0 1em; 78*2fc86ccdSsameeran joshi display: table; 79*2fc86ccdSsameeran joshi} 80*2fc86ccdSsameeran joshi 81*2fc86ccdSsameeran joshih2+div, h2+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 82*2fc86ccdSsameeran joshih3+div, h3+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 83*2fc86ccdSsameeran joshih4+div, h4+p {text-align: left; padding-left: 20pt; padding-right: 10pt;} 84*2fc86ccdSsameeran joshi 85*2fc86ccdSsameeran joshi/* It is preferable to use <pre class="doc_code"> everywhere instead of the 86*2fc86ccdSsameeran joshi * <div class="doc_code"><pre>...</ptr></div> construct. 87*2fc86ccdSsameeran joshi * 88*2fc86ccdSsameeran joshi * Once all docs use <pre> for code regions, this style can be merged with the 89*2fc86ccdSsameeran joshi * one above, and we can drop the [pre] qualifier. 90*2fc86ccdSsameeran joshi */ 91*2fc86ccdSsameeran joshipre.doc_code, .literal-block { padding: 1em 2em 1em 1em } 92*2fc86ccdSsameeran joshi 93*2fc86ccdSsameeran joshi.doc_notes { background: #fafafa; border: 1px solid #cecece; 94*2fc86ccdSsameeran joshi display: table; padding: 0 1em 0 .1em } 95*2fc86ccdSsameeran joshi 96*2fc86ccdSsameeran joshitable.layout { text-align: left; border: none; border-collapse: collapse; 97*2fc86ccdSsameeran joshi padding: 4px 4px 4px 4px; } 98*2fc86ccdSsameeran joshitr.layout, td.layout, td.left, td.right 99*2fc86ccdSsameeran joshi { border: none; padding: 4pt 4pt 2pt 2pt; vertical-align: top; } 100*2fc86ccdSsameeran joshitd.left { text-align: left } 101*2fc86ccdSsameeran joshitd.right { text-align: right } 102*2fc86ccdSsameeran joshith.layout { border: none; font-weight: bold; font-size: 105%; 103*2fc86ccdSsameeran joshi text-align: center; vertical-align: middle; } 104*2fc86ccdSsameeran joshi 105*2fc86ccdSsameeran joshi/* Left align table cell */ 106*2fc86ccdSsameeran joshi.td_left { border: 2px solid gray; text-align: left; } 107*2fc86ccdSsameeran joshi 108*2fc86ccdSsameeran joshi/* ReST-specific */ 109*2fc86ccdSsameeran joshi.title { margin-top: 0 } 110*2fc86ccdSsameeran joshi.topic-title{ display: none } 111*2fc86ccdSsameeran joshidiv.contents ul { list-style-type: decimal } 112*2fc86ccdSsameeran joshi.toc-backref { color: black; text-decoration: none; } 113