docutils.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /*
  2. :Authors: Ian Bicking, Michael Foord
  3. :Contact: fuzzyman@voidspace.org.uk
  4. :Date: 2005/08/26
  5. :Version: 0.1.0
  6. :Copyright: This stylesheet has been placed in the public domain.
  7. Stylesheet for Docutils.
  8. Based on ``blue_box.css`` by Ian Bicking
  9. and ``default.css`` revision 3442
  10. */
  11. @import url(default.css);
  12. @import url(pygments.css);
  13. body {
  14. font-family: Arial, sans-serif;
  15. }
  16. em, i {
  17. /* Typically serif fonts have much nicer italics */
  18. font-family: Times New Roman, Times, serif;
  19. }
  20. a.target {
  21. color: blue;
  22. }
  23. a.toc-backref {
  24. text-decoration: none;
  25. color: black;
  26. }
  27. a.toc-backref:hover {
  28. background-color: inherit;
  29. }
  30. a:hover {
  31. background-color: #cccccc;
  32. }
  33. div.attention, div.caution, div.danger, div.error, div.hint,
  34. div.important, div.note, div.tip, div.warning {
  35. background-color: #cccccc;
  36. padding: 3px;
  37. width: 80%;
  38. }
  39. div.admonition p.admonition-title, div.hint p.admonition-title,
  40. div.important p.admonition-title, div.note p.admonition-title,
  41. div.tip p.admonition-title {
  42. text-align: center;
  43. background-color: #999999;
  44. display: block;
  45. margin: 0;
  46. }
  47. div.attention p.admonition-title, div.caution p.admonition-title,
  48. div.danger p.admonition-title, div.error p.admonition-title,
  49. div.warning p.admonition-title {
  50. color: #cc0000;
  51. font-family: sans-serif;
  52. text-align: center;
  53. background-color: #999999;
  54. display: block;
  55. margin: 0;
  56. }
  57. h1, h2, h3, h4, h5, h6 {
  58. font-family: Helvetica, Arial, sans-serif;
  59. border: thin solid black;
  60. /* This makes the borders rounded on Mozilla, which pleases me */
  61. -moz-border-radius: 8px;
  62. padding: 4px;
  63. }
  64. h1 {
  65. background-color: #444499;
  66. color: #ffffff;
  67. border: medium solid black;
  68. }
  69. h1 a.toc-backref, h2 a.toc-backref {
  70. color: #ffffff;
  71. }
  72. h2 {
  73. background-color: #666666;
  74. color: #ffffff;
  75. border: medium solid black;
  76. }
  77. h3, h4, h5, h6 {
  78. background-color: #cccccc;
  79. color: #000000;
  80. }
  81. h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
  82. h6 a.toc-backref {
  83. color: #000000;
  84. }
  85. h1.title {
  86. text-align: center;
  87. background-color: #444499;
  88. color: #eeeeee;
  89. border: thick solid black;
  90. -moz-border-radius: 20px;
  91. }
  92. table.footnote {
  93. padding-left: 0.5ex;
  94. }
  95. table.citation {
  96. padding-left: 0.5ex
  97. }
  98. pre.literal-block, pre.doctest-block {
  99. border: thin black solid;
  100. padding: 5px;
  101. }
  102. .image img { border-style : solid;
  103. border-width : 2px;
  104. }
  105. img.align-center {
  106. display: block;
  107. margin: auto;
  108. text-align: center;
  109. }
  110. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  111. font-size: 100%;
  112. }
  113. code, tt {
  114. color: #000066;
  115. }