prettify.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* Pretty printing styles. Used with prettify.js. */
  2. /* Vim sunburst theme by David Leibovic */
  3. pre .str, code .str { color: #65B042; } /* string - green */
  4. pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
  5. pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
  6. pre .typ, code .typ { color: #89bdff; } /* type - light blue */
  7. pre .lit, code .lit { color: #3387CC; } /* literal - blue */
  8. pre .pun, code .pun { color: #fff; } /* punctuation - white */
  9. pre .pln, code .pln { color: #fff; } /* plaintext - white */
  10. pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
  11. pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
  12. pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
  13. pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
  14. pre.prettyprint, code.prettyprint {
  15. background-color: #000;
  16. -moz-border-radius: 8px;
  17. -webkit-border-radius: 8px;
  18. -o-border-radius: 8px;
  19. -ms-border-radius: 8px;
  20. -khtml-border-radius: 8px;
  21. border-radius: 8px;
  22. }
  23. pre.prettyprint {
  24. width: 95%;
  25. margin: 1em auto;
  26. padding: 1em;
  27. white-space: pre-wrap;
  28. }
  29. /* Specify class=linenums on a pre to get line numbering */
  30. ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
  31. li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
  32. /* Alternate shading for lines */
  33. li.L1,li.L3,li.L5,li.L7,li.L9 { }
  34. @media print {
  35. pre .str, code .str { color: #060; }
  36. pre .kwd, code .kwd { color: #006; font-weight: bold; }
  37. pre .com, code .com { color: #600; font-style: italic; }
  38. pre .typ, code .typ { color: #404; font-weight: bold; }
  39. pre .lit, code .lit { color: #044; }
  40. pre .pun, code .pun { color: #440; }
  41. pre .pln, code .pln { color: #000; }
  42. pre .tag, code .tag { color: #006; font-weight: bold; }
  43. pre .atn, code .atn { color: #404; }
  44. pre .atv, code .atv { color: #060; }
  45. }