theme-default.print.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. /* Copied from https://github.com/slatedocs/slate/blob/c4b4c0b8f83e891ca9fab6bbe9a1a88d5fe41292/stylesheets/print.css and unminified */
  2. /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
  3. html {
  4. font-family: sans-serif;
  5. -ms-text-size-adjust: 100%;
  6. -webkit-text-size-adjust: 100%
  7. }
  8. body {
  9. margin: 0
  10. }
  11. article,
  12. aside,
  13. details,
  14. figcaption,
  15. figure,
  16. footer,
  17. header,
  18. hgroup,
  19. main,
  20. menu,
  21. nav,
  22. section,
  23. summary {
  24. display: block
  25. }
  26. audio,
  27. canvas,
  28. progress,
  29. video {
  30. display: inline-block;
  31. vertical-align: baseline
  32. }
  33. audio:not([controls]) {
  34. display: none;
  35. height: 0
  36. }
  37. [hidden],
  38. template {
  39. display: none
  40. }
  41. a {
  42. background-color: transparent
  43. }
  44. a:active,
  45. a:hover {
  46. outline: 0
  47. }
  48. abbr[title] {
  49. border-bottom: 1px dotted
  50. }
  51. b,
  52. strong {
  53. font-weight: bold
  54. }
  55. dfn {
  56. font-style: italic
  57. }
  58. h1 {
  59. font-size: 2em;
  60. margin: 0.67em 0
  61. }
  62. mark {
  63. background: #ff0;
  64. color: #000
  65. }
  66. small {
  67. font-size: 80%
  68. }
  69. sub,
  70. sup {
  71. font-size: 75%;
  72. line-height: 0;
  73. position: relative;
  74. vertical-align: baseline
  75. }
  76. sup {
  77. top: -0.5em
  78. }
  79. sub {
  80. bottom: -0.25em
  81. }
  82. img {
  83. border: 0
  84. }
  85. svg:not(:root) {
  86. overflow: hidden
  87. }
  88. figure {
  89. margin: 1em 40px
  90. }
  91. hr {
  92. box-sizing: content-box;
  93. height: 0
  94. }
  95. pre {
  96. overflow: auto
  97. }
  98. code,
  99. kbd,
  100. pre,
  101. samp {
  102. font-family: monospace, monospace;
  103. font-size: 1em
  104. }
  105. button,
  106. input,
  107. optgroup,
  108. select,
  109. textarea {
  110. color: inherit;
  111. font: inherit;
  112. margin: 0
  113. }
  114. button {
  115. overflow: visible
  116. }
  117. button,
  118. select {
  119. text-transform: none
  120. }
  121. button,
  122. html input[type="button"],
  123. input[type="reset"],
  124. input[type="submit"] {
  125. -webkit-appearance: button;
  126. cursor: pointer
  127. }
  128. button[disabled],
  129. html input[disabled] {
  130. cursor: default
  131. }
  132. button::-moz-focus-inner,
  133. input::-moz-focus-inner {
  134. border: 0;
  135. padding: 0
  136. }
  137. input {
  138. line-height: normal
  139. }
  140. input[type="checkbox"],
  141. input[type="radio"] {
  142. box-sizing: border-box;
  143. padding: 0
  144. }
  145. input[type="number"]::-webkit-inner-spin-button,
  146. input[type="number"]::-webkit-outer-spin-button {
  147. height: auto
  148. }
  149. input[type="search"] {
  150. -webkit-appearance: textfield;
  151. box-sizing: content-box
  152. }
  153. input[type="search"]::-webkit-search-cancel-button,
  154. input[type="search"]::-webkit-search-decoration {
  155. -webkit-appearance: none
  156. }
  157. fieldset {
  158. border: 1px solid #c0c0c0;
  159. margin: 0 2px;
  160. padding: 0.35em 0.625em 0.75em
  161. }
  162. legend {
  163. border: 0;
  164. padding: 0
  165. }
  166. textarea {
  167. overflow: auto
  168. }
  169. optgroup {
  170. font-weight: bold
  171. }
  172. table {
  173. border-collapse: collapse;
  174. border-spacing: 0
  175. }
  176. td,
  177. th {
  178. padding: 0
  179. }
  180. .content h1,
  181. .content h2,
  182. .content h3,
  183. .content h4,
  184. body {
  185. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  186. font-size: 14px
  187. }
  188. .content h1,
  189. .content h2,
  190. .content h3,
  191. .content h4 {
  192. font-weight: bold
  193. }
  194. .content pre,
  195. .content code {
  196. font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
  197. font-size: 12px;
  198. line-height: 1.5
  199. }
  200. .content pre,
  201. .content code {
  202. word-break: break-all;
  203. -webkit-hyphens: auto;
  204. -ms-hyphens: auto;
  205. hyphens: auto
  206. }
  207. @font-face {
  208. font-family: 'slate';
  209. src: url(../fonts/slate.eot?-syv14m);
  210. src: url(../fonts/slate.eot?#iefix-syv14m) format("embedded-opentype"), url(../fonts/slate.woff2?-syv14m) format("woff2"), url(../fonts/slate.woff?-syv14m) format("woff"), url(../fonts/slate.ttf?-syv14m) format("truetype"), url(../fonts/slate.svg?-syv14m#slate) format("svg");
  211. font-weight: normal;
  212. font-style: normal
  213. }
  214. .content aside.warning:before,
  215. .content aside.notice:before,
  216. .content aside.success:before {
  217. font-family: 'slate';
  218. speak: none;
  219. font-style: normal;
  220. font-weight: normal;
  221. font-variant: normal;
  222. text-transform: none;
  223. line-height: 1
  224. }
  225. .content aside.warning:before {
  226. content: "\e600"
  227. }
  228. .content aside.notice:before {
  229. content: "\e602"
  230. }
  231. .content aside.success:before {
  232. content: "\e606"
  233. }
  234. .tocify,
  235. .toc-footer,
  236. .lang-selector,
  237. .search,
  238. #nav-button {
  239. display: none
  240. }
  241. .tocify-wrapper>img {
  242. margin: 0 auto;
  243. display: block
  244. }
  245. .content {
  246. font-size: 12px
  247. }
  248. .content pre,
  249. .content code {
  250. border: 1px solid #999;
  251. border-radius: 5px;
  252. font-size: 0.8em
  253. }
  254. .content pre code {
  255. border: 0
  256. }
  257. .content pre {
  258. padding: 1.3em
  259. }
  260. .content code {
  261. padding: 0.2em
  262. }
  263. .content table {
  264. border: 1px solid #999
  265. }
  266. .content table tr {
  267. border-bottom: 1px solid #999
  268. }
  269. .content table td,
  270. .content table th {
  271. padding: 0.7em
  272. }
  273. .content p {
  274. line-height: 1.5
  275. }
  276. .content a {
  277. text-decoration: none;
  278. color: #000
  279. }
  280. .content h1 {
  281. font-size: 2.5em;
  282. padding-top: 0.5em;
  283. padding-bottom: 0.5em;
  284. margin-top: 1em;
  285. margin-bottom: 21px;
  286. border: 2px solid #ccc;
  287. border-width: 2px 0;
  288. text-align: center
  289. }
  290. .content h2 {
  291. font-size: 1.8em;
  292. margin-top: 2em;
  293. border-top: 2px solid #ccc;
  294. padding-top: 0.8em
  295. }
  296. .content h1+h2,
  297. .content h1+div+h2 {
  298. border-top: none;
  299. padding-top: 0;
  300. margin-top: 0
  301. }
  302. .content h3,
  303. .content h4 {
  304. font-size: 0.8em;
  305. margin-top: 1.5em;
  306. margin-bottom: 0.8em;
  307. text-transform: uppercase
  308. }
  309. .content h5,
  310. .content h6 {
  311. text-transform: uppercase
  312. }
  313. .content aside {
  314. padding: 1em;
  315. border: 1px solid #ccc;
  316. border-radius: 5px;
  317. margin-top: 1.5em;
  318. margin-bottom: 1.5em;
  319. line-height: 1.6
  320. }
  321. .content aside:before {
  322. vertical-align: middle;
  323. padding-right: 0.5em;
  324. font-size: 14px
  325. }