boostbook.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. th
  2. {
  3. font-weight: bold;
  4. text-align: center;
  5. }
  6. a img{ border: 0.1em solid black; }
  7. .title, .refnamediv h2, .standalone-title
  8. {
  9. font-weight: bold;
  10. font-size: 2pc;
  11. font-family: Times New Roman;
  12. margin-bottom: 1pc;
  13. }
  14. .toc
  15. {
  16. margin-left: 15%;
  17. margin-right: 15%;
  18. margin-top: 1pc;
  19. margin-bottom: 0pc;
  20. padding: 0.5pc;
  21. }
  22. .boost-toc
  23. {
  24. float: right;
  25. padding: 0.5pc;
  26. }
  27. .spirit-nav
  28. {
  29. text-align: right;
  30. }
  31. .spirit-nav a
  32. {
  33. padding-left: 0.5em;
  34. }
  35. div pre.programlisting, .refsynopsisdiv
  36. {
  37. margin-left: 3pc;
  38. margin-right: 3pc;
  39. }
  40. .computeroutput, .command
  41. {
  42. font-family: Lucida Console;
  43. font-size: 80%;
  44. }
  45. .title, .refnamediv h2
  46. {
  47. text-align: center;
  48. }
  49. .section .section .title, .chapter .section .title, .table .title
  50. {
  51. text-align: left;
  52. }
  53. .informaltable table
  54. {
  55. width: 100%;
  56. }
  57. i.firstterm
  58. {
  59. font-style: normal;
  60. font-weight: bold;
  61. }
  62. /* tone down the title of Parameter lists */
  63. div.variablelist p.title
  64. {
  65. font-weight: bold;
  66. font-size: 100%;
  67. text-align: left;
  68. background-color: white;
  69. }
  70. /* tabularize parameter lists */
  71. div.variablelist dl dt
  72. {
  73. float: left;
  74. clear: left;
  75. font-style: italic;
  76. }
  77. div.variablelist dl dd
  78. {
  79. padding-left: 8pc;
  80. }
  81. @media screen
  82. {
  83. a{ color: blue; }
  84. th, .title, .refnamediv h2
  85. {
  86. background-color: lightskyblue;
  87. }
  88. span.title
  89. {
  90. background-color: white;
  91. font-size: 100%;
  92. font-weight: normal;
  93. }
  94. .section .section .title, .chapter .section .title, .table .title
  95. {
  96. background-color: white;
  97. }
  98. .table table, div.informaltable table, .section-title
  99. {
  100. background-color: #EEE;
  101. }
  102. .table table tr td, div.informaltable table tr td
  103. {
  104. background-color: #CCC;
  105. }
  106. .programlisting, .table-programlisting
  107. {
  108. background-color: #EED;
  109. border: 0.2em ridge #EED;
  110. padding: 1pc;
  111. }
  112. .refsynopsisdiv
  113. {
  114. background-color: lightskyblue;
  115. border: 0.2em ridge cyan;
  116. padding: 1pc;
  117. font-family: Courier, Lucida Console;
  118. }
  119. .boost-head
  120. {
  121. background-color: #007F7F;
  122. border: 0.1em outset #007F7F;
  123. }
  124. .toc, .boost-toc
  125. {
  126. background-color: #DDD;
  127. border: 0.2em ridge lightcoral;
  128. }
  129. table.boost-head tr td
  130. {
  131. border: 0.1em inset #007F7F;
  132. }
  133. .boost-headelem
  134. {
  135. color: white;
  136. font-family: Arial;
  137. font-weight: bold;
  138. }
  139. }
  140. @media print
  141. {
  142. body{ text-align: justify; }
  143. a{ color: black; }
  144. table{ border: 0pc; }
  145. .boost-head, table.boost-head tr td
  146. {
  147. border: 0em;
  148. }
  149. .toc{ border: 0.2em solid black; }
  150. .table tr td, .table tr th
  151. {
  152. border: 0.1em solid black;
  153. }
  154. }
粤ICP备19079148号