markdown_views.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. .hljs {
  2. display: block;
  3. padding: 0.5em;
  4. background: #fff;
  5. color: #000;
  6. }
  7. .hljs-comment,
  8. .hljs-template_comment,
  9. .hljs-javadoc,
  10. .hljs-comment * {
  11. color: #800;
  12. }
  13. .hljs-keyword,
  14. .method,
  15. .hljs-list .hljs-title,
  16. .clojure .hljs-built_in,
  17. .nginx .hljs-title,
  18. .hljs-tag .hljs-title,
  19. .setting .hljs-value,
  20. .hljs-winutils,
  21. .tex .hljs-command,
  22. .http .hljs-title,
  23. .hljs-request,
  24. .hljs-status {
  25. color: #008;
  26. }
  27. .hljs-envvar,
  28. .tex .hljs-special {
  29. color: #660;
  30. }
  31. .hljs-string,
  32. .hljs-tag .hljs-value,
  33. .hljs-cdata,
  34. .hljs-filter .hljs-argument,
  35. .hljs-attr_selector,
  36. .apache .hljs-cbracket,
  37. .hljs-date,
  38. .hljs-regexp,
  39. .coffeescript .hljs-attribute {
  40. color: #080;
  41. }
  42. .hljs-sub .hljs-identifier,
  43. .hljs-pi,
  44. .hljs-tag,
  45. .hljs-tag .hljs-keyword,
  46. .hljs-decorator,
  47. .ini .hljs-title,
  48. .hljs-shebang,
  49. .hljs-prompt,
  50. .hljs-hexcolor,
  51. .hljs-rules .hljs-value,
  52. .css .hljs-value .hljs-number,
  53. .hljs-literal,
  54. .hljs-symbol,
  55. .ruby .hljs-symbol .hljs-string,
  56. .hljs-number,
  57. .css .hljs-function,
  58. .clojure .hljs-attribute {
  59. color: #066;
  60. }
  61. .hljs-class .hljs-title,
  62. .haskell .hljs-type,
  63. .smalltalk .hljs-class,
  64. .hljs-javadoctag,
  65. .hljs-yardoctag,
  66. .hljs-phpdoc,
  67. .hljs-typename,
  68. .hljs-tag .hljs-attribute,
  69. .hljs-doctype,
  70. .hljs-class .hljs-id,
  71. .hljs-built_in,
  72. .setting,
  73. .hljs-params,
  74. .hljs-variable,
  75. .clojure .hljs-title {
  76. color: #606;
  77. }
  78. .css .hljs-tag,
  79. .hljs-rules .hljs-property,
  80. .hljs-pseudo,
  81. .hljs-subst {
  82. color: #000;
  83. }
  84. .css .hljs-class,
  85. .css .hljs-id {
  86. color: #9b703f;
  87. }
  88. .hljs-value .hljs-important {
  89. color: #f70;
  90. font-weight: bold;
  91. }
  92. .hljs-rules .hljs-keyword {
  93. color: #c5af75;
  94. }
  95. .hljs-annotation,
  96. .apache .hljs-sqbracket,
  97. .nginx .hljs-built_in {
  98. color: #9b859d;
  99. }
  100. .hljs-preprocessor,
  101. .hljs-preprocessor *,
  102. .hljs-pragma {
  103. color: #444;
  104. }
  105. .tex .hljs-formula {
  106. background-color: #eee;
  107. font-style: italic;
  108. }
  109. .diff .hljs-header,
  110. .hljs-chunk {
  111. color: #808080;
  112. font-weight: bold;
  113. }
  114. .diff .hljs-change {
  115. background-color: #bccff9;
  116. }
  117. .hljs-addition {
  118. background-color: #baeeba;
  119. }
  120. .hljs-deletion {
  121. background-color: #ffc8bd;
  122. }
  123. .hljs-comment .hljs-yardoctag {
  124. font-weight: bold;
  125. }
  126. .markdown_views {
  127. font-family: 'microsoft yahei';
  128. font-size: 14px;
  129. }
  130. .markdown_views * {
  131. box-sizing: border-box;
  132. }
  133. .markdown_views h1,
  134. .markdown_views h2,
  135. .markdown_views h3,
  136. .markdown_views h4,
  137. .markdown_views h5,
  138. .markdown_views h6 {
  139. font-weight: 100;
  140. margin: 0.8em 0;
  141. }
  142. .markdown_views p,
  143. .markdown_views pre,
  144. .markdown_views pre.prettyprint,
  145. .markdown_views blockquote {
  146. margin: 0 0 1.1em;
  147. }
  148. .markdown_views hr {
  149. margin: 2em 0;
  150. border: 0;
  151. border-top: 1px solid rgba(128,128,128,0.1);
  152. }
  153. .markdown_views dt {
  154. font-weight: bold;
  155. }
  156. .markdown_views abbr[title],
  157. .markdown_views abbr[data-original-title] {
  158. cursor: help;
  159. border-bottom: 1px dotted #999;
  160. }
  161. .markdown_views .initialism {
  162. font-size: 90%;
  163. text-transform: uppercase;
  164. }
  165. .markdown_views blockquote {
  166. padding: 15px 20px;
  167. border-left: 10px solid rgba(128,128,128,0.075);
  168. background-color: rgba(128,128,128,0.05);
  169. border-radius: 0 5px 5px 0;
  170. }
  171. .markdown_views blockquote p {
  172. line-height: 1.25;
  173. }
  174. .markdown_views blockquote p:last-child {
  175. margin-bottom: 0;
  176. }
  177. .markdown_views blockquote small,
  178. .markdown_views blockquote .small {
  179. display: block;
  180. line-height: 1.45;
  181. color: #999;
  182. }
  183. .markdown_views blockquote small:before,
  184. .markdown_views blockquote .small:before {
  185. content: "— ";
  186. }
  187. .markdown_views blockquote.pull-right {
  188. padding-right: 15px;
  189. padding-left: 0;
  190. border-right: 5px solid rgba(128,128,128,0.075);
  191. border-left: 0;
  192. }
  193. .markdown_views blockquote.pull-right p,
  194. .markdown_views blockquote.pull-right small,
  195. .markdown_views blockquote.pull-right .small {
  196. text-align: right;
  197. }
  198. .markdown_views blockquote.pull-right small:before,
  199. .markdown_views blockquote.pull-right .small:before {
  200. content: "";
  201. }
  202. .markdown_views blockquote.pull-right small:after,
  203. .markdown_views blockquote.pull-right .small:after {
  204. content: " —";
  205. }
  206. .markdown_views blockquote:before,
  207. .markdown_views blockquote:after {
  208. content: "";
  209. }
  210. .markdown_views address {
  211. margin-bottom: 21px;
  212. font-style: normal;
  213. line-height: 1.45;
  214. }
  215. .markdown_views code,
  216. .markdown_views kbd,
  217. .markdown_views pre,
  218. .markdown_views samp {
  219. font-family: "Source Code Pro", monospace;
  220. }
  221. .markdown_views code {
  222. padding: 2px 4px;
  223. font-size: 90%;
  224. color: #3f3f3f;
  225. background-color: rgba(128,128,128,0.075);
  226. white-space: nowrap;
  227. border-radius: 0;
  228. }
  229. .markdown_views pre {
  230. display: block;
  231. padding: 10px;
  232. margin: 0 0 10.5px;
  233. font-size: 14px;
  234. line-height: 1.45;
  235. word-break: break-all;
  236. word-wrap: break-word;
  237. color: #333;
  238. background-color: rgba(128,128,128,0.05);
  239. border: 1px solid rgba(128,128,128,0.075);
  240. border-radius: 0;
  241. }
  242. .markdown_views pre code {
  243. padding: 0;
  244. font-size: inherit;
  245. color: inherit;
  246. white-space: pre;
  247. word-wrap: normal;
  248. background-color: transparent;
  249. border-radius: 0;
  250. }
  251. .markdown_views .pre-scrollable {
  252. max-height: 340px;
  253. overflow-y: scroll;
  254. }
  255. .markdown_views .sequence-diagram,
  256. .markdown_views .flow-chart {
  257. text-align: center;
  258. margin-bottom: 1.1em;
  259. }
  260. .markdown_views table {
  261. width: 100%;
  262. background-color: transparent;
  263. border-collapse: collapse;
  264. border-spacing: 0;
  265. border: 1px solid #eee;
  266. }
  267. .markdown_views table th,
  268. .markdown_views table td {
  269. padding: 8px;
  270. line-height: 20px;
  271. vertical-align: top;
  272. border: 1px solid #eee;
  273. }
  274. .markdown_views .prettyprint {
  275. padding: 5px;
  276. position: relative;
  277. overflow-y: hidden;
  278. overflow-x: auto;
  279. white-space: nowrap;
  280. padding-left: 60px;
  281. }
  282. .markdown_views .prettyprint .pre-numbering {
  283. position: absolute;
  284. width: 50px;
  285. background-color: #eee;
  286. top: 0px;
  287. left: 0;
  288. margin: 0;
  289. padding: 6px 0 40px 0;
  290. border-right: 1px solid #ddd;
  291. list-style: none;
  292. text-align: right;
  293. }
  294. .markdown_views .prettyprint .pre-numbering li {
  295. padding: 0 5px;
  296. }