prettify.css 815 B

123456789101112131415161718192021222324252627282930
  1. .com { color: #93a1a1; }
  2. .lit { color: #195f91; }
  3. .pun, .opn, .clo { color: #93a1a1; }
  4. .fun { color: #dc322f; }
  5. .str, .atv { color: #D14; }
  6. .kwd, .linenums .tag { color: #1e347b; }
  7. .typ, .atn, .dec, .var { color: teal; }
  8. .pln { color: #48484c; }
  9. .prettyprint {
  10. padding: 8px;
  11. background-color: #f7f7f9;
  12. border: 1px solid #e1e1e8;
  13. }
  14. .prettyprint.linenums {
  15. -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  16. -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  17. box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
  18. }
  19. /* Specify class=linenums on a pre to get line numbering */
  20. ol.linenums {
  21. margin: 0 0 0 33px; /* IE indents via margin-left */
  22. }
  23. ol.linenums li {
  24. padding-left: 12px;
  25. color: #bebec5;
  26. line-height: 18px;
  27. text-shadow: 0 1px 0 #fff;
  28. }