boostbook.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. @media screen
  63. {
  64. a{ color: blue; }
  65. th, .title, .refnamediv h2
  66. {
  67. background-color: lightskyblue;
  68. }
  69. .section .section .title, .chapter .section .title, .table .title
  70. {
  71. background-color: white;
  72. }
  73. .table table, div.informaltable table, .section-title
  74. {
  75. background-color: #EEE;
  76. }
  77. .table table tr td, div.informaltable table tr td
  78. {
  79. background-color: #CCC;
  80. }
  81. .programlisting, .table-programlisting
  82. {
  83. background-color: #EED;
  84. border: 0.2em ridge #EED;
  85. padding: 1pc;
  86. }
  87. .refsynopsisdiv
  88. {
  89. background-color: lightskyblue;
  90. border: 0.2em ridge cyan;
  91. padding: 1pc;
  92. font-family: Courier, Lucida Console;
  93. font-size: 80%;
  94. }
  95. .boost-head
  96. {
  97. background-color: #007F7F;
  98. border: 0.1em outset #007F7F;
  99. }
  100. .toc, .boost-toc
  101. {
  102. background-color: #DDD;
  103. border: 0.2em ridge lightcoral;
  104. }
  105. table.boost-head tr td
  106. {
  107. border: 0.1em inset #007F7F;
  108. }
  109. .boost-headelem
  110. {
  111. color: white;
  112. font-family: Arial;
  113. font-weight: bold;
  114. }
  115. }
  116. @media print
  117. {
  118. body{ text-align: justify; }
  119. a{ color: black; }
  120. table{ border: 0pc; }
  121. .boost-head, table.boost-head tr td
  122. {
  123. border: 0em;
  124. }
  125. .toc{ border: 0.2em solid black; }
  126. .table tr td, .table tr th
  127. {
  128. border: 0.1em solid black;
  129. }
  130. }
粤ICP备19079148号