boostbook.css 2.3 KB

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