1
0

epub.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, em, strong, b, u, i, pre, code, del, strike, abbr, acronym, address, q, cite, blockquote, big, small, sub, sup, tt, var, center, img, dfn, ins, kbd, s, samp, dl, dt, dd, ol, ul, li, fieldset, legend, label, table, caption, tbody, tfoot, thead, tr, th, td {
  2. margin: 0;
  3. padding: 0;
  4. border: 0;
  5. outline: 0;
  6. font-size: 100%;
  7. vertical-align: baseline;
  8. background: transparent;
  9. }
  10. @page {
  11. margin: 5px;
  12. }
  13. p {
  14. margin-bottom: 9px;
  15. line-height: 1.4;
  16. }
  17. a {
  18. color: #0069d6;
  19. }
  20. a:hover {
  21. color: #0050a3;
  22. text-decoration: none;
  23. }
  24. a img {
  25. border: none;
  26. }
  27. h1, h2, h3, h4, h5, h6 {
  28. color: #404040;
  29. line-height: 1.5;
  30. margin: 1em 0 0.5em;
  31. -webkit-hyphens: none;
  32. hyphens: none;
  33. adobe-hyphenate: none;
  34. }
  35. h1 {
  36. font-size: 220%;
  37. margin-bottom: 1.5em;
  38. }
  39. h2 {
  40. font-size: 190%;
  41. }
  42. h3 {
  43. font-size: 160%;
  44. }
  45. h4 {
  46. font-size: 140%;
  47. }
  48. h5 {
  49. font-size: 130%;
  50. }
  51. h6 {
  52. font-size: 120%;
  53. }
  54. hr {
  55. margin: 0 0 19px;
  56. border: 0;
  57. border-bottom: 1px solid #ccc;
  58. }
  59. blockquote {
  60. padding: 13px 13px 21px 15px;
  61. margin-bottom: 18px;
  62. font-family: georgia, serif;
  63. font-style: italic;
  64. }
  65. blockquote:before {
  66. content: "\201C";
  67. font-size: 300%;
  68. margin-left: -10px;
  69. font-family: serif;
  70. color: #eee;
  71. }
  72. blockquote p {
  73. font-size: 120%;
  74. margin-bottom: 0;
  75. font-style: italic;
  76. }
  77. code, pre {
  78. font-family: monospace;
  79. }
  80. code {
  81. background-color: #fee9cc;
  82. color: rgba(0, 0, 0, 0.75);
  83. padding: 1px 3px;
  84. -webkit-border-radius: 5px;
  85. border-radius: 5px;
  86. font-size: 85%;
  87. }
  88. pre {
  89. display: block;
  90. padding: 14px;
  91. margin: 0 0 18px;
  92. font-size: 85%;
  93. line-height: 1.3;
  94. border: 1px solid #d9d9d9;
  95. white-space: pre-wrap;
  96. word-wrap: break-word;
  97. -webkit-hyphens: none;
  98. hyphens: none;
  99. adobe-hyphenate: none;
  100. }
  101. pre code {
  102. background-color: #fff;
  103. color: #737373;
  104. padding: 0;
  105. }
  106. code.sourceCode span.kw {
  107. color: #007020;
  108. font-weight: bold;
  109. }
  110. code.sourceCode span.dt {
  111. color: #902000;
  112. }
  113. code.sourceCode span.dv {
  114. color: #40a070;
  115. }
  116. code.sourceCode span.bn {
  117. color: #40a070;
  118. }
  119. code.sourceCode span.fl {
  120. color: #40a070;
  121. }
  122. code.sourceCode span.ch {
  123. color: #4070a0;
  124. }
  125. code.sourceCode span.st {
  126. color: #4070a0;
  127. }
  128. code.sourceCode span.co {
  129. color: #60a0b0;
  130. font-style: italic;
  131. }
  132. code.sourceCode span.ot {
  133. color: #007020;
  134. }
  135. code.sourceCode span.al {
  136. color: red;
  137. font-weight: bold;
  138. }
  139. code.sourceCode span.fu {
  140. color: #06287e;
  141. }
  142. code.sourceCode span.re {
  143. }
  144. code.sourceCode span.er {
  145. color: red;
  146. font-weight: bold;
  147. }
  148. body {
  149. font-family: serif;
  150. }