texinfo-bright-colors.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /* === === === === === === === === === === === === === === === === ===
  2. This file: texinfo-bright-colors.css
  3. Version: 1.01
  4. Date: September 17, 2010
  5. Author: Jaakko Hollmén, e-mail: Jaakko.Hollmen@tkk.fi
  6. The purpose of this cascading style sheet (CSS) style file named
  7. "texinfo-bright-colors.css" is to introduce several bright and
  8. contrasting colors for the structural elements of an HTML file.
  9. The primary focus of the CSS style is to observe the sturucture
  10. of HTML files created with Texinfo documentation system, more
  11. specifically texi2html.
  12. This is NOT a presentation style but a visualization of the
  13. structure of an HTML file through coloring of the elements. The
  14. style file may turn out to be useful for both developers of the
  15. HTML outputting tools and the Texinfo documentation writers who
  16. are interested in the outputted HTML structure.
  17. The coloring has been achieved by associating a background-color
  18. defined in the CSS file to important HTML elements. Minimal
  19. formatting has been done, except some expanded space has been
  20. introduced to horizontal rulers hr in order to make them more
  21. visible. There are margins around the document resembling a
  22. book-like presentation in the browser.
  23. This Cascading Style Sheet (CSS) file confroms to the CSS
  24. standard, level 2.1. You can validate the correctness of your
  25. own CSS style file or modification of the current CSS style file
  26. at the Web address: http://jigsaw.w3.org/css-validator/ by one
  27. the three input methods available.
  28. If you edit your already produced HTML file generated by hand,
  29. change the <style> .... </style> section in the header part of
  30. the HTML file with the following line:
  31. <link rel="stylesheet" href="texinfo-bright-colors.css">
  32. This line must be contained in the <header> ... </header>
  33. section of the HTML file. Alternatively, you can include the CSS
  34. style file when compiling as follows:
  35. texi2dvi --css-include=texinfo-bright-colors.css my-doc.texi
  36. Note: The output will be very colorful (!), you have been warned.
  37. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
  38. (c) Copyright, Jaakko Hollmén, Finland, Jaakko.Hollmen@tkk.fi
  39. September, 2010
  40. The current file "texinfo-bright-colors.css" is free software:
  41. you can redistribute it and/or modify it under the terms of the
  42. GNU General Public License as published by the Free Software
  43. Foundation, either version 3 of the License, or (at your option)
  44. any later version.
  45. The current file "texinfo-bright-colors.css" is distributed in
  46. the hope that it will be useful, but WITHOUT ANY WARRANTY;
  47. without even the implied warranty of MERCHANTABILITY or FITNESS
  48. FOR A PARTICULAR PURPOSE. See the GNU General Public License
  49. for more details.
  50. === === === === === === === === === === === === === === === === */
  51. body {
  52. margin: 30px 10% 30px 10%;
  53. background-color: white;
  54. }
  55. h1 {
  56. background-color: #FF0000;
  57. }
  58. h2 {
  59. background-color: #FF0066;
  60. }
  61. h3 {
  62. background-color: #FF00CC;
  63. }
  64. h4 {
  65. background-color: #FF33FF;
  66. }
  67. h5 {
  68. background-color: #FF99FF;
  69. }
  70. p {
  71. background-color: #B0B0B0;
  72. }
  73. blockquote {
  74. background-color: #FFCCFF;
  75. }
  76. div.shortcontents {
  77. background-color: #FF9900;
  78. }
  79. div.contents {
  80. background-color: #FF9900;
  81. }
  82. div.defun {
  83. background-color: #FF9900;
  84. }
  85. div.float {
  86. background-color: #FF9900;
  87. }
  88. div.footnote {
  89. background-color: #FF9900;
  90. }
  91. div.node {
  92. background-color: #FF9900;
  93. }
  94. ul {
  95. background-color: #FF9900;
  96. }
  97. ol {
  98. background-color: #CCFF33;
  99. }
  100. table {
  101. background-color: #FFFF00;
  102. }
  103. tr {
  104. background-color: #66FF00;
  105. }
  106. td {
  107. background-color: #66CC00;
  108. }
  109. dl {
  110. background-color: #00FF00;
  111. }
  112. dt {
  113. background-color: #66CC00;
  114. }
  115. dd {
  116. background-color: #00FFFF;
  117. }
  118. pre.display {
  119. background-color: #33CCFF;
  120. }
  121. pre.smalldisplay {
  122. background-color: #33CCFF;
  123. }
  124. pre.example {
  125. background-color: #33CCFF;
  126. }
  127. pre.smallexample {
  128. background-color: #33CCFF;
  129. }
  130. pre.format {
  131. background-color: #33CCFF;
  132. }
  133. pre.smallformat {
  134. background-color: #33CCFF;
  135. }
  136. pre.lisp {
  137. background-color: #33CCFF;
  138. }
  139. pre.smalllisp {
  140. background-color: #33CCFF;
  141. }
  142. pre.sp {
  143. background-color: #33CCFF;
  144. }
  145. pre.verbatim {
  146. background-color: #33CCFF;
  147. }
  148. code {
  149. background-color: #00FF00;
  150. }
  151. hr {
  152. background-color: #000000;
  153. padding-top: 0.2em;
  154. padding-bottom: 0.2em;
  155. }