rst.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @import url("doc/src/boostbook.css");
  2. @import url("doc/src/docutils.css");
  3. /* Copyright David Abrahams 2006. Distributed under the Boost
  4. Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. dl.docutils dt {
  8. font-weight: bold }
  9. img.boost-logo {
  10. border: none;
  11. vertical-align: middle
  12. }
  13. pre.literal-block span.concept {
  14. font-style: italic;
  15. }
  16. .nav {
  17. display: inline;
  18. list-style-type: none;
  19. }
  20. .prevpage {
  21. padding-top: -5px;
  22. text-align: left;
  23. float: left;
  24. }
  25. .nextpage {
  26. padding-top: -20px;
  27. text-align: right;
  28. float: right;
  29. }
  30. div.small {
  31. font-size: smaller }
  32. h2 a {
  33. font-size: 90%;
  34. }
  35. h3 a {
  36. font-size: 80%;
  37. }
  38. h4 a {
  39. font-size: 70%;
  40. }
  41. h5 a {
  42. font-size: 60%;
  43. }
  44. dl,table
  45. {
  46. text-align: left;
  47. font-size: 10pt;
  48. line-height: 1.15;
  49. }
  50. /*=============================================================================
  51. Tables
  52. =============================================================================*/
  53. /* The only clue docutils gives us that tables are logically tables,
  54. and not, e.g., footnotes, is that they have border="1". Therefore
  55. we're keying off of that. We used to manually patch docutils to
  56. add a "table" class to all logical tables, but that proved much too
  57. fragile.
  58. */
  59. table[border="1"]
  60. {
  61. width: 92%;
  62. margin-left: 4%;
  63. margin-right: 4%;
  64. }
  65. table[border="1"]
  66. {
  67. padding: 4px;
  68. }
  69. /* Table Cells */
  70. table[border="1"] tr td
  71. {
  72. padding: 0.5em;
  73. text-align: left;
  74. font-size: 9pt;
  75. }
  76. table[border="1"] tr th
  77. {
  78. padding: 0.5em 0.5em 0.5em 0.5em;
  79. border: 1pt solid white;
  80. font-size: 80%;
  81. }
  82. @media screen
  83. {
  84. /* Tables */
  85. table[border="1"] tr td
  86. {
  87. border: 1px solid #DCDCDC;
  88. }
  89. table[border="1"] tr th
  90. {
  91. background-color: #F0F0F0;
  92. border: 1px solid #DCDCDC;
  93. }
  94. pre,
  95. .screen
  96. {
  97. border: 1px solid #DCDCDC;
  98. }
  99. td pre
  100. td .screen
  101. {
  102. border: 0px
  103. }
  104. .sidebar pre
  105. {
  106. border: 0px
  107. }
  108. }
  109. pre,
  110. .screen
  111. {
  112. font-size: 9pt;
  113. display: block;
  114. margin: 1pc 4% 0pc 4%;
  115. padding: 0.5pc 0.5pc 0.5pc 0.5pc;
  116. }
  117. /* Program listings in tables don't get borders */
  118. td pre,
  119. td .screen
  120. {
  121. margin: 0pc 0pc 0pc 0pc;
  122. padding: 0pc 0pc 0pc 0pc;
  123. }