prettify.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @charset "UTF-8";
  2. /*! Pretty printing styles. Used with prettify.js. */
  3. /* SPAN elements with the classes below are added by prettyprint. */
  4. .pln { color: #000 } /* plain text */
  5. @media screen {
  6. .str { color: #080 } /* string content */
  7. .kwd { color: #008 } /* a keyword */
  8. .com { color: #800 } /* a comment */
  9. .typ { color: #606 } /* a type name */
  10. .lit { color: #066 } /* a literal value */
  11. /* punctuation, lisp open bracket, lisp close bracket */
  12. .pun, .opn, .clo { color: #660 }
  13. .tag { color: #008 } /* a markup tag name */
  14. .atn { color: #606 } /* a markup attribute name */
  15. .atv { color: #080 } /* a markup attribute value */
  16. .dec, .var { color: #606 } /* a declaration; a variable name */
  17. .fun { color: red } /* a function name */
  18. }
  19. /* Use higher contrast and text-weight for printable form. */
  20. @media print, projection {
  21. .str { color: #060 }
  22. .kwd { color: #006; font-weight: bold }
  23. .com { color: #600; font-style: italic }
  24. .typ { color: #404; font-weight: bold }
  25. .lit { color: #044 }
  26. .pun, .opn, .clo { color: #440 }
  27. .tag { color: #006; font-weight: bold }
  28. .atn { color: #404 }
  29. .atv { color: #060 }
  30. }
  31. /* Put a border around prettyprinted code snippets. */
  32. pre.prettyprint { padding: 2px; border: 1px solid #888 }
  33. /* Specify class=linenums on a pre to get line numbering */
  34. ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */
  35. li.L0,
  36. li.L1,
  37. li.L2,
  38. li.L3,
  39. li.L5,
  40. li.L6,
  41. li.L7,
  42. li.L8 { list-style-type: none }
  43. /* Alternate shading for lines */
  44. li.L1,
  45. li.L3,
  46. li.L5,
  47. li.L7,
  48. li.L9 { background: #eee }