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.

rdoc-style.css 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. body {
  2. font-family: Verdana,Arial,Helvetica,sans-serif;
  3. font-size: 90%;
  4. margin: 0;
  5. margin-left: 40px;
  6. padding: 0;
  7. background: white;
  8. }
  9. h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
  10. h1 { font-size: 150%; }
  11. h2,h3,h4 { margin-top: 1em; }
  12. a { background: #eef; color: #039; text-decoration: none; }
  13. a:hover { background: #039; color: #eef; }
  14. /* Override the base stylesheet's Anchor inside a table cell */
  15. td > a {
  16. background: transparent;
  17. color: #039;
  18. text-decoration: none;
  19. }
  20. /* and inside a section title */
  21. .section-title > a {
  22. background: transparent;
  23. color: #eee;
  24. text-decoration: none;
  25. }
  26. /* === Structural elements =================================== */
  27. div#index {
  28. margin: 0;
  29. margin-left: -40px;
  30. padding: 0;
  31. font-size: 90%;
  32. }
  33. div#index a {
  34. margin-left: 0.7em;
  35. }
  36. div#index .section-bar {
  37. margin-left: 0px;
  38. padding-left: 0.7em;
  39. background: #ccc;
  40. font-size: small;
  41. }
  42. div#classHeader, div#fileHeader {
  43. width: auto;
  44. color: white;
  45. padding: 0.5em 1.5em 0.5em 1.5em;
  46. margin: 0;
  47. margin-left: -40px;
  48. border-bottom: 3px solid #006;
  49. }
  50. div#classHeader a, div#fileHeader a {
  51. background: inherit;
  52. color: white;
  53. }
  54. div#classHeader td, div#fileHeader td {
  55. background: inherit;
  56. color: white;
  57. }
  58. div#fileHeader {
  59. background: #057;
  60. }
  61. div#classHeader {
  62. background: #048;
  63. }
  64. .class-name-in-header {
  65. font-size: 180%;
  66. font-weight: bold;
  67. }
  68. div#bodyContent {
  69. padding: 0 1.5em 0 1.5em;
  70. }
  71. div#description {
  72. padding: 0.5em 1.5em;
  73. background: #efefef;
  74. border: 1px dotted #999;
  75. }
  76. div#description h1,h2,h3,h4,h5,h6 {
  77. color: #125;;
  78. background: transparent;
  79. }
  80. div#validator-badges {
  81. text-align: center;
  82. }
  83. div#validator-badges img { border: 0; }
  84. div#copyright {
  85. color: #333;
  86. background: #efefef;
  87. font: 0.75em sans-serif;
  88. margin-top: 5em;
  89. margin-bottom: 0;
  90. padding: 0.5em 2em;
  91. }
  92. /* === Classes =================================== */
  93. table.header-table {
  94. color: white;
  95. font-size: small;
  96. }
  97. .type-note {
  98. font-size: small;
  99. color: #DEDEDE;
  100. }
  101. .xxsection-bar {
  102. background: #eee;
  103. color: #333;
  104. padding: 3px;
  105. }
  106. .section-bar {
  107. color: #333;
  108. border-bottom: 1px solid #999;
  109. margin-left: -20px;
  110. }
  111. .section-title {
  112. background: #79a;
  113. color: #eee;
  114. padding: 3px;
  115. margin-top: 2em;
  116. margin-left: -30px;
  117. border: 1px solid #999;
  118. }
  119. .top-aligned-row { vertical-align: top }
  120. .bottom-aligned-row { vertical-align: bottom }
  121. /* --- Context section classes ----------------------- */
  122. .context-row { }
  123. .context-item-name { font-family: monospace; font-weight: bold; color: black; }
  124. .context-item-value { font-size: small; color: #448; }
  125. .context-item-desc { color: #333; padding-left: 2em; }
  126. /* --- Method classes -------------------------- */
  127. .method-detail {
  128. background: #efefef;
  129. padding: 0;
  130. margin-top: 0.5em;
  131. margin-bottom: 1em;
  132. border: 1px dotted #ccc;
  133. }
  134. .method-heading {
  135. color: black;
  136. background: #ccc;
  137. border-bottom: 1px solid #666;
  138. padding: 0.2em 0.5em 0 0.5em;
  139. }
  140. .method-signature { color: black; background: inherit; }
  141. .method-name { font-weight: bold; }
  142. .method-args { font-style: italic; }
  143. .method-description { padding: 0 0.5em 0 0.5em; }
  144. /* --- Source code sections -------------------- */
  145. a.source-toggle { font-size: 90%; }
  146. div.method-source-code {
  147. background: #262626;
  148. color: #ffdead;
  149. margin: 1em;
  150. padding: 0.5em;
  151. border: 1px dashed #999;
  152. overflow: hidden;
  153. }
  154. div.method-source-code pre { color: #ffdead; overflow: hidden; }
  155. /* --- Ruby keyword styles --------------------- */
  156. .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
  157. .ruby-constant { color: #7fffd4; background: transparent; }
  158. .ruby-keyword { color: #00ffff; background: transparent; }
  159. .ruby-ivar { color: #eedd82; background: transparent; }
  160. .ruby-operator { color: #00ffee; background: transparent; }
  161. .ruby-identifier { color: #ffdead; background: transparent; }
  162. .ruby-node { color: #ffa07a; background: transparent; }
  163. .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
  164. .ruby-regexp { color: #ffa07a; background: transparent; }
  165. .ruby-value { color: #7fffd4; background: transparent; }