2
0

pasdoc.css 5.1 KB

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