You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
5.8 KiB

  1. body, html, table.container {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. body {
  6. font-family: Verdana,Arial;
  7. color: black;
  8. background-color: white;
  9. font-size: 12px;
  10. }
  11. table.container {
  12. width: 100%;
  13. border-spacing: 0;
  14. }
  15. table.container td {
  16. vertical-align: top;
  17. }
  18. td.navigation {
  19. width: 200px;
  20. color: white;
  21. background-color: #787878;
  22. margin: 0;
  23. /* padding-bottom is a little larger, to make navigation column have some
  24. nice height even when td.content column is very small. */
  25. padding: 1em 1em 100px 1em;
  26. }
  27. td.navigation p { padding: 0; }
  28. td.navigation h2 { margin-top: 0; }
  29. td.content { padding: 1em; }
  30. td.content h1 { margin-top: 0; }
  31. img { border:0px; }
  32. a:link {color:#C91E0C; text-decoration: none; }
  33. a:visited {color:#7E5C31; text-decoration: none; }
  34. a:hover {text-decoration: underline; }
  35. a:active {text-decoration: underline; }
  36. a.navigation:link { color: white; text-decoration: none; }
  37. a.navigation:visited { color: white; text-decoration: none; }
  38. a.navigation:hover { color: white; font-weight: bold; text-decoration: none; }
  39. a.navigation:active { color: white; text-decoration: none; }
  40. a.bold:link {color:#C91E0C; text-decoration: none; font-weight:bold; }
  41. a.bold:visited {color:#7E5C31; text-decoration: none; font-weight:bold; }
  42. a.bold:hover {text-decoration: underline; font-weight:bold; }
  43. a.bold:active {text-decoration: underline; font-weight:bold; }
  44. a.section {color: green; text-decoration: none; font-weight: bold; }
  45. a.section:hover {color: green; text-decoration: underline; font-weight: bold; }
  46. ul.useslist a:link {color:#C91E0C; text-decoration: none; font-weight:bold; }
  47. ul.useslist a:visited {color:#7E5C31; text-decoration: none; font-weight:bold; }
  48. ul.useslist a:hover {text-decoration: underline; font-weight:bold; }
  49. ul.useslist a:active {text-decoration: underline; font-weight:bold; }
  50. ul.hierarchy { list-style-type:none; }
  51. ul.hierarchylevel { list-style-type:none; }
  52. p.unitlink a:link {color:#C91E0C; text-decoration: none; font-weight:bold; }
  53. p.unitlink a:visited {color:#7E5C31; text-decoration: none; font-weight:bold; }
  54. p.unitlink a:hover {text-decoration: underline; font-weight:bold; }
  55. p.unitlink a:active {text-decoration: underline; font-weight:bold; }
  56. tr.list { background: #FFBF44; }
  57. tr.list2 { background: #FFC982; }
  58. tr.listheader { background: #C91E0C; color: white; }
  59. table.wide_list { border-spacing:2px; width:100%; }
  60. table.wide_list td { vertical-align:top; padding:4px; }
  61. table.markerlegend { width:auto; }
  62. table.markerlegend td.legendmarker { text-align:center; }
  63. table.sections { background:white; }
  64. table.sections td {background:lightgray; }
  65. table.summary td.itemcode { width:100%; }
  66. table.detail td.itemcode { width:100%; }
  67. td.itemname {white-space:nowrap; }
  68. td.itemunit {white-space:nowrap; }
  69. td.itemdesc { width:100%; }
  70. div.nodescription { color:red; }
  71. dl.parameters dt { color:blue; }
  72. /* Various browsers have various default styles for <h6>,
  73. sometimes ugly for our purposes, so it's best to set things
  74. like font-size and font-weight in out pasdoc.css explicitly. */
  75. h6.description_section {
  76. /* font-size 100% means that it has the same font size as the
  77. parent element, i.e. normal description text */
  78. font-size: 100%;
  79. font-weight: bold;
  80. /* By default browsers usually have some large margin-bottom and
  81. margin-top for <h1-6> tags. In our case, margin-bottom is
  82. unnecessary, we want to visually show that description_section
  83. is closely related to content below. In this situation
  84. (where the font size is just as a normal text), smaller bottom
  85. margin seems to look good. */
  86. margin-bottom: 0em;
  87. }
  88. /* Style applied to Pascal code in documentation
  89. (e.g. produced by @longcode tag) } */
  90. span.pascal_string { color: #000080; }
  91. span.pascal_keyword { font-weight: bolder; }
  92. span.pascal_comment { color: #000080; font-style: italic; }
  93. span.pascal_compiler_comment { color: #008000; }
  94. span.pascal_numeric { }
  95. span.pascal_hex { }
  96. p.hint_directive { color: red; }
  97. input#search_text { }
  98. input#search_submit_button { }
  99. acronym.mispelling { background-color: #ffa; }
  100. /* Actually this reduces vertical space between *every* paragraph
  101. inside list with @itemSpacing(compact).
  102. While we would like to reduce this space only for the
  103. top of 1st and bottom of last paragraph within each list item.
  104. But, well, user probably will not do any paragraph breaks
  105. within a list with @itemSpacing(compact) anyway, so it's
  106. acceptable solution. */
  107. ul.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
  108. ol.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
  109. dl.compact_spacing p { margin-top: 0em; margin-bottom: 0em; }
  110. /* Style for table created by @table tags:
  111. just some thin border.
  112. This way we have some borders around the cells
  113. (so cells are visibly separated), but the border
  114. "blends with the background" so it doesn't look too ugly.
  115. Hopefully it looks satisfactory in most cases and for most
  116. people.
  117. We add padding for cells, otherwise they look too close.
  118. This is normal thing to do when border-collapse is set to
  119. collapse (because this eliminates spacing between cells).
  120. */
  121. table.table_tag { border-collapse: collapse; }
  122. table.table_tag td { border: 1pt solid gray; padding: 0.3em; }
  123. table.table_tag th { border: 1pt solid gray; padding: 0.3em; }
  124. table.detail {
  125. border: 1pt solid gray;
  126. margin-top: 0.3em;
  127. margin-bottom: 0.3em;
  128. }
  129. .search-form { white-space: nowrap; }
  130. .search-input, .search-button { display: inline-block; vertical-align: middle; }
  131. /* Do not make extra vertical space at the beginning/end of table cells.
  132. We need ">" selector, to not change paragraphs inside lists inside
  133. table cells. */
  134. table.table_tag td > p:first-child,
  135. table.table_tag th > p:first-child,
  136. td.itemdesc > p:first-child { margin-top: 0em; }
  137. table.table_tag td > p:last-child,
  138. table.table_tag th > p:last-child,
  139. td.itemdesc > p:last-child { margin-bottom: 0em; }