/ddoc/candydoc/style.css

http://github.com/baryluk/cords · CSS · 169 lines · 100 code · 23 blank · 46 comment · 0 complexity · 8667a104cce56d08c3505ea7eaf594af MD5 · raw file

  1. /* This file is a part of CanDyDOC fileset.
  2. File is written by Victor Nakoryakov and placed into the public domain.
  3. This file is main CSS file of CanDyDOC. You may adjust some part of
  4. parameters to control how result documentation would looks like. See
  5. further documentation for details. */
  6. /* This controls how background would looks like and
  7. sets some document-scope defaults. */
  8. body
  9. {
  10. /* These parameters control default font. */
  11. font-family: Verdana, Arial, Helvetica, sans-serif;
  12. font-size: 10pt;
  13. color: #666666;
  14. /* These control look of background. Note that you have to use
  15. fixed background to keep documentation good-looking in
  16. IE6 and earlier. Otherwise whole *explorer* will jerk while
  17. scrolling. If you do not want to use background at all use
  18. some invalid url, e.g. url(foo). */
  19. background-color: #e6fcea;
  20. background: url(img/bg.gif) fixed;
  21. /* Don't touch. Necessary for IE6 and earlier. */
  22. height: 100%;
  23. }
  24. /* Style applied to all tables. Actualy there are two: one table is
  25. that contains contant and footer with CanDyDOC logo, and others
  26. are that contains functions' parameters description. */
  27. table
  28. {
  29. font-family: Verdana, Arial, Helvetica, sans-serif;
  30. font-size: 10pt;
  31. color: #666666;
  32. text-align: justify;
  33. }
  34. /* Style used for all hyperlinks. */
  35. a:link { color: #009900; text-decoration: none }
  36. a:visited { color: #009999; text-decoration: none }
  37. a:hover { color: #0033cc; text-decoration: none }
  38. a:active { color: #0033cc; text-decoration: none }
  39. /*
  40. table.matrix
  41. {
  42. border-left: double 3px #666666;
  43. border-right: double 3px #666666;
  44. margin-left: 3em;
  45. }
  46. */
  47. /* Style appled to declarations. E.g. 'void foo(int a, float b);' */
  48. span.decl { font-size: 10pt; font-weight: bold; color: #000000; text-align: left }
  49. /* Style appled to current declaration's symbol. E.g. 'foo' in 'void foo(int a, float b);' */
  50. span.currsymbol { font-size: 12pt; color: #009900 }
  51. /* Style appled to function's parameters. E.g. 'a' and 'b' in 'void foo(int a, float b);' */
  52. span.funcparam { font-style: italic; font-weight: normal; color: #331200 }
  53. /* Style for div that actualy contains documenation. */
  54. #content
  55. {
  56. padding-right: 8px;
  57. position: absolute;
  58. left: 245px;
  59. top: 8px;
  60. text-align: justify;
  61. }
  62. /* Style for table that is inside div considered above. Contains documentaton
  63. itself and footer with CanDyDOC logo. */
  64. table.content
  65. {
  66. margin-bottom: 8px;
  67. border-spacing: 0px;
  68. border-collapse: collapse;
  69. background-color: #ffffff;
  70. }
  71. /* Style for cell of above considered table that contains documentation itself. */
  72. #docbody
  73. {
  74. padding: 8px 20px 8px 20px;
  75. border: solid 1px #009900;
  76. }
  77. /* Style for cell that contains CanDyDOC logo. */
  78. #docfooter
  79. {
  80. height: 16px;
  81. background-color: #ddeedd;
  82. padding: 0px 8px 0px 8px;
  83. border: solid 1px #009900;
  84. }
  85. /* Style applied to currently active tab of explorer window. */
  86. span.activetab
  87. {
  88. background-color: #0033cc;
  89. border-top: solid 2px #009900;
  90. color: #ffffff;
  91. font-weight: bold;
  92. padding-left: 4px;
  93. padding-right: 4px;
  94. padding-top: 1px;
  95. margin-right: 1px;
  96. }
  97. /* Style applied to currently inactive tab of explorer window. */
  98. span.inactivetab
  99. {
  100. background-color: #000066;
  101. color: #cccccc;
  102. font-weight: normal;
  103. padding-left: 4px;
  104. padding-right: 4px;
  105. padding-top: 0px;
  106. margin-right: 1px;
  107. }
  108. /* Style applied to div that contains tabs of explorer. Note that if
  109. you want to change it's position you have to change position of
  110. #explorerclient, #content and corresponding values in ie56hack.css */
  111. #tabarea
  112. {
  113. position: fixed;
  114. top: 8px;
  115. width: 205px;
  116. height: 16px;
  117. cursor: default;
  118. }
  119. /* Style applied to div that contains tree in explorer. Note that if
  120. you want to change it's position you have to change position of
  121. #tabarea, #content and corresponding values in ie56hack.css */
  122. #explorerclient
  123. {
  124. position: fixed;
  125. top: 24px;
  126. bottom: 8px;
  127. width: 205px;
  128. overflow: auto;
  129. background-color: #fcfffc;
  130. border: solid 2px #0033cc;
  131. padding: 4px;
  132. cursor: default;
  133. color: Black;
  134. }
  135. /* Following 3 styles control appearance of marker that appears
  136. if you click some entity in outline window. */
  137. div.markertop { border-left: solid 2px #0033cc;}
  138. div.markermiddle{ border-left: dotted 2px #0033cc;}
  139. div.markerbottom{ border-left: dotted 2px #66cc66;}
  140. /* Style applied to preformated text used to show examples. */
  141. pre.d_code
  142. {
  143. border: dotted 1px #9c9;
  144. background-color: #eeffee;
  145. }