mock平台

defaultTheme.css 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. @charset "UTF-8";
  2. html,
  3. body,
  4. h1,
  5. h2,
  6. h3,
  7. h4,
  8. h5,
  9. h6,
  10. p,
  11. blockquote {
  12. margin: 0;
  13. padding: 0;
  14. font-weight: normal;
  15. -webkit-font-smoothing: antialiased;
  16. }
  17. /* 设置滚动条的样式 */
  18. ::-webkit-scrollbar {
  19. width: 6px;
  20. }
  21. /* 外层轨道 */
  22. ::-webkit-scrollbar-track {
  23. -webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
  24. background: rgba(0, 0, 0, 0.1);
  25. }
  26. /* 滚动条滑块 */
  27. ::-webkit-scrollbar-thumb {
  28. border-radius: 4px;
  29. background: rgba(0, 0, 0, 0.2);
  30. -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
  31. }
  32. ::-webkit-scrollbar-thumb:window-inactive {
  33. background: rgba(0, 0, 0, 0.2);
  34. }
  35. body {
  36. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
  37. font-size: 13px;
  38. line-height: 25px;
  39. color: #393838;
  40. position: relative;
  41. }
  42. table {
  43. margin: 10px 0 15px 0;
  44. border-collapse: collapse;
  45. }
  46. td,
  47. th {
  48. border: 1px solid #ddd;
  49. padding: 3px 10px;
  50. }
  51. th {
  52. padding: 5px 10px;
  53. }
  54. a, a:link, a:visited {
  55. color: #34495e;
  56. text-decoration: none;
  57. }
  58. a:hover, a:focus {
  59. color: #59d69d;
  60. text-decoration: none;
  61. }
  62. a img {
  63. border: none;
  64. }
  65. p {
  66. padding-left: 10px;
  67. margin-bottom: 9px;
  68. }
  69. h1,
  70. h2,
  71. h3,
  72. h4,
  73. h5,
  74. h6 {
  75. color: #404040;
  76. line-height: 36px;
  77. }
  78. h1 {
  79. color: #2c3e50;
  80. font-weight: 600;
  81. margin-bottom: 16px;
  82. font-size: 32px;
  83. padding-bottom: 16px;
  84. border-bottom: 1px solid #ddd;
  85. line-height: 50px;
  86. }
  87. h2 {
  88. font-size: 28px;
  89. padding-top: 10px;
  90. padding-bottom: 10px;
  91. }
  92. h3 {
  93. clear: both;
  94. font-weight: 400;
  95. margin-top: 20px;
  96. margin-bottom: 20px;
  97. border-left: 3px solid #59d69d;
  98. padding-left: 8px;
  99. font-size: 18px;
  100. }
  101. h4 {
  102. font-size: 16px;
  103. }
  104. h5 {
  105. font-size: 14px;
  106. }
  107. h6 {
  108. font-size: 13px;
  109. }
  110. hr {
  111. margin: 0 0 19px;
  112. border: 0;
  113. border-bottom: 1px solid #ccc;
  114. }
  115. blockquote {
  116. padding: 13px 13px 21px 15px;
  117. margin-bottom: 18px;
  118. font-family: georgia, serif;
  119. font-style: italic;
  120. }
  121. blockquote:before {
  122. font-size: 40px;
  123. margin-left: -10px;
  124. font-family: georgia, serif;
  125. color: #eee;
  126. }
  127. blockquote p {
  128. font-size: 14px;
  129. font-weight: 300;
  130. line-height: 18px;
  131. margin-bottom: 0;
  132. font-style: italic;
  133. }
  134. code,
  135. pre {
  136. font-family: Monaco, Andale Mono, Courier New, monospace;
  137. }
  138. code {
  139. background-color: #fee9cc;
  140. color: rgba(0, 0, 0, 0.75);
  141. padding: 1px 3px;
  142. font-size: 12px;
  143. -webkit-border-radius: 3px;
  144. -moz-border-radius: 3px;
  145. border-radius: 3px;
  146. }
  147. pre {
  148. display: block;
  149. padding: 14px;
  150. margin: 0 0 18px;
  151. line-height: 16px;
  152. font-size: 11px;
  153. border: 1px solid #d9d9d9;
  154. white-space: pre-wrap;
  155. word-wrap: break-word;
  156. background: #f6f6f6;
  157. }
  158. pre code {
  159. background-color: #f6f6f6;
  160. color: #737373;
  161. font-size: 11px;
  162. padding: 0;
  163. }
  164. sup {
  165. font-size: 0.83em;
  166. vertical-align: super;
  167. line-height: 0;
  168. }
  169. * {
  170. -webkit-print-color-adjust: exact;
  171. }
  172. @media print {
  173. body,
  174. code,
  175. pre code,
  176. h1,
  177. h2,
  178. h3,
  179. h4,
  180. h5,
  181. h6 {
  182. color: black;
  183. }
  184. table,
  185. pre {
  186. page-break-inside: avoid;
  187. }
  188. }
  189. html,
  190. body {
  191. height: 100%;
  192. }
  193. .table-of-contents {
  194. position: fixed;
  195. top: 61px;
  196. left: 0;
  197. bottom: 0;
  198. overflow-x: hidden;
  199. overflow-y: auto;
  200. width: 260px;
  201. }
  202. .table-of-contents > ul > li > a {
  203. font-size: 20px;
  204. margin-bottom: 16px;
  205. margin-top: 16px;
  206. }
  207. .table-of-contents ul {
  208. overflow: auto;
  209. margin: 0px;
  210. height: 100%;
  211. padding: 0px 0px;
  212. box-sizing: border-box;
  213. list-style-type: none;
  214. }
  215. .table-of-contents ul li {
  216. padding-left: 20px;
  217. }
  218. .table-of-contents a {
  219. padding: 2px 0px;
  220. display: block;
  221. text-decoration: none;
  222. }
  223. .content-right {
  224. max-width: 700px;
  225. margin-left: 290px;
  226. padding-left: 70px;
  227. flex-grow: 1;
  228. }
  229. .content-right h2:target {
  230. padding-top: 80px;
  231. }
  232. body > p {
  233. margin-left: 30px;
  234. }
  235. body > table {
  236. margin-left: 30px;
  237. }
  238. body > pre {
  239. margin-left: 30px;
  240. }
  241. .curProject {
  242. position: fixed;
  243. top: 20px;
  244. font-size: 25px;
  245. color: black;
  246. margin-left: -240px;
  247. width: 240px;
  248. padding: 5px;
  249. line-height: 25px;
  250. box-sizing: border-box;
  251. }
  252. .g-doc {
  253. margin-top: 56px;
  254. padding-top: 24px;
  255. display: flex;
  256. }
  257. .curproject-name {
  258. font-size: 42px;
  259. }
  260. .m-header {
  261. background: #32363a;
  262. height: 56px;
  263. line-height: 56px;
  264. padding-left: 60px;
  265. display: flex;
  266. align-items: center;
  267. position: fixed;
  268. z-index: 9;
  269. top: 0;
  270. left: 0;
  271. right: 0;
  272. }
  273. .m-header .title {
  274. font-size: 22px;
  275. color: #fff;
  276. font-weight: normal;
  277. -webkit-font-smoothing: antialiased;
  278. margin: 0;
  279. margin-left: 16px;
  280. padding: 0;
  281. line-height: 56px;
  282. border: none;
  283. }
  284. .m-header .nav {
  285. color: #fff;
  286. font-size: 16px;
  287. position: absolute;
  288. right: 32px;
  289. top: 0;
  290. }
  291. .m-header .nav a {
  292. color: #fff;
  293. margin-left: 16px;
  294. padding: 8px;
  295. transition: color .2s;
  296. }
  297. .m-header .nav a:hover {
  298. color: #59d69d;
  299. }
  300. .m-footer {
  301. border-top: 1px solid #ddd;
  302. padding-top: 16px;
  303. padding-bottom: 16px;
  304. }
  305. /*# sourceMappingURL=defaultTheme.css.map */