style-blue.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. .doc-cont {
  2. margin: 0 0 0 60px;
  3. position: relative;
  4. h1 {
  5. font-size: 30px;
  6. font-weight: 700;
  7. margin: 10px 0 20px;
  8. color: #333333;
  9. }
  10. p {
  11. font-size: 14px;
  12. line-height: 1.8;
  13. margin: 10px 0;
  14. }
  15. h1 + p,
  16. h1 + p + p,
  17. h1 + p + p {
  18. color: #333333;
  19. }
  20. h2 {
  21. margin: 30px 0 15px;
  22. font-size: 22px;
  23. font-weight: 400;
  24. color: #333333;
  25. }
  26. h2 + p,
  27. h2 + p + p {
  28. color: #3f4449;
  29. }
  30. h3 {
  31. margin: 20px 0 10px;
  32. font-size: 18px;
  33. font-weight: 400;
  34. color: #333333;
  35. }
  36. h3 + p,
  37. h3 + p + p {
  38. color: #3f4449;
  39. }
  40. h4 {
  41. font-size: 14px;
  42. font-weight: normal;
  43. margin: 15px 0;
  44. color: #666666;
  45. }
  46. h4 + p,
  47. h4 + p + p,
  48. h4 + p + p + p {
  49. color: #666666;
  50. }
  51. h4 + p::nth-child(n) {
  52. color: #666666;
  53. }
  54. blockquote {
  55. padding: 0;
  56. margin: 0;
  57. margin-top: 10px;
  58. p {
  59. margin: 0;
  60. display: inline-block;
  61. background: rgba(83, 150, 255, 0.14);
  62. font-size: 14px;
  63. color: #333333;
  64. border-radius: 4px;
  65. text-decoration-style: none;
  66. border-left: 8px solid #5396ff;
  67. padding: 15px 54px 15px 22px;
  68. line-height: 1.5;
  69. overflow: hidden;
  70. font-style: normal;
  71. }
  72. }
  73. ul {
  74. border-radius: 3px;
  75. padding: 5px 20px 5px 0;
  76. list-style: none;
  77. p {
  78. margin: 0;
  79. }
  80. ul {
  81. margin: 0;
  82. padding: 0;
  83. }
  84. li {
  85. font-size: 14px;
  86. color: #455a64;
  87. padding: 7px;
  88. line-height: 20px;
  89. display: flex;
  90. align-items: center;
  91. }
  92. li:before {
  93. content: '';
  94. width: 6px;
  95. height: 6px;
  96. border: 1px solid #455a64;
  97. border-radius: 14px;
  98. margin-right: 12px;
  99. display: inline-block;
  100. }
  101. }
  102. ol {
  103. background: #f2f4f5;
  104. border-radius: 3px;
  105. padding: 13px 40px;
  106. li {
  107. line-height: 20px;
  108. padding: 7px 0 0 10px;
  109. font-size: 14px;
  110. color: #3f4449;
  111. }
  112. }
  113. ul,
  114. ol,
  115. p,
  116. table {
  117. em {
  118. color: #8cade9;
  119. font-style: normal;
  120. padding: 0 2px;
  121. }
  122. strong {
  123. display: inline-block;
  124. background: #f7f7f7;
  125. border: 1px solid #ececec;
  126. border-radius: 2px;
  127. font-size: 13px;
  128. line-height: 1;
  129. color: #3f536e;
  130. padding: 3px 5px;
  131. margin: 0 5px;
  132. }
  133. }
  134. table {
  135. width: 100%;
  136. border-collapse: collapse;
  137. th {
  138. background: #f7f7f7;
  139. border: 1px solid #e9e9e9;
  140. font-size: 14px;
  141. line-height: 1.5;
  142. color: #333333;
  143. height: 40px;
  144. padding: 0 20px 0 14px;
  145. }
  146. td {
  147. border: 1px solid #e9e9e9;
  148. font-size: 14px;
  149. line-height: 1.5;
  150. color: #3f4449;
  151. height: 50px;
  152. padding-left: 14px;
  153. }
  154. }
  155. hr {
  156. height: 1px;
  157. border-width: 0;
  158. background-color: #e7f0ff;
  159. }
  160. img[alt='full'] {
  161. width: 100%;
  162. }
  163. img[alt='flex'] {
  164. flex-shrink: 0;
  165. width: 50%;
  166. padding: 0 15px;
  167. flex-basis: auto;
  168. flex: 1;
  169. }
  170. p {
  171. font-size: 14px;
  172. white-space: unset;
  173. word-break: break-all;
  174. }
  175. a {
  176. color: #5396ff;
  177. text-decoration: none;
  178. &:hover {
  179. text-decoration: underline;
  180. }
  181. }
  182. }
  183. // 书签样式
  184. .markList {
  185. a {
  186. color: #666;
  187. }
  188. .cur {
  189. a {
  190. color: #5396ff;
  191. }
  192. }
  193. }