1/* vi: set sw=2 ts=4: */ 2 3/* 4 $HeadURL: https://cvs.khronos.org/svn/repos/util/trunk/doc/iguide/igstyle.css $ 5 $Revision: 7453 $ 6 $Author: markc $ 7*/ 8 9body { 10 font-family: Verdana, Arial, Helvetica, sans-serif; 11 font-weight: normal; 12 color: #333333; 13 background-color: white; 14 margin: 4em; 15 max-width: 50em; 16} 17 18h1 { 19 color: #00A6A6; 20} 21 22h2, h3, h4, h5, h6 { 23 color: #146A68; 24} 25 26/* Set space between editedby and editor to 0.5em. 27 * editor margin-top contributes to this. 28 */ 29h4.editedby { 30 margin-bottom: 0.5em; 31} 32 33/* Remove spaces between editedby & editor and editor & affiliation. 34 * affiliation is a div so there's no top-margin to fix. 35 */ 36h3.editor { 37 margin-top: 0; 38 /* color: #333333; */ 39 margin-bottom: 0; 40} 41 42/* Remove space between copyright and legal notice lines. 43 * Legal notice is in a div so there's no top-margin to fix. 44 */ 45p.copyright { 46 margin-bottom: 0; 47} 48 49/* Remove space between edition, docrev & releaseinfo.*/ 50p.edition { 51 margin-bottom: 0; 52} 53 54p.docrev { 55 margin-top: 0; 56 margin-bottom: 0; 57} 58 59p.releaseinfo { 60 margin-top: 0; 61} 62 63p.title { 64 color: #146A68; 65} 66 67a { 68 text-decoration: none; 69} 70 71/* The following a: pseudo-class order is necessary in 72 * order to be effective. 73 */ 74a:link { 75 color: #009999; 76} 77 78a:visited { 79 color: #006699; 80} 81 82a:hover { 83 color: #00CCCC; 84} 85 86a:active { 87 color: #0000FF; 88} 89 90code.code { 91 white-space: nowrap; 92} 93 94/* Increase space before abstract. */ 95div.abstract > p.title { 96 margin-top: 3em; 97 98} 99 100div.footnote { 101 font-size: small; 102} 103 104div.legalnotice { 105 font-size: x-small; 106} 107 108div.article > div.titlepage { 109 text-align: center; 110} 111 112table { 113 border-collapse: collapse;*/ 114 /*border-spacing: 0;*/ 115 border-style: ridge; 116} 117 118td { 119 padding: 0.3em; 120} 121 122th { 123 padding: 0.3em; 124 /* background-color: #FFDEAD; */ 125 background-color: #EBD8AF; 126} 127 128th:first-child { 129 /* background-color: #EFEFEF; */ 130 background-color: #EBE57B; 131} 132 133.informalexample { 134 /*background-color: #D7D9D9;*/ 135 background-color: #EBEBEB; 136 border: thin dashed #146A68; 137} 138 139/* override width="100%" set by xls style sheet. */ 140div.revhistory > table { 141 width: auto; 142 border: thin solid; 143 font-size: small; 144 background-color: #EBEBEB; 145} 146 147div.revhistory > table th { 148 border-bottom: thin solid; 149} 150 151div.revhistory > table td { 152 border: thin dotted; 153} 154 155div.revhistory > table td.revremark { 156 border-bottom: thin solid; 157} 158 159.remark { 160 background-color: yellow; 161 color: maroon; 162} 163 164/* Haven't found a way to select .remark *except* when it's a child of 165 * .releaseinfo so I've had to add this. I tried the negation 166 * pseudo-operator without success. 167.releaseinfo .remark { 168 background-color: white; 169 color: #333333; 170} 171*/ 172 173/* Selector notes: 174 * See http://css.maxdesign.com.au/selectutorial/selectors_adjacent.htm 175 * 176 * A B selects a B that is a descendant of A. 177 * A > B selects a B that is a direct child of A. 178 * A + B selects a B that immediately follows an A where A & B are siblings. 179 * #foo is an id selector; can do A#foo to select an A with id="foo". 180 * .bar is a class selector; can do A.bar to select an A with class="bar". 181 * A[attrib<=value>] is an attribute selector. It selects an A with "attrib" 182 * specified. Optionally a specific attribute value can also be specified. 183 * A:b is pseudo-element or pseudo-class selector. Examples are first-child, 184 * visited, hover, first-line, first-letter. 185 */ 186