rst.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. @import url("doc/html/boostbook.css");
  2. @import url("doc/html/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. table.table
  54. {
  55. width: 92%;
  56. margin-left: 4%;
  57. margin-right: 4%;
  58. }
  59. table.table
  60. {
  61. padding: 4px;
  62. }
  63. /* Table Cells */
  64. table.table tr td
  65. {
  66. padding: 0.5em;
  67. text-align: left;
  68. font-size: 9pt;
  69. }
  70. table.table tr th
  71. {
  72. padding: 0.5em 0.5em 0.5em 0.5em;
  73. border: 1pt solid white;
  74. font-size: 80%;
  75. }
  76. @media screen
  77. {
  78. /* Tables */
  79. table.table tr td
  80. {
  81. border: 1px solid #DCDCDC;
  82. }
  83. table.table tr th
  84. {
  85. background-color: #F0F0F0;
  86. border: 1px solid #DCDCDC;
  87. }
  88. pre,
  89. .screen
  90. {
  91. border: 1px solid #DCDCDC;
  92. }
  93. td pre
  94. td .screen
  95. {
  96. border: 0px
  97. }
  98. .sidebar pre
  99. {
  100. border: 0px
  101. }
  102. }
  103. pre,
  104. .screen
  105. {
  106. font-size: 9pt;
  107. display: block;
  108. margin: 1pc 4% 0pc 4%;
  109. padding: 0.5pc 0.5pc 0.5pc 0.5pc;
  110. }
  111. /* Program listings in tables don't get borders */
  112. td pre,
  113. td .screen
  114. {
  115. margin: 0pc 0pc 0pc 0pc;
  116. padding: 0pc 0pc 0pc 0pc;
  117. }
粤ICP备19079148号