prettify.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .pln { color: #000 } /* plain text */
  2. @media screen {
  3. .str { color: #080 } /* string content */
  4. .kwd { color: #008 } /* a keyword */
  5. .com { color: #800 } /* a comment */
  6. .typ { color: #606 } /* a type name */
  7. .lit { color: #066 } /* a literal value */
  8. /* punctuation, lisp open bracket, lisp close bracket */
  9. .pun, .opn, .clo { color: #660 }
  10. .tag { color: #008 } /* a markup tag name */
  11. .atn { color: #606 } /* a markup attribute name */
  12. .atv { color: #080 } /* a markup attribute value */
  13. .dec, .var { color: #606 } /* a declaration; a variable name */
  14. .fun { color: red } /* a function name */
  15. }
  16. /* Use higher contrast and text-weight for printable form. */
  17. @media print, projection {
  18. .str { color: #060 }
  19. .kwd { color: #006; font-weight: bold }
  20. .com { color: #600; font-style: italic }
  21. .typ { color: #404; font-weight: bold }
  22. .lit { color: #044 }
  23. .pun, .opn, .clo { color: #440 }
  24. .tag { color: #006; font-weight: bold }
  25. .atn { color: #404 }
  26. .atv { color: #060 }
  27. }
  28. pre.prettyprint {
  29. padding: 8px;
  30. background-color: #f7f7f9;
  31. border: 1px solid #e1e1e8;
  32. }
  33. pre.prettyprint.linenums {
  34. -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  35. -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  36. box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  37. }
  38. ol.linenums {
  39. margin: 0 0 0 33px; /* IE indents via margin-left */
  40. }
  41. ol.linenums li {
  42. padding-left: 12px;
  43. font-size:12px;
  44. color: #bebec5;
  45. line-height: 18px;
  46. text-shadow: 0 1px 0 #fff;
  47. list-style-type:decimal!important;
  48. }